Browse Source

Update next_event_a example to fixed ghdl/ghdl#1314

master
T. Meissner 5 years ago
parent
commit
cd6c6449c2
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      src/psl_next_event_a.vhd

+ 1
- 5
src/psl_next_event_a.vhd View File

@ -46,11 +46,7 @@ begin
signal i_slv : std_logic_vector(b'range);
begin
i_slv <= std_logic_vector(to_unsigned(i, 4));
-- Without name it works
assert always ((a and b = i_slv) -> next_event_a(c)[1 to 4](b = i_slv));
-- This errors because of similar names for all asserts
-- ERROR: Assert `count_id(cell->name) == 0' failed in kernel/rtlil.cc:1613.
-- NEXT_EVENT_a : assert always ((a and b = i_slv) -> next_event_a(c)[1 to 4](b = i_slv));
NEXT_EVENT_a : assert always ((a and b = i_slv) -> next_event_a(c)[1 to 4](b = i_slv));
end generate check_b;


Loading…
Cancel
Save