Explorar o código

Add wait until example

Jonatan Gezelius %!s(int64=4) %!d(string=hai) anos
pai
achega
d2ab6b16c9
Modificáronse 1 ficheiros con 8 adicións e 1 borrados
  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;