Hi, I'm running the SHA256 testbench on webpack and it fails with the following messages: ERROR(SHA-256-0) Expected 248d6a61, Got 19db06c1 ERROR(SHA-256-1) Expected d20638b8, Got 248d6a61 ERROR(SHA-256-2) Expected e5c02693, Got d20638b8 ERROR(SHA-256-3) Expected 0c3e6039, Got e5c02693 ERROR(SHA-256-4) Expected a33ce459, Got 0c3e6039 ERROR(SHA-256-5) Expected 64ff2167, Got a33ce459 ERROR(SHA-256-6) Expected f6ecedd4, Got 64ff2167 ERROR(SHA-256-7) Expected 19db06c1, Got f6ecedd4
I have got these messages too.
Add an extra clock after deasserting clk_w_i before comparing text_o values. The core is doing the right thing, the testbench needs to be updated though.
In test_sha256.v: @(posedge clk); cmd_w_i = 1'b0;
@(posedge clk);
for (i=0;i
DO U SOLVE THIS QUESTION?