repo.or.cz
/
ghdl-vlg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
verilog: add sv_maps iterators
[ghdl-vlg.git]
/
testsuite
/
synth
/
issue1330
/
test2.vhdl
blob
928b638c73f8306e53f7174fb5e0cee7d6a3abc8
1
library ieee;
2
use ieee.std_logic_1164.all;
3
use ieee.numeric_std.all;
4
5
entity test2 is
6
port(
7
clk : in std_logic;
8
write_data : in std_ulogic;
9
rst : std_ulogic
10
);
11
end;
12
13
architecture rtl of test2 is
14
begin
15
test_1: process(clk)
16
begin
17
if rising_edge(clk) then
18
if rst = '1' then
19
null;
20
else
21
assert write_data = '0' report "bad" severity failure;
22
end if;
23
end if;
24
end process test_1;
25
end architecture rtl;