Introduction
In this lab, we will be designing an encoder circuit that encodes negative decimal numbers into binary, in sign and magnitude form. This will include creating a truth table, K-maps for all outputs and a Multisim circuit diagram.
Procedure
Part 1 - Complete the Truth Table for the Encoder
Let the input to the circuit be any decimal number between -2 to +2. You can use three bits to represent these decimal numbers, where A = 2, B = 1, C = 0 as well as a sign bit, S, that indicates the sign of the input number (S = 0 for positive, S = 1 for negative).
The outputs of the circuit should be:
- A flag, F, that separates cases 000 from 001 (F = 0 for no input and F = 1 for 0, 1, 2)
- A 3-bit binary equivalent number, in sign-magnitude form. Recall that to count to 2 in binary, you'll only need two binary bits, so the third output bit is reserved for the sign.
Part 2 - K-maps
1. Create K-maps for all four outputs listed above.
2. From the K-maps determine the minimal functions for each output.
Part 3 - Draw the Circuit in Multisim
- Using your output equations from part 2, draw the gate logic array for the encoder.
- Be sure to connect digital indicators to each output.
- Simulate your circuit and save a copy of your schematic showing the verification for the decimal input of -1.
Part 4 - Lab Report
- the Lab should have 3 sections: 1st is Background, 2nd Findings and Last is Conclusion.
- the Background: this is the summary of the lab and the goal of the lab
- Findings: are the steps of the lab from beginning to end. typically there should be enough information for someone else to duplicate your work.
- Conclusion: a summary of your results good or bad. anything you observed, learned, or did not understand.
- Using either GoogleDocs, Word, or the pdf generator of your choice, compile your images into one file.
- Be sure to include figure labels for your images in proper MLA format (figure labels centered below schematics and table labels left-justified above the table). Submit via Canvas as lab1yourlastname.pdf. Thanks and let me know if you have any questions!