Explorar el Código

Add more examples

Jonatan Gezelius hace 4 años
padre
commit
f58e2e3276
Se han modificado 1 ficheros con 10 adiciones y 0 borrados
  1. 10 0
      testbench/ha_tb.vhd

+ 10 - 0
testbench/ha_tb.vhd

@@ -54,7 +54,17 @@ begin
     report "Shit!";
     wait until r = '1';
     report "It happened!";
+
+    for i in 3 to 6 loop
+      report "Currently at " & integer'image(i);
+      wait for 1 ns;
+    end loop;
+
+    report "At end of test process!";
     wait;
   end process;
+
+  -- Invalid report in concurrent statement
+  --report "when is this?";
   
 end architecture;