UHDM-integration-tests icon indicating copy to clipboard operation
UHDM-integration-tests copied to clipboard

EarlGrey: kmac_entropy.sv doesn't work in Verilator

Open RRozak opened this issue 3 years ago • 3 comments

RRozak avatar Oct 20 '21 06:10 RRozak

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

RRozak avatar Oct 20 '21 07:10 RRozak

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 avatar Oct 20 '21 08:10 RRozak

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

RRozak avatar Oct 20 '21 10:10 RRozak