Ver código fonte

Add wait until example

Jonatan Gezelius 4 anos atrás
pai
commit
d2ab6b16c9
1 arquivos alterados com 8 adições e 1 exclusões
  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;