blob: dcfc0d7ce94afefd4fe9ca4a0972e155a97736d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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;
|