chipsalliance / UHDM-integration-tests

Apache License 2.0
30 stars 8 forks source link

EarlGrey: kmac_entropy.sv doesn't work in Verilator #560

Open RRozak opened 3 years ago

RRozak commented 3 years ago

I created the test https://github.com/chipsalliance/UHDM-integration-tests/pull/561

RRozak commented 3 years ago

There are 2 warnings:

%Warning-WIDTH: Operator PATMEMBER expects 352 bits on the Pattern value, but Pattern value's CONST '?32?shffffffff' generates 32 bits.
                        : ... In instance kmac_entropy
Warning-WIDTH: concat.sv:1708:5: Operator ASSIGN expects 32 bits on the Assign RHS, but Assign RHS's VARREF 'next_state' generates 64 bits.
                                : ... In instance kmac_entropy.u_lfsr

The 2nd warring is known and there is the issue created: https://github.com/chipsalliance/Surelog/issues/2092

RRozak commented 3 years ago

The 1st warning can be reproduced by https://github.com/chipsalliance/UHDM-integration-tests/pull/562