Skip to content
Snippets Groups Projects
Commit 2c75bbd3 authored by dam1n19's avatar dam1n19
Browse files

ATO2-24 Updated Hash RTL File name

parent 8786fabf
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
`include "hashing_functions.sv" `include "hashing_functions.sv"
module hash_process ( module hash_compression (
input logic clk, input logic clk,
input logic nrst, input logic nrst,
input logic en, input logic en,
......
...@@ -9,9 +9,9 @@ ...@@ -9,9 +9,9 @@
// Copyright 2022, SoC Labs (www.soclabs.org) // Copyright 2022, SoC Labs (www.soclabs.org)
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
`timescale 1ns/1ns `timescale 1ns/1ns
`include "hash_process.sv" `include "hash_compression.sv"
module tb_hash_process; module tb_hash_compression;
logic clk; logic clk;
logic nrst; logic nrst;
...@@ -34,7 +34,7 @@ module tb_hash_process; ...@@ -34,7 +34,7 @@ module tb_hash_process;
logic data_out_ready; logic data_out_ready;
logic data_out_last; logic data_out_last;
hash_process uut ( hash_compression uut (
.clk (clk), .clk (clk),
.nrst(nrst), .nrst(nrst),
.data_in(data_in), .data_in(data_in),
...@@ -150,19 +150,19 @@ module tb_hash_process; ...@@ -150,19 +150,19 @@ module tb_hash_process;
logic output_data_last; // Temporary Output Data Last logic output_data_last; // Temporary Output Data Last
initial begin initial begin
$dumpfile("hash_process.vcd"); $dumpfile("hash_compression.vcd");
$dumpvars(0, tb_hash_process); $dumpvars(0, tb_hash_compression);
for (int i = 0; i < 16; i++) begin for (int i = 0; i < 16; i++) begin
$dumpvars(0, tb_hash_process.uut.M[i]); $dumpvars(0, tb_hash_compression.uut.M[i]);
end end
for (int i = 0; i < 8; i++) begin for (int i = 0; i < 8; i++) begin
$dumpvars(0, tb_hash_process.uut.H[i]); $dumpvars(0, tb_hash_compression.uut.H[i]);
$dumpvars(0, tb_hash_process.uut.next_H[i]); $dumpvars(0, tb_hash_compression.uut.next_H[i]);
end end
for (int i = 0; i < 64; i++) begin for (int i = 0; i < 64; i++) begin
$dumpvars(0, tb_hash_process.uut.W[i]); $dumpvars(0, tb_hash_compression.uut.W[i]);
$dumpvars(0, tb_hash_process.uut.next_W[i]); $dumpvars(0, tb_hash_compression.uut.next_W[i]);
$dumpvars(0, tb_hash_process.uut.ssig1_next_W[i]); $dumpvars(0, tb_hash_compression.uut.ssig1_next_W[i]);
end end
data_in_drive_en = 0; data_in_drive_en = 0;
data_out_drive_ready = 0; data_out_drive_ready = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment