This document describes a 4-bit up/down counter module and its testbench. The counter module uses a clock input and reset signal to increment or decrement the count. It can count up from 0 to 15 or down from 15 to 0 depending on the state of the UpOrDown input. The testbench applies different conditions to the inputs over time to test the up/down counting functionality.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
30 views2 pages
Counter V
This document describes a 4-bit up/down counter module and its testbench. The counter module uses a clock input and reset signal to increment or decrement the count. It can count up from 0 to 15 or down from 15 to 0 depending on the state of the UpOrDown input. The testbench applies different conditions to the inputs over time to test the up/down counting functionality.