Documente Academic
Documente Profesional
Documente Cultură
Homework7
(Due November 15, 2010)
1. Draw a timing diagram for the following NOR circuit for an SR
latch with the following input changes. Assume a 2.5 ns delay
for each gate. Comment on why we don’t let S=R=1 on a latch.
Show your timing diagram to at least 60 ns.
Page 1
Digital Logic Homework University of Information Technology
- Computer Engineering Faculty
2. Assume that each flip-flop has a setup time of 2 ns, a hold time
of 3 ns and a clock-to-output delay of 5 ns. Further assume that
each gate has a delay of 2 ns except each inverter has a delay of
1 ns. What is the maximum clock frequency that you can clock
the following circuits. Also discuss what constraints are placed
on the inputs.
Page 2
Digital Logic Homework University of Information Technology
- Computer Engineering Faculty
Page 3
Digital Logic Homework University of Information Technology
- Computer Engineering Faculty
(a) Draw the logic diagram of the circuit, (b) Derive the state
table and (c) Derive the state diagram.
5. Design a counter that counts 1,2,3,5,8,13 and then repeats.
Show the equations for each flip-flop (next state equations).
You don’t have to draw the circuit. Don’t worry about reset.
6. A 4 bit twisted ring counter is a sequential circuit which
produces the following sequence of output values: 0000,
1000, 1100, 1110, 1111, 0111, 0011, 0001 and then repeats.
Design a circuit for a 4 bit twisted ring counter that uses
four D flip flops. Draw a state transition diagram, a state
table and a schematic for your circuit. Design an alternate
implementation using just three flip flops and draw a state
transition diagram , state table and a schematic for your
circuit. If your designs are extended to implement an n bit
twisted ring counter, how many flip flops are required
Page 4
Digital Logic Homework University of Information Technology
- Computer Engineering Faculty
10. Show how the sequential circuit shown below can be mapped
onto a single configurable logic block. Do this by specifying the
functions that the LUTs implement and showing the paths through
the multiplexors that must be configured to provide the required
Page 5
Digital Logic Homework University of Information Technology
- Computer Engineering Faculty
11. You have a cache memory that will be used on a computer with a
32 bit address and 32 bit words. Assuming you have 512 KB of
cache memory , how many words of memory can you cache in
each of the following cases:
a. Fully associative
b. Set associative with 16 bits of tag and eight 64 KB x 8 SRAM
chips
c. Set associative with 24 bits of tag and eight 64 KB x 8 SRAM
chips
Page 6
Digital Logic Homework University of Information Technology
- Computer Engineering Faculty
13. A DRAM has a refresh interval of 128 ms and has 4096 rows.
What is the interval between refreshes for distributed refresh?
What is the minimum number of address pins on the DRAM?
Page 7