Jutge.org
The Virtual Learning Environment for Computer Programming
Unconventional cyclic counter
X97508 en
Design a 3-bit cyclic counter that outputs the sequence 0, 1, 3, 7, 6, 4, 0, 1, . . . (of period 6).
The top module must be called cyclic counter.
module
cyclic counter(count, clk , rst );
output
[2:0] count;
input
clk , rst ;
Input
• clk is the clock signal.
• rst is the synchronous reset signal.
Output
• count is the output of the counter.
Problem information
Author : Jordi Cortadella
Generation : 2013-07-17 16:32:13
© Jutge.org, 2006–2013.
http://www.jutge.org