Forum Discussion
Altera_Forum
Honored Contributor
12 years agoA testbench is another VHDL file that you write in the same way as any other VHDL. But you can use non-synthesisable and behavioural parts that you cannot use for synthesis. eg - generating a clock:
signal clk : std_logic := '0'; clk <= not clk after 10ns; --50 MHz clock.