feb08ce.docx

18 views1 pages
Published on 20 Apr 2013
School
UTSG
Department
Computer Science
Course
CSC258H1
Professor
Page:
of 1
Week 5 review
o Q1 Assume that you have access to a counter circuit:
How do you make a signal that goes high after 10 clock cycles?
And: X = Q3 & ~Q2 & Q1 & ~Q0
How do you make a signal that goes high every 100 clock cycles?
Feed the output of X as an EN of another counter
o Q2 Imagine you have access to a 4-bit register.
What does the Write signal do
Write allow register to write singal from Dx to Qx
How would you make the following circuit to set all of the Q bits
in the register to a given value after four clock cycles?
assume that the first four bits of the register value will be
on D in the first clock cycle, the second four would be on
D in the second clock cycle, and so on.
Add a counter to write
0 write to [3:0]
1 write to [7:4]
Etc.

Document Summary

Week 5 review: q1 assume that you have access to a counter circuit: And: x = q3 & ~q2 & q1 & ~q0. Feed the output of x as an en of another counter: q2 imagine you have access to a 4-bit register. Write allow register to write singal from dx to qx. Assume that the first four bits of the register value will be on d in the first clock cycle, the second four would be on. D in the second clock cycle, and so on.