Skip to content

Commit 8b09441

Browse files
committed
Replaced srl overloading with function call to work with Cadence Incisive.
1 parent 2a32d7c commit 8b09441

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def find_all_files(directory, endings=None):
3030

3131
setup(
3232
name='vunit_hdl',
33-
version='0.51.2',
33+
version='0.51.3',
3434
packages=['vunit',
3535
'vunit.com',
3636
'vunit.test',

vunit/vhdl/check/src/check.vhd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use work.string_ops.all;
1818

1919
package body check_pkg is
2020
type boolean_vector is array (natural range <>) of boolean;
21-
function "srl" (
21+
function logical_right_shift (
2222
constant arg : boolean_vector;
2323
constant count : natural)
2424
return boolean_vector is
@@ -28,7 +28,7 @@ package body check_pkg is
2828
ret_val(count to ret_val'right) := temp(0 to ret_val'right - count);
2929

3030
return ret_val;
31-
end function "srl";
31+
end function logical_right_shift;
3232
constant max_supported_num_of_bits_in_integer_implementation : natural := 256;
3333

3434
function failed_expectation_msg (
@@ -1350,7 +1350,7 @@ package body check_pkg is
13501350
else
13511351
expected_events(0) := tracks(0);
13521352
end if;
1353-
expected_events := expected_events srl 1;
1353+
expected_events := logical_right_shift(expected_events, 1);
13541354
end procedure update_expectations_on_events_in_next_cycle;
13551355

13561356
procedure verify_expected_events (

0 commit comments

Comments
 (0)