Priority encoder DOUBT

Thread Starter

siomnoc

Joined Oct 30, 2017
2
Hello,

Well I been trying to figure out the output of the following circuit, for all the possible combinations of x,y,z (8 in total)

However i don't really understand which is the output of the priority encoder, for example when x=0 y=0 and z=0 after all the "and" "or" and "not" the input for it, should be something like (1 0 1 0) in top bottom order. But after knowing the input what should I do? In some places I found that I should do a table like the following one, and given that the first 1 is in the forth place the output should be 11, is this right? Moreover, which bit goes to the -output bus, and which goes to the +?

Sorry if the question seems stupid but I m' new with all this,thank you in advance.
 

WBahn

Joined Mar 31, 2012
29,976
You have a block that, at least in my experience, is non-standard.

I'm referring to the 4-input, 2-output block at the bottom.

Is it supposed to be a 4x2 encoder? If so, then I would imagine that the intent is for the '-' to indicate the lsb and the '+' to indicate the msb.

Do you have the ROM contents?
 

Thread Starter

siomnoc

Joined Oct 30, 2017
2
You have a block that, at least in my experience, is non-standard.

I'm referring to the 4-input, 2-output block at the bottom.

Is it supposed to be a 4x2 encoder? If so, then I would imagine that the intent is for the '-' to indicate the lsb and the '+' to indicate the msb.

Do you have the ROM contents?
Yes, the rom contents i have are:
@ | ROM[@]
0 | 11
1 | 00
2 | 01
3 | 10
 
Top