MarcL said:
I'm trying to understand the concepts of it, it was not covered in my class but it is clearly stated that i have to use it. I have the circuit diagram and I needed to connect my decoder to my ram in order to make my lab work, that is to connect my decoder to a timing generator. However in this case we connected it to LEDs. My questions were separate when it came to the RAM and decoder.
Well,assuming that you have a binary to BCD converter to START with, to get BCD shown as the input to your decoder, then the output is exactly what you want to light up one of 10 LED's based on the orginal number. So, it goes binary -> BCD -> 1 of 10 LED lighting.
[strike]DOH ! I just checked and your "BDC decoder" is NOT a BCD decoder at all. There's no BCD involved anywhere. So you're just going binary -> 1 of 10 LED lighting.[/strike] OK, it IS a BCD. The reason for my misstatement is more than would be useful to go into here.
I clearly asked how can you find the number of address without knowing how many address lines the RAM has ( which I stated above).
You tell how many address lines you need for memory but taking the base 2 log of the number of things being addressed and rounding up if it's not exact.
As for my decoder I asked, separately that is, 1) why is there a maximum of input from 0 - 10.
There are NOT a maximum of 10 inputs, there are 4 inputs. There are 10 outputs.
I get it's a 4-to-10 but wouldn't it be possible to create more if we inverted it from active low to active high creating a new sequence?
As I already said, sure you could get more but you would STILL only have 10 unique outputs.
2) How does it display on the LED?
You hook each of the 10 outputs to a LED and when one line goes low, that LED lights up (you connect all the other sides of the LEDS to a power source and possibly a current limiting resistor).
So if you get an output of 6 being active low, how would the LED know which light to light up to create the the number 6 (0110).
It would "know" because it would have current flowing through it.
Anyway you can try to avoid answering my question, I have been taking this class since january. I've studied what was given to me. That doesn't mean that I can understand fully what I was reading. It is not like I'm trying to get spoon fed the answer. I am legitimately seeking for help / answers.
OK, point taken. I'm not trying to give you a hard time but the amount of stuff that you have not been taught relative to what you need to know to take on this project seem intimidating. It's commendable that you are trying to figure it all out.