In reply to rgarcia07:
Yes. I copied and ran again with same results.
I think it’s a bug with Incisive 15.20.
Also, I tried dave_59 code and I also got error with Incisive 15.20
irun: 15.20-s038: (c) Copyright 1995-2017 Cadence Design Systems, Inc.
bins one_hot[N] = one_hot_mode_cp with ($onehot(item));
|
ncvlog: *E,NOTPAR (testbench.sv,19|52): Illegal operand for constant expression [4(IEEE)].