VHDLBeginner
Testbench: 4-bit shifter (VHDL)
Verify left and right shifts with discarded outgoing bits.
Exercise objective
The DUT shifts a word left or right according to the command.
Prerequisites
- Read signals and write assertions in a VHDL testbench.
- Understand the circuit under test: The DUT shifts a word left or right according to the command.
Skills you will practice
- Left Shift
- Right Shift
Equipment and tools
- The VHDL editor and validation are available in the browser. You do not need an FPGA board for this exercise.