Parcourir la source

Add wait until example

Jonatan Gezelius il y a 4 ans
Parent
commit
d2ab6b16c9
1 fichiers modifiés avec 8 ajouts et 1 suppressions
  1. 8 1
      testbench/ha_tb.vhd

+ 8 - 1
testbench/ha_tb.vhd

@@ -48,6 +48,13 @@ begin
     
     wait;
   end process;
-  
+
+  process is
+  begin
+    report "Shit!";
+    wait until r = '1';
+    report "It happened!";
+    wait;
+  end process;
   
 end architecture;