Forum Discussion
Altera_Forum
Honored Contributor
15 years agoYou can write a VHDL testbench. and in it you can write very behavioural VHDL that you cannot synthesise. stuff like this:
signal clock : std_logic := '0'; clock <= not clock after 10 ns; -- 100 MHz clock. reset <= '1', '0' after 25 ns; and you can write a process like this:
process
begin
x <= "001";
for i in 1 to N_CLOCKS loop
wait until rising_edge(clk);
end loop;
x <= "010"
--loop again
--etc
wait;
end process;