



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




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 2 3 4 5 6 7 8 9 10 11 12
Write the Boolean expression for the complement of f in Simplest SOP form on the line below.
a. __________________________________________________________________
b. __________________________________________________________________
c. __________________________________________________________________
d. __________________________________________________________________
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)