Skip to content
All Verilog HDL labs
Verilog HDL Labs
Lab 41of 60
  1. Logic Foundations8

  2. Combinational Design14

  3. Sequential Design14

  4. Counters & Timing10

  5. Finite State Machines8

  6. Memory & Reusable Blocks4

  7. Portfolio Projects2

Counters & TimingPublished

Parameterized Modulo-N Counter

A width- and modulus-parameterized counter that rolls over at any N — reusable across the whole SoC.

Intermediate~45 minSelf-checking testbench2 challenges
Concepts covered
  • Parameters
  • Modulo rollover
  • Reusable IP
This lab is part of Verilog HDL Labs

Unlock the complete lab — detailed explanation, functional spec, starter and full DUT code, a commented self-checking testbench, expected outputs, waveform walkthrough, solutions and challenges — with the Verilog HDL Labs package. Use the card to get access.

  • Detailed explanation & spec
  • Complete Verilog DUT code
  • Self-checking testbench
  • Expected outputs & waveforms
  • Solutions & debugging help
  • 2 progressive challenges
Back to all labs