ELGIP-45 Added a Pragma to signal out-of-bound trigger selection
This commit is contained in:
parent
fd869005c0
commit
ae26e0c6c6
1 changed files with 4 additions and 0 deletions
|
|
@ -285,6 +285,10 @@ begin
|
|||
|
||||
trig_int <= trigger_in(to_integer(unsigned(trig_sel))) and trig_mask(to_integer(unsigned(trig_sel)));
|
||||
|
||||
--pragma translate_off
|
||||
assert (to_integer(unsigned(trig_sel)) < TRIGGER_WIDTH) report "ERROR: trig_sel out of selectable trigger mask" severity failure;
|
||||
--pragma translate_off
|
||||
|
||||
-----------------------------------------------------------------------------
|
||||
-- Dual-Port Memory buffer
|
||||
-----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue