Verilog help

  • Thread starter david90
  • Start date
  • #1
david90
309
2
my goal is to make a mod 60 counter using mod10 and mod6. Both counters have a clk input.

Mod10 will count and will produce a cout which will carry to mod6. At this moment, mod10 will be 0 while mod6 is 1 which is 10. This will continue to 59.

I need serious help on how to connect them together. For the clk parameter, what should I enter?
 

Answers and Replies

  • #2
Guybrush Threepwood
520
1
Originally posted by david90
For the clk parameter, what should I enter?

In the testbench? I don't quite understand.....
 
  • #3
chroot
Staff Emeritus
Science Advisor
Gold Member
10,275
40
It would seem the mod 6 counter should be clocked by the overflow of the mod 10 counter.

- Warren
 

Suggested for: Verilog help

  • Last Post
Replies
12
Views
379
  • Last Post
Replies
17
Views
394
Replies
19
Views
405
Replies
6
Views
510
Replies
13
Views
512
  • Last Post
Replies
22
Views
951
Replies
8
Views
429
Replies
22
Views
509
Replies
3
Views
396
  • Last Post
Replies
2
Views
261
Top