data/full_repos/permissive/109846502/NumeratorTest.v
1: b'%Error: data/full_repos/permissive/109846502/NumeratorTest.v:2: Cannot find include file: defines.vh\n`include "defines.vh" \n         ^~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/109846502,data/full_repos/permissive/109846502/defines.vh\n             data/full_repos/permissive/109846502,data/full_repos/permissive/109846502/defines.vh.v\n             data/full_repos/permissive/109846502,data/full_repos/permissive/109846502/defines.vh.sv\n             defines.vh\n             defines.vh.v\n             defines.vh.sv\n             obj_dir/defines.vh\n             obj_dir/defines.vh.v\n             obj_dir/defines.vh.sv\n%Warning-STMTDLY: data/full_repos/permissive/109846502/NumeratorTest.v:70: Unsupported: Ignoring delay on this delayed statement.\n  #101;\n  ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/109846502/NumeratorTest.v:72: Unsupported: Ignoring delay on this delayed statement.\n  forever #1 clk = ~clk;\n          ^\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:79: Define or directive not defined: \'`SL_A\'\n  ST_L = `SL_A;\n         ^~~~~\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:79: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n  ST_L = `SL_A;\n              ^\n%Warning-STMTDLY: data/full_repos/permissive/109846502/NumeratorTest.v:80: Unsupported: Ignoring delay on this delayed statement.\n  #120;\n  ^\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:83: Define or directive not defined: \'`KEY_3\'\n  key = `KEY_3;\n        ^~~~~~\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:83: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n  key = `KEY_3;\n              ^\n%Warning-STMTDLY: data/full_repos/permissive/109846502/NumeratorTest.v:84: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:86: Define or directive not defined: \'`KEY_5\'\n  key = `KEY_5;\n        ^~~~~~\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:86: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n  key = `KEY_5;\n              ^\n%Warning-STMTDLY: data/full_repos/permissive/109846502/NumeratorTest.v:87: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:90: Define or directive not defined: \'`KEY_1\'\n  key = `KEY_1;\n        ^~~~~~\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:90: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n  key = `KEY_1;\n              ^\n%Warning-STMTDLY: data/full_repos/permissive/109846502/NumeratorTest.v:91: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:92: Define or directive not defined: \'`KEY_5\'\n  key = `KEY_5;\n        ^~~~~~\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:92: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n  key = `KEY_5;\n              ^\n%Warning-STMTDLY: data/full_repos/permissive/109846502/NumeratorTest.v:94: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:96: Define or directive not defined: \'`KEY_0\'\n  key = `KEY_0;\n        ^~~~~~\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:96: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n  key = `KEY_0;\n              ^\n%Warning-STMTDLY: data/full_repos/permissive/109846502/NumeratorTest.v:98: Unsupported: Ignoring delay on this delayed statement.\n  #20;\n  ^\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:99: Define or directive not defined: \'`SL_B\'\n  ST_L = `SL_B;\n         ^~~~~\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:99: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n  ST_L = `SL_B;\n              ^\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:101: Define or directive not defined: \'`KEY_3\'\n  key = `KEY_3;\n        ^~~~~~\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:101: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n  key = `KEY_3;\n              ^\n%Warning-STMTDLY: data/full_repos/permissive/109846502/NumeratorTest.v:102: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:104: Define or directive not defined: \'`KEY_5\'\n  key = `KEY_5;\n        ^~~~~~\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:104: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n  key = `KEY_5;\n              ^\n%Warning-STMTDLY: data/full_repos/permissive/109846502/NumeratorTest.v:105: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:108: Define or directive not defined: \'`KEY_1\'\n  key = `KEY_1;\n        ^~~~~~\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:108: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n  key = `KEY_1;\n              ^\n%Warning-STMTDLY: data/full_repos/permissive/109846502/NumeratorTest.v:109: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:110: Define or directive not defined: \'`KEY_5\'\n  key = `KEY_5;\n        ^~~~~~\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:110: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n  key = `KEY_5;\n              ^\n%Warning-STMTDLY: data/full_repos/permissive/109846502/NumeratorTest.v:112: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:114: Define or directive not defined: \'`KEY_0\'\n  key = `KEY_0;\n        ^~~~~~\n%Error: data/full_repos/permissive/109846502/NumeratorTest.v:114: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n  key = `KEY_0;\n              ^\n%Warning-STMTDLY: data/full_repos/permissive/109846502/NumeratorTest.v:116: Unsupported: Ignoring delay on this delayed statement.\n  #100;\n  ^\n%Error: Exiting due to 25 error(s), 13 warning(s)\n'
module NumeratorTest;


	reg [1:0] index;
	reg enabled;
	reg [4:0] key;
	reg [2:0] ST_L;
	reg clk;
	reg rst;
	reg set;
	reg [15:0] setVal;


	wire [3:0] A1;
	wire [3:0] A2;
	wire [3:0] A3;
	wire [3:0] A4;
	wire [3:0] B1;
	wire [3:0] B2;
	wire [3:0] B3;
	wire [3:0] B4;


	Numerator uut (
		.index(index), 
		.enabled(enabled), 
		.key(key), 
		.ST_L(ST_L), 
		.clk(clk), 
		.rst(rst), 
		.A1(A1), 
		.A2(A2), 
		.A3(A3), 
		.A4(A4), 
		.B1(B1), 
		.B2(B2), 
		.B3(B3), 
		.B4(B4), 
		.set(set), 
		.setVal(setVal)
	);

	initial begin
		rst = 1'b1;
		clk = 1'b0;
		#101;
		rst = 1'b0;
		forever #1 clk = ~clk;
	end
	
	initial begin
		
		enabled = 1'b1;
		set = 1'b0;
		ST_L = `SL_A;
		#120;
		
		index = 2'd0;
		key = `KEY_3;
		#10;
		index = 2'd1;
		key = `KEY_5;
		#10;
		enabled = 1'b0;
		index = 2'd2;
		key = `KEY_1;
		#10;
		key = `KEY_5;
		enabled = 1'b1;
		#10;
		index = 2'd3;
		key = `KEY_0;
		
		#20;
		ST_L = `SL_B;
		index = 2'd0;
		key = `KEY_3;
		#10;
		index = 2'd1;
		key = `KEY_5;
		#10;
		enabled = 1'b0;
		index = 2'd2;
		key = `KEY_1;
		#10;
		key = `KEY_5;
		enabled = 1'b1;
		#10;
		index = 2'd3;
		key = `KEY_0;
		
		#100;
		
		setVal[15:12] = 3'd5;
		setVal[11:8] = 3'd4;
		setVal[7:4] = 3'd3;
		setVal[3:0] = 3'd2;
		
		set = 1'b1;
		
	end
      
