{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lecture10

# Lecture10 - 1/10 ENSC150 Lecture 10 Agenda Encoders...

This preview shows pages 1–6. Sign up to view the full content.

ENSC150 Lecture 10 Agenda Encoders Priority Encoders Multiplexers 1/10 Lecture 10 Atousa Hajshirmohammadi, SFU

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Encoders Encoder performs the reverse operation of a decoder. Usually has “ 2 n ” inputs and “ n ” outputs. one and only one input line should be “1” at a time. Outputs will be the binary representation of the input line that is equal to “1”. 2/10 Lecture 10 Atousa Hajshirmohammadi, SFU
4-to-2 Encoder D 3 D 2 D 1 D 0 A 1 A 0 0 0 0 1 0 0 1 0 0 1 0 0 1 0 0 0 Does the encoder have any don’t care conditions? How many combinations are possible for the 4 inputs? How many combinations are allowed? 3/10 Lecture 10 Atousa Hajshirmohammadi, SFU

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Priority Encoder “Priority Encoder” takes care of the don’t care conditions. If more than 2 inputs are “1” at a time, it gives priority to the input line with higher rank. D 3 D 2 D 1 D 0 A 1 A 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 D 3 D 2 D 1 D 0 A 1 A 0 4/10 Lecture 10 Atousa Hajshirmohammadi, SFU
Priority. .. (cont.) Optimization: Implementation: 5/10 Lecture 10 Atousa Hajshirmohammadi, SFU

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 10

Lecture10 - 1/10 ENSC150 Lecture 10 Agenda Encoders...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online