- Problem 3 11 A The Verilog Code In P3 11 V Includes A Modulo 5 Counter Using The Structure Discussed In The Lecture 1 (102.23 KiB) Viewed 18 times
Problem 3.11 = A. The verilog code in P3.11.v includes a modulo-5 counter using the structure discussed in the lecture.
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Problem 3.11 = A. The verilog code in P3.11.v includes a modulo-5 counter using the structure discussed in the lecture.
Problem 3.11 = A. The verilog code in P3.11.v includes a modulo-5 counter using the structure discussed in the lecture. The counting sequence is Q[2:0] = 000,001, 010, 011, 100, and wrapping back to 000. Show the block diagram with the register, the adder/incrementer, the load muxes, and the decoder logic. B. When the modulo-5 counter reaches Q[2:0) = 100, it enables a DFF shown in the following picture. Modify the verilog code of P3.11.v to include this logic. Show the - En modified code and its simulation waveform. D Q clk div > Cik Rst C. If the frequency of clk is 1MHz, what is the frequency of clk_div? D. If the frequency of clk is 1MHz and if we want the frequency of clk_div to be 1KHz, o what modulo-n counter are we designing (i.e. what is the value of n)? o how many flip-flops at a minimum do we need for this modulo-n counter? o show the modified verilog code for this modulo-n counter. You don't need to simulate it.