Thanks Jim for the help with MTI version check (18.1 produces a seg-fault with NewID call). Now I have updated to the latest available – 20.1 and I see that seg-fault is resolved. However, during push I get:
<log>
# Time: 1 ns Iteration: 0 Instance: /tb_af_up_dn_counter/u_testcase
# %% Alert FAILURE in OSVVM, Scoreboard Push Index: -2147483648is not in the range (1to 1) at 1 ns
#
</log>
My code looks like:
signal SB_int : osvvm.ScoreboardPkg_int.ScoreBoardIDType;
begin
stim : process
begin
wait for 1 ns;
SB_int <= NewID("COUNT_SB");
report ("SB_int: " & integer'image(SB_int.Id));
i_up_or_down <= '0';
push(SB_int, 2);
Looks like the NewID returns a crazy number?
Thanks
Ajeetha