Docsity

Digital System Design - Midterm Exam 2005 | ECE 331, Exams of Digital Systems Design

Toggle sidebar
bg1
ECE-331/MT-2/S03/KJH 1
ECE-331 Second-Half MidTerm Exam, Fall 2005
October 18, 2005
Instructor: Prof. K. J. Hintz
This is a closed book examination. No electronic devices 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.
1. ( 5 ) List two logic functions which form a complete logic set (i.e., all Boolean
expressions can be written using only these two gates)?
_____________________________________
_____________________________________
2. ( 5 ) Why are “1’s complement” and “signed magnitude” representations of integers
unsuitable for use in computers?
_____________________________________
3. ( 5 ) How many bits are needed to represent a signal to an accuracy of better than 1 part
in 265? Circle the correct answer.
1 2 3 4 5 6 7 8 9 10 11 12
4. ( 5 ) A prime implicant (PI) in the Quine-McCluskey method is the same as the largest
covering in the Karnaugh Map method. (Circle one)
a. True
b. False
pf3
pf4
pf5

Partial preview of the text

Download Digital System Design - Midterm Exam 2005 | ECE 331 and more Exams Digital Systems Design in PDF only on Docsity!

ECE-331/MT-2/S03/KJH 1

ECE-331 Second-Half MidTerm Exam, Fall 2005

October 18, 2005 Instructor: Prof. K. J. Hintz

This is a closed book examination. No electronic devices 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.

  1. ( 5 ) List two logic functions which form a complete logic set ( i.e ., all Boolean expressions can be written using only these two gates)?


  1. ( 5 ) Why are “1’s complement” and “signed magnitude” representations of integers unsuitable for use in computers?

  1. ( 5 ) How many bits are needed to represent a signal to an accuracy of better than 1 part in 265? Circle the correct answer.

1 2 3 4 5 6 7 8 9 10 11 12

  1. ( 5 ) A prime implicant (PI) in the Quine-McCluskey method is the same as the largest covering in the Karnaugh Map method. (Circle one) a. True b. False

ECE-331/MT-2/S03/KJH 2

  1. ( 15 ) Using only Huntington’s postulates , and DeMorgan’s theorem, 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.

g m u+u m+ g m= g m u+ g u + g m

____________________________________________________;________________________

____________________________________________________;________________________

____________________________________________________;________________________

____________________________________________________;________________________

____________________________________________________;________________________

____________________________________________________;________________________

____________________________________________________;________________________

____________________________________________________;________________________

____________________________________________________;________________________

____________________________________________________;________________________

____________________________________________________;________________________

____________________________________________________;________________________

____________________________________________________;________________________

____________________________________________________;________________________

6. ( 10 ) Given f^ (^ w , x , y , z )= xyz + yz + ywxz + wxyz use any

method to find the complement of f ( w , x , y , z ).

Write the Boolean expression for the complement of f in Simplest SOP form on the line below.


ECE-331/MT-2/F05/KJH 4

  1. ( 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

ECE-331/MT-2/F05/KJH 5

  1. ( 5 ) List the four equivalent methods for describing logic functions.

a. __________________________________________________________________

b. __________________________________________________________________

c. __________________________________________________________________

d. __________________________________________________________________

  1. ( 5 ) Identify the one of each of 5 types of gross syntax errors in the following VHDL- code by circling the error and writing the correction next to it:

LIBRARY IEEE; USE IEEE.std_logic_1164.all;

-- 1-Bit Adder interface description ENTITY fulladd PORT ( input0: IN STD_LOGIC <= 1 ; -- addend bit input1: IN STD_LOGIC <= 0 ; -- addend bit carry_input: IN STD_LOGIC <= 1 ; -- carry input bit sum: OUT STD_LOGIC; -- sum output bit carry_output: OUT STD_LOGIC; -- carry output bit ); End fulladd;

-- 1-Bit Adder architecture ARCHITECTURE fulladd_arch OF fulladd IS BEGIN sum := input0 XOR input1 XOR carry_input; carry_input := (input0 AND input1)

  • (input0 AND carry_input)
  • (input1 AND carry_input); END fulladd;