data/full_repos/permissive/11448235/test/sha_chunk_test.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/11448235/test/sha_chunk_test.v:44: Unsupported: Ignoring delay on this delayed statement.\n always #(P/2) clk = ~clk;\n        ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/11448235/test/sha_chunk_test.v:57: Unsupported: Ignoring delay on this delayed statement.\n  #(80*P);\n  ^\n%Error: data/full_repos/permissive/11448235/test/sha_chunk_test.v:55: Can\'t find definition of \'roundnum\' in dotted variable: \'uut.roundnum\'\n  uut.roundnum = 6\'h3e;\n      ^~~~~~~~\n%Error: Exiting due to 1 error(s), 2 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module sha_chunk_test;


	reg [511:0] data;
	reg [255:0] V_in;
	reg clk = 0;


	wire [255:0] hash;


	sha256_chunk uut (
		.clk(clk),
		.data(data), 
		.V_in(V_in), 
		.hash(hash)
	);
	
	parameter P=10;
	always #(P/2) clk = ~clk;

	initial begin

		data = 0;
		data[7:0] = 8'd97;
		data[15:8] = 8'd98;
		data[23:16] = 8'd99;
		data[31:24] = 8'h80;
		data[511:504] = 8'd24;
		V_in = 256'h5be0cd191f83d9ab9b05688c510e527fa54ff53a3c6ef372bb67ae856a09e667;
		uut.roundnum = 6'h3e;
		
		#(80*P);
		
		$stop();

	end
      
endmodule
module sha_chunk_test;



	reg [511:0] data;
	reg [255:0] V_in;
	reg clk = 0;


	wire [255:0] hash;


	sha256_chunk uut (
		.clk(clk),
		.data(data), 
		.V_in(V_in), 
		.hash(hash)
	);
	
	parameter P=10;
	always #(P/2) clk = ~clk;

	initial begin

		data = 0;
		data[7:0] = 8'd97;
		data[15:8] = 8'd98;
		data[23:16] = 8'd99;
		data[31:24] = 8'h80;
		data[511:504] = 8'd24;
		V_in = 256'h5be0cd191f83d9ab9b05688c510e527fa54ff53a3c6ef372bb67ae856a09e667;
		uut.roundnum = 6'h3e;
		
		#(80*P);
		
		$stop();

	end
      
endmodule