Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Code VHDL - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 ------------------------------------------------------------------------------------------------ --clk_proc : process to generate the clock ------------------------------------------------------------------------------------------------ vid_clk_proc : process variable end_time : time; begin while not ENDSIM loop clk <= not clk; if NOW >= TIMEOUT*CLK_PERIOD then KILLSIM <= true; end if; if run_clk then wait for CLK_PERIOD/2; else wait until run_clk; end if; end loop; if KILLSIM then report "Simulation Timed Out after " & integer'image(TIMEOUT) & " clock cycles." severity warning; else end_time := NOW; report "Simulation ended successfully after " & time'image(end_time) severity note; end if; wait; end process; -------------------------------------------------------------------- --Stop all processes to starve all events and stop the simulation -------------------------------------------------------------------- ENDSIM <= KILLSIM or (input_complete and output_complete);