Right, I began studying electronics about half a month ago or so and I've run into a bit of a problem.
I've come to the point where I want to create my first processor. Mind you, it's going to be rather small (can only add two 3-bit numbers and save them both in memory).
For this I decided to use 5 buttons. 3 for each bit and 2 to save the numbers. My memory would be comprised by 3 D flip-flops for both numbers. From there, I'd use a Full Adder to get the sum of the numbers and from there show the numbers on an indicator.
However, there's the problem. The Decoder that I use can only decode numbers in binary that are up to 9. Once the sum is over that amount, the indicator doesn't show anything.
From there, I realised that I'd need a circuit to actually convert the Binary to BCD so that I could show the number on my indicators instead of having blank ones. I've been searching for a Binary to BCD converter for the past few days and I have found something. One of the things I found was a rather outdated circuit that is not being made anymore, which is the DM74185A. Since this is obviously not an option, I kept searching until I found a converter made of Full Adders and Shift Registers. http://www.electro-tech-online.com/attachments/serial-binary-to-parallel-bcd-gif.31191/
I know and understand the algorithm behind it (shift, add 3), but how the circuit works is still unknown to me.
What I'm asking is if anyone could either point me towards something else or help me understand this circuit.
I've come to the point where I want to create my first processor. Mind you, it's going to be rather small (can only add two 3-bit numbers and save them both in memory).
For this I decided to use 5 buttons. 3 for each bit and 2 to save the numbers. My memory would be comprised by 3 D flip-flops for both numbers. From there, I'd use a Full Adder to get the sum of the numbers and from there show the numbers on an indicator.
However, there's the problem. The Decoder that I use can only decode numbers in binary that are up to 9. Once the sum is over that amount, the indicator doesn't show anything.
From there, I realised that I'd need a circuit to actually convert the Binary to BCD so that I could show the number on my indicators instead of having blank ones. I've been searching for a Binary to BCD converter for the past few days and I have found something. One of the things I found was a rather outdated circuit that is not being made anymore, which is the DM74185A. Since this is obviously not an option, I kept searching until I found a converter made of Full Adders and Shift Registers. http://www.electro-tech-online.com/attachments/serial-binary-to-parallel-bcd-gif.31191/
I know and understand the algorithm behind it (shift, add 3), but how the circuit works is still unknown to me.
What I'm asking is if anyone could either point me towards something else or help me understand this circuit.
