Search code examples
vhdl

Vhdl-Code testbench why are there no ports declared


Why are there no ports declared in VHDL-code testbench?


Solution

  • A testbench is a closed system. All inputs to the design under test (DUT) are driven by the testbench. All outputs from the design under test can be observed by the testbench. Hence, the testbench has no inputs or outputs.