endmodule
module NumeratorTest;



	reg [1:0] index;
	reg enabled;
	reg [4:0] key;
	reg [2:0] ST_L;
	reg clk;
	reg rst;
	reg set;
	reg [15:0] setVal;


	wire [3:0] A1;
	wire [3:0] A2;
	wire [3:0] A3;
	wire [3:0] A4;
	wire [3:0] B1;
	wire [3:0] B2;
	wire [3:0] B3;
	wire [3:0] B4;


	Numerator uut (
		.index(index), 
		.enabled(enabled), 
		.key(key), 
		.ST_L(ST_L), 
		.clk(clk), 
		.rst(rst), 
		.A1(A1), 
		.A2(A2), 
		.A3(A3), 
		.A4(A4), 
		.B1(B1), 
		.B2(B2), 
		.B3(B3), 
		.B4(B4), 
		.set(set), 
		.setVal(setVal)
	);

	initial begin
		rst = 1'b1;
		clk = 1'b0;
		#101;
		rst = 1'b0;
		forever #1 clk = ~clk;
	end
	
	initial begin
		
		enabled = 1'b1;
		set = 1'b0;
		ST_L = `SL_A;
		#120;
		
		index = 2'd0;
		key = `KEY_3;
		#10;
		index = 2'd1;
		key = `KEY_5;
		#10;
		enabled = 1'b0;
		index = 2'd2;
		key = `KEY_1;
		#10;
		key = `KEY_5;
		enabled = 1'b1;
		#10;
		index = 2'd3;
		key = `KEY_0;
		
		#20;
		ST_L = `SL_B;
		index = 2'd0;
		key = `KEY_3;
		#10;
		index = 2'd1;
		key = `KEY_5;
		#10;
		enabled = 1'b0;
		index = 2'd2;
		key = `KEY_1;
		#10;
		key = `KEY_5;
		enabled = 1'b1;
		#10;
		index = 2'd3;
		key = `KEY_0;
		
		#100;
		
		setVal[15:12] = 3'd5;
		setVal[11:8] = 3'd4;
		setVal[7:4] = 3'd3;
		setVal[3:0] = 3'd2;
		
		set = 1'b1;
		
	end
      
endmodule