Skip to content
Snippets Groups Projects
Commit 7d8bbfbb authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Corrected wait for /4; instead of /4 ns; Modelsim did accept it but synthesis failed on it.

parent d25716a2
No related branches found
No related tags found
No related merge requests found
...@@ -146,7 +146,7 @@ BEGIN ...@@ -146,7 +146,7 @@ BEGIN
-- detect whether tr_clk has stopped by continuously checking the toggling (cannot use WAIT UNTIL -- detect whether tr_clk has stopped by continuously checking the toggling (cannot use WAIT UNTIL
-- rising_edge(tr_clk) because tr_clk is the item that is checked). -- rising_edge(tr_clk) because tr_clk is the item that is checked).
WAIT UNTIL rising_edge(tr_clk); WAIT UNTIL rising_edge(tr_clk);
WAIT FOR c_tr_clk_period/4 ns; -- to be sure that tr_clk='1' before starting the while TRUE loop WAIT FOR c_tr_clk_period/4; -- to be sure that tr_clk='1' before starting the while TRUE loop
WHILE TRUE LOOP WHILE TRUE LOOP
IF tr_clk/='1' THEN -- level of tr_clk after rising_edge() IF tr_clk/='1' THEN -- level of tr_clk after rising_edge()
EXIT; EXIT;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment