diff options
Diffstat (limited to 'src/tb')
-rw-r--r-- | src/tb/tb_sha256.v | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/tb/tb_sha256.v b/src/tb/tb_sha256.v index b6916cd..47b0308 100644 --- a/src/tb/tb_sha256.v +++ b/src/tb/tb_sha256.v @@ -545,14 +545,14 @@ module tb_sha256(); $display("*** TC%01d - Restore state test started.", tc_ctr); // Write state. - write_word(ADDR_STATE0, state[255 : 224]); - write_word(ADDR_STATE1, state[223 : 192]); - write_word(ADDR_STATE2, state[191 : 160]); - write_word(ADDR_STATE3, state[159 : 128]); - write_word(ADDR_STATE4, state[127 : 096]); - write_word(ADDR_STATE5, state[095 : 0064]); - write_word(ADDR_STATE6, state[063 : 0032]); - write_word(ADDR_STATE7, state[031 : 000]); + write_word(ADDR_DIGEST0, state[255 : 224]); + write_word(ADDR_DIGEST1, state[223 : 192]); + write_word(ADDR_DIGEST2, state[191 : 160]); + write_word(ADDR_DIGEST3, state[159 : 128]); + write_word(ADDR_DIGEST4, state[127 : 096]); + write_word(ADDR_DIGEST5, state[095 : 0064]); + write_word(ADDR_DIGEST6, state[063 : 0032]); + write_word(ADDR_DIGEST7, state[031 : 000]); // Process block. write_block(block); |