Introduction
A testbench is used to check if your VHDL design works correctly. It creates a safe space to test without connecting to outside parts.
When you want to check if your digital circuit design behaves as expected.
Before sending your design to hardware, to catch mistakes early.
To simulate inputs and watch outputs without needing physical devices.