{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Basic Encoders

Basic Encoders - Mallard ECE 290 Computer Engineering I...

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

Mallard ECE 290: Computer Engineering I - Spring 2007 - Graded Web... https://mallard.cites.uiuc.edu/ECE290/webgrade.cgi?SessionID=mding3... 1 of 4 2/20/2007 11:46 AM Graded WebQuiz : Basic Encoders You have submitted this WebQuiz 4 times (including this time). You may submit this WebQuiz a total of 10 times and receive full credit. This webquiz was written as a tutorial. A different grade policy is in effect. If you get something wrong, you are welcome to simply "go back" and correct your responses to improve your grade. Warning: Do not submit the quiz more than 10 times! Definitely do this quiz before doing the other Encoder Design webquiz! Simple Encoders An encoder is a combinational network for which exactly one input line is a 1; the output gives the binary representation of that input. In other words, the encoder gives the "encoding" of that input line which is 1. 4-to-2 Binary Encoder A simple example is a 4-to-2 binary encoder, as shown below. There are 4 input lines D0, D1, D2, and D3. If input line D2 is a 1, then the output gives the binary encoding of "2", which is A1A0 = 10. If input line D0 is a 1, then the output is A1A0 = 00. If input line D1 or D3 is a 1 - you complete the table below with the correct output values! 4-to-2 Binary Encoder D3 D2 D1 D0 A1 A0 0 0 0 1 0 0 0 0 1 0 0 1 0 1 0 0 1 0 1 0 0 0 1 1 Implementation of the 4-to-2 Encoder Having completed the above truth table, the implementation is easy: we give boolean expressions for A1 and for A0: A1 = D3 + D2 A0 = D3 + D1 Hence, the circuitry inside this encoder would consist simply of two OR gates.

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

View Full Document
Mallard ECE 290: Computer Engineering I - Spring 2007 - Graded Web... https://mallard.cites.uiuc.edu/ECE290/webgrade.cgi?SessionID=mding3...
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}