Download ECE-331 Second-Half MidTerm Exam, Spring 2003 and more Exams Digital Systems Design in PDF only on Docsity!
ECE-331 Second-Half MidTerm Exam, Spring '
March 6, 2003 Instructor: Prof. K. J. Hintz
This is a closed book examination. No calculators or other electronic device may be used.
Show your work on these pages. Proper labeling of the diagrams is essential for full credit. Answers not on these examination pages will not be counted. Answers alone may not be sufficient. Correct methodology is important and partial credit will be given.
HONOR CODE PLEDGE: "On my honor I have neither given nor received aid on this exam"
( 5 ) Your Last Name (printed): _____________________________________________
( 5 ) Your Signature: _____________________________________________
Failure to sign the pledge can result in receiving no credit for the test.
- ( 5 ) What two logical functions are necessary for a gate set to form a complete gate set?
- ( 5 ) Draw the output signals of an inverter in response to the input signal, Inv_In, for the following signal assignment statements
Inv_Out_1 <= transport not Inverter_In after 7 ns; Inv_Out_2 <= reject 5 ns inertial not Inverter_In after 7 ns;
- ( 10 ) What is the value or meaning of the codeword, 010100, when interpreted as:
Unsigned Binary: ___________________
2’s Complement Number: ___________________
1242 weighted code: ___________________
Calendar Date: ___________________
- ( 15 ) Using only Huntington’s postulates , show by manipulating ONLY THE RIGHT SIDE of the following equation that the following is correct. Write your justification for each step to right of the semicolon.
_________________________________________;__________ ________
_________________________________________;__________________
_________________________________________;__________________
_________________________________________;__________________
_________________________________________;__________________
_________________________________________;__________________
_________________________________________;__________________
_________________________________________;__________________
_________________________________________;__________________
_________________________________________;__________________
_________________________________________;__________________
_________________________________________;__________________
_________________________________________;__________________
_________________________________________;__________________
_________________________________________;__________________
IP + MP + GM = GM MIP + M + I + P + GMI
- ( 5 ) Write (in algebraic form) three PIs from the chart on the previous page:
PI 1 = _________________________________
PI 2 = _________________________________
PI 3 = ________________________________
- ( 10 ) No matter what you got for the previous step, assume the PIs are as shown in the following Prime Implicant Chart. The symbols m1 through m8 represent generic minterms whose actual values are irrelevant to this question. Circle all distinguished one-cells and cross- out appropriate columns and/or rows to indicate your understanding of the process. Chose the best covering. Label the EPI and PI columns. Find and correctly indicate the primary and secondary Essential Prime Implicants.
m1 m2 m3 m4 m5 m6 m7 m
1 x^ x^ x^ x^ x
2 x
3 x^ x^ x^ x
4 x^ x^ x^ x
5 x^ x^ x^ x
- ( 5 ) How many bits are needed to represent a signal to an accuracy of better than 1 part in 1000? Circle the correct answer.
1 2 3 4 5 6 7 8 9 10 11 12
- ( 15 ) Draw the schematic diagram described by the following VHDL mode on the following page. Label all gates and interconnecting signals.
entity adder is port (a : in std_logic; b : in std_logic; cin : in std_logic; sum : out std_logic; cout : out std_logic); end adder;
architecture structural of adder is component andg port (in1, in2 : std_ulogic; out1 : out std_ulogic); end component; component org port (in1, in2 : std_logic; out1 : out std_logic); end component; component xorg port (in1, in2 : std_logic; out1 : out std_logic); end component; signal xor1_out, and1_out, and2_out, or1_out : std_logic;
begin xor1: xorg port map( in1 => a, in2 => b, out1 => xor1_out); xor2: xorg port map( in1 => xor1_out, in2 => cin, out1 => sum); and1: andg port map( in1 => a, in2 => b, out1 => and1_out); or1: org port map( in1 => a, in2 => b, out1 => or1_out); and2: andg port map( in1 => cin, in2 => or1_out, out1 => and2_out); or2: org port map( in1 => and1_out, in2 => and2_out, out1 => cout); end structural;