opentitan icon indicating copy to clipboard operation
opentitan copied to clipboard

[kmac/dv] kmac smoke test compile fails on xcelium

Open rasmus-madsen opened this issue 5 years ago • 7 comments

when trying to run the kmac masked smoke test I get the following error

xmvlog: *E,SOWUNS (../src/lowrisc_dv_kmac_env_0.1/seq_lib/kmac_base_vseq.sv,355|48): with expression in streaming concatenation is not supported

it seems like this code is the cause of the problem

 for (int i = 0; i < (fname_len + custom_str_len) / 4 + 2 ; i++) begin
      prefix_arr[i] = {<< byte {prefix_bytes with [i*4 +: 4]}};
    end

to reproduce util/dvsim/dvsim.py kmac_masked_sim_cfg.hjson -i kmac_masked_smoke -r 1 -t xcelium

rasmus-madsen avatar Mar 23 '21 20:03 rasmus-madsen

Thanks Rasmus for reporting that :) @udinator I saw the same issue in otp_ctrl before.. PR https://github.com/lowRISC/opentitan/pull/5659

cindychip avatar Mar 23 '21 20:03 cindychip

Thanks for reporting this @rasmus-madsen ! I'll take a look and update this.

Should we file an issue with Cadence to add support for this feature, since it is part of the LRM?

udinator avatar Mar 23 '21 20:03 udinator

@udinator yep already on it. I have asked our local FAE about it, once he returns with an answer I will file an issue

rasmus-madsen avatar Mar 23 '21 20:03 rasmus-madsen

@weicaiyang @udinator @cindychip according to our Cadence FAE support for concatenation streams should be included in 21.03

rasmus-madsen avatar Mar 24 '21 16:03 rasmus-madsen

Nice, thanks for checking Rasmus

cindychip avatar Mar 24 '21 16:03 cindychip

Great, thanks for checking Rasmus!

udinator avatar Mar 24 '21 21:03 udinator

@udinator @sriyerg I just tested an agile version of the upcoming release of xcelium. and I can confirm that the support has been added. The stable release is expected in May. (21.03)

rasmus-madsen avatar Apr 07 '21 11:04 rasmus-madsen