blob: 38f5f5727b3ba2cd1513932ac37ef79258006c3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
entity ent is
end entity;
architecture a of ent is
begin
main : process
begin
assert bit'value("'0'") = '0'; -- Works
assert bit'value("'1'") = '1'; -- Works
assert bit'value("0") = '0'; -- Fails
assert bit'value("1") = '1'; -- Fails
wait;
end process;
end architecture;
|