11669 - Hardware_Design_exam1_B   

Description

Implement a 2-digit BCD counter module, exam1_B.

The counter counts up from 00 to 28 repeatedly, the counter would increase by two at the positive edge of every clock cycleFor example, 00 → 02 → 04 → 06 → … → 22 → 24 → 26 → 28 → 00 → 02.

You have to copy the sample input below and name your .v file as exam1_B.v, and you can test your design with the provided testbench in the sample output below.

Please name the .v module and file with exam1_B_t in exam1_B_t.v.

Hint: This design is the same as lab2_2 without the enable signal (which will be much easier)!

Do not change the input and output signals.

 

Note: exam1_A -- https://acm.cs.nthu.edu.tw/problem/11668/

           exam1_C -- https://acm.cs.nthu.edu.tw/problem/11670/

           Announcement​   -- https://acm.cs.nthu.edu.tw/problem/11671/

Input

Output

Sample Input  Download

Sample Output  Download

Tags




Discuss