|
@ -79,7 +79,7 @@ package body pkg is |
|
|
|
|
|
|
|
|
-- synthesis translate_off |
|
|
-- synthesis translate_off |
|
|
procedure stop_sim (signal clk : in std_logic; cycles : in natural; add_cycles : in natural := 2) is |
|
|
procedure stop_sim (signal clk : in std_logic; cycles : in natural; add_cycles : in natural := 2) is |
|
|
variable index : natural := cycles + 5; |
|
|
|
|
|
|
|
|
variable index : natural := cycles + add_cycles; |
|
|
begin |
|
|
begin |
|
|
loop |
|
|
loop |
|
|
wait until rising_edge(clk); |
|
|
wait until rising_edge(clk); |
|
@ -88,7 +88,7 @@ package body pkg is |
|
|
exit; |
|
|
exit; |
|
|
end if; |
|
|
end if; |
|
|
end loop; |
|
|
end loop; |
|
|
stop(0); |
|
|
|
|
|
|
|
|
finish(0); |
|
|
end procedure stop_sim; |
|
|
end procedure stop_sim; |
|
|
-- synthesis translate_on |
|
|
-- synthesis translate_on |
|
|
|
|
|
|
|
|