










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!











There are 14 questions and 19 pages. You also have an attachment with various figures and worksheets. Please make sure that you have all of them. This examination is closed textbook. No calculators, class notes or any material is allowed!
5.The exam is 2 hours and 50 minutes.
Name:_________________________________________________
Student Number:_________________________________________
Question Graded 1 2 3 4 5 6 7 8 9
10 11 12 13 14 Total
3 Implement the following expression using only NAND and NOT gates. Use the mixed logic notation we have used in class. Do not assume that the complements of the inputs are avail- able. Do not simplify the expression. Provide the number of transistors in the implementa- tion.
4 This questions deals with logic minimization using K-Maps.
4 (a) Simplify the following expression algebraically to a sum of products form.
4 (b) Fill in the K-Map for the preceding function.
Function _______________________________________
5(a) Draw the gate level implementation of a 2:1 multiplexor. Clearly label all of the control, input, and output signals.
5 (b) Show how you can construct a 4:1 multiplexor using 2:1 multiplexors. Clearly label all control, input, and output signals. Clearly show all of the connections between multiplex- ors. Use the 2:1 Mux icon below. Do not provide a gate level implementation of a 4: muxltiplexor.
I
I
O
S
2: Mux
Implement this function using a decoder. Clearly label all signals including the inputs, out- put and multiplexor select lines.
A B C Out 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 1 1 1 1 1
8(a). Show the hexadecimal value of the IEEE 754 floating point representation of -1.0.
8 (b) What is the result to of the following floating point operation? The numbers are shown in complete normalized IEEE 754 form: 1.101 x 2^129 + 1.01 x 2^122
9(a). Draw the gate level implementation of a D latch.
9 (b) Complete the timing diagram below for the circuit shown below.
transparent latch
transparent latch
transparent latch
transparent latch
input
A B
phi1 (^) phi2 phi1 phi
10 (c) Implement the counter using two register cells and basic gates.
11 (a). What is the difference between a DRAM cell and a SRAM cell?
11 (b) We have memory chips with 4M addresses and 8 bits at each address. Each chip has the chip interface is shown below. We wish to design memory system that can provide 16M addresses with 16 bits at each address. Show a design for such a memory system with the following should be clearly marked: i) the number of address bits required of the mem- ory system, ii) the number of address bits required of each memory chip, iii) an overall memory select signal, msel , for the memory system and the iv) the decoder inputs and out- puts. Please make sure your drawing is legible! (Use the worksheets first!!)
WE
CS
ADDR
D0.D
12 (c) Assume that the register $sp points to the top of the stack, this location contains the value on the top of the stack. Write a short SPIM program that pushes the contents of regis- ter $t0 onto the top of the stack.
Mem[1000] = R4-[(R2+6R1)/4].
i.e., the result should be stored in memory at location 1000..
cycle X Y Z rwe
imm en
imm va
au en a/s
lu en lf
su en st
ld en
st en r/w msel Descr 1 2 3 4 5 6 7 8 9
10