Mike0rr
New Member
Preface; I am working on building a calculator that can add and subtract 0-99 (0-127 but only 2, 7Seg displays) and I am planning to do it all in basic logic gate IC's. No Full Adder chips, no Register IC's, just logic gates. I have been self teaching myself throughout most of this project with YouTube and Google and prototyping it on MineCraft as it is a good medium for me to learn through and uses real life logic gates. (This will end up on a circuit board in real life, just clarifying.) The design I have may not be the most efficient, but it "should" still work and I am learning/improving through experimentation. I am 100% open to improvement suggestions in the design, I just mean to explain why I have done some of the possibly odd and inefficient circuits that have given me the parameters to work within.
-
I have made a smaller, single digit input Adder before but now that I am expanding the size I have run into an issue. I need to represent 0-99 on my inputs. From this issue, I have looked into Registers, Hexadecimal and a few other subjects but I think I have found the terminology I was looking for finally, "BCD". I have 10 inputs (0-9) and I convert this into 4Bits of Binary and need to have those saved to a register and stacked to ones and tens places. I understand the concept behind "Shift, add 3" and what not but I don't know what to call the circuit I'm looking to build.
I'm taking a Decimal input, converting it to Binary saving it as a 4Bit number, taking a second Decimal input and saving it as another 4Bit number and I'm looking for the Circuit to combine both of these 4Bit numbers (1's and 10's place) into a 2 digit Binary number with a maximum of 7Bits (0-99 in Binary).
So I basically have two questions to ask here:
Smaller question:
-Am I even going down the correct path here, or is this a silly way to go about putting my Decimal inputs into an Adding/Subtracting machine?
Main question:
-What is the name of the circuit I am looking for here. I commonly look up IC's logic gate schematic so if there is a common IC for this, a simple ID or link would be great. I have two 4bit Binary inputs and need one Binary output that could be 7bits long. A different way to word this is; I need two single digit inputs to be combined into one Binary number. I need 4 and 5 to represent 45 and not 4 and 5.
I apologize for any rough wording and long descriptions. My bottle neck seems to be my lack of terminology and if I knew how to describe my situation shorter I could likely find the answer on my own through Google. I hope this doesn't come off as a dumb question, I'm just stuck and don't know a better way to handle this issue. I appreciate any help you guys have on the subject and if this has already been covered in another post I apologize again. I checked around a bit but couldn't really find this issue, at least not with my limited terminology and I'm very new here.
Thanks for your time everyone : )
-
I have made a smaller, single digit input Adder before but now that I am expanding the size I have run into an issue. I need to represent 0-99 on my inputs. From this issue, I have looked into Registers, Hexadecimal and a few other subjects but I think I have found the terminology I was looking for finally, "BCD". I have 10 inputs (0-9) and I convert this into 4Bits of Binary and need to have those saved to a register and stacked to ones and tens places. I understand the concept behind "Shift, add 3" and what not but I don't know what to call the circuit I'm looking to build.
I'm taking a Decimal input, converting it to Binary saving it as a 4Bit number, taking a second Decimal input and saving it as another 4Bit number and I'm looking for the Circuit to combine both of these 4Bit numbers (1's and 10's place) into a 2 digit Binary number with a maximum of 7Bits (0-99 in Binary).
So I basically have two questions to ask here:
Smaller question:
-Am I even going down the correct path here, or is this a silly way to go about putting my Decimal inputs into an Adding/Subtracting machine?
Main question:
-What is the name of the circuit I am looking for here. I commonly look up IC's logic gate schematic so if there is a common IC for this, a simple ID or link would be great. I have two 4bit Binary inputs and need one Binary output that could be 7bits long. A different way to word this is; I need two single digit inputs to be combined into one Binary number. I need 4 and 5 to represent 45 and not 4 and 5.
I apologize for any rough wording and long descriptions. My bottle neck seems to be my lack of terminology and if I knew how to describe my situation shorter I could likely find the answer on my own through Google. I hope this doesn't come off as a dumb question, I'm just stuck and don't know a better way to handle this issue. I appreciate any help you guys have on the subject and if this has already been covered in another post I apologize again. I checked around a bit but couldn't really find this issue, at least not with my limited terminology and I'm very new here.
Thanks for your time everyone : )