Can Some One Explain To Me This Prom Circuit..

Status
Not open for further replies.

Caveman

Joined Apr 15, 2008
471
In PROM #1, the first 5 lines look like the output is the two's complement of the input, but drops the lowest bit. The last 3 lines don't look right though.
However, they will apparently never be executed.

In PROM #2, it looks the same except the last 3 lines are correct as well.

The D3 output of PROM #1 is sort of like a carry output of an adder.
The equivalent input for the most significant bit is always 0. So when you invert it, it should always be a 1. The only way it is a zero is when you do the second half of two's complement (increment by 1), if it has a carry. So that bit acts like a reverse carry. It is 1 if nothing carried out, and 0 is something did.

If you look at the PROM #2, you will notice that it needs a reverse carry since if the A0 is 1 and goes to 0, it actually adds 1.

All of this stuff is about pattern recognition and creativity. It is really hard to explain on a forum like this, but I hope it helps at least a little.
 

Thread Starter

transgalactic

Joined Apr 29, 2008
74
why do you say that the MSB has to be zero in every number???
why do you say that incrementing a number by 1 make the MSB to be 0
100001+1=100010 (the MSB stays 1)

i cant understand why we plug the data and the addresses
i know that it some sort of carry
although its really hard to imagine because its not a live number
its some sort of collection of addresses and data
i cant imagine this in my head

can you please explain that on a simple number
because i am having trouble to understand this concept
 

beenthere

Joined Apr 20, 2004
15,819
This is an established method for translation tables. You program the EPROM with the desired outputs. The value to be translated serves as the address to select the translated value.
 

Thread Starter

transgalactic

Joined Apr 29, 2008
74
why do you say that the MSB has to be zero in every number???
why do you say that incrementing a number by 1 make the MSB to be 0
100001+1=100010 (the MSB stays 1)

i cant understand why we plug the data and the addresses
i know that it some sort of carry
although its really hard to imagine because its not a live number
its some sort of collection of addresses and data
i cant imagine this in my head

can you please explain that on a simple number
because i am having trouble to understand this concept
 
Status
Not open for further replies.
Top