aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1228/test_load.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue1228/test_load.vhdl')
-rw-r--r--testsuite/gna/issue1228/test_load.vhdl29
1 files changed, 29 insertions, 0 deletions
diff --git a/testsuite/gna/issue1228/test_load.vhdl b/testsuite/gna/issue1228/test_load.vhdl
new file mode 100644
index 000000000..dcfc0d7ce
--- /dev/null
+++ b/testsuite/gna/issue1228/test_load.vhdl
@@ -0,0 +1,29 @@
+library ieee ;
+use ieee.std_logic_1164.all;
+
+entity test_load is
+end test_load;
+
+architecture RTL of test_load is
+ signal w : std_ulogic_vector(0 to 47);
+ signal \extend.id\ : std_ulogic := 'H';
+ signal clk : std_logic;
+begin
+ process
+ begin
+ for i in 1 to 10 loop
+ clk <= '0';
+ wait for 1 ns;
+ clk <= '1';
+ wait for 1 ns;
+ end loop;
+ wait;
+ end process;
+
+ process(clk)
+ begin
+ if (clk'event and clk = '1') then
+ w <= not w;
+ end if;
+ end process;
+end RTL;