Unconventional cyclic counter X23157


Statement
 

pdf   zip   verilog

Unconventional cyclic counter

Design a 3-bit cyclic counter that outputs the sequence 0, 1, 3, 7, 6, 4, 0, 1, …(of period 6).

Specification

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.
Information
Author
Jordi Cortadella
Language
English
Official solutions
Verilog
User solutions