From 793b86d73d2ece07879fda9b30d1c62dc298f7c1 Mon Sep 17 00:00:00 2001 From: Erik Kooistra <kooistra@astron.nl> Date: Wed, 8 Oct 2014 09:06:16 +0000 Subject: [PATCH] Do keep wait for 10 us after tb_end, otherwise use severity failure to stop the simulation and avoid the PLL lost lock messages after the tb_end. --- libraries/io/eth/tb/vhdl/tb_eth.vhd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/io/eth/tb/vhdl/tb_eth.vhd b/libraries/io/eth/tb/vhdl/tb_eth.vhd index 052ea60b27..800d7afc20 100644 --- a/libraries/io/eth/tb/vhdl/tb_eth.vhd +++ b/libraries/io/eth/tb/vhdl/tb_eth.vhd @@ -566,7 +566,8 @@ BEGIN REPORT "Not all transmitted packets were received." SEVERITY ERROR; END IF; - --WAIT FOR 10 us; + -- Do keep wait for 10 us after tb_end. Otherwise without wait for 10 us use severity FAILURE to stop the simulation and avoid the PLL lost lock messages after the tb_end. + WAIT FOR 10 us; ASSERT FALSE REPORT "Simulation tb_eth finished." SEVERITY NOTE; WAIT; END PROCESS; -- GitLab