Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

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

Open
RRozak opened this issue Oct 20, 2021 · 3 comments
Open

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

RRozak opened this issue Oct 20, 2021 · 3 comments

Comments

@RRozak
Copy link
Collaborator

RRozak commented Oct 20, 2021

No description provided.

@RRozak
Copy link
Collaborator Author

RRozak commented Oct 20, 2021

I created the test #561

@RRozak
Copy link
Collaborator Author

RRozak commented Oct 20, 2021

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: chipsalliance/Surelog#2092

@RRozak
Copy link
Collaborator Author

RRozak commented Oct 20, 2021

The 1st warning can be reproduced by #562

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant