data/full_repos/permissive/412297935/hdl/priority_tb.v
1: b'%Error: data/full_repos/permissive/412297935/hdl/priority_tb.v:1: Cannot find include file: defines.v\n`include "defines.v" \n         ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/412297935/hdl,data/full_repos/permissive/412297935/defines.v\n             data/full_repos/permissive/412297935/hdl,data/full_repos/permissive/412297935/defines.v.v\n             data/full_repos/permissive/412297935/hdl,data/full_repos/permissive/412297935/defines.v.sv\n             defines.v\n             defines.v.v\n             defines.v.sv\n             obj_dir/defines.v\n             obj_dir/defines.v.v\n             obj_dir/defines.v.sv\n%Error: data/full_repos/permissive/412297935/hdl/priority_tb.v:30: Unsupported or unknown PLI call: $dumpfile\n            $dumpfile("/tmp/priority.vcd");\n            ^~~~~~~~~\n%Error: data/full_repos/permissive/412297935/hdl/priority_tb.v:31: Unsupported or unknown PLI call: $dumpvars\n            $dumpvars(0, priority_tb);\n            ^~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/412297935/hdl/priority_tb.v:35: Unsupported: Ignoring delay on this delayed statement.\n   #10  dIn = 8\'h01;\n   ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/412297935/hdl/priority_tb.v:37: Unsupported: Ignoring delay on this delayed statement.\n   #10  dIn = 8\'h02;\n   ^\n%Warning-STMTDLY: data/full_repos/permissive/412297935/hdl/priority_tb.v:39: Unsupported: Ignoring delay on this delayed statement.\n   #10  dIn = 8\'h04;\n   ^\n%Warning-STMTDLY: data/full_repos/permissive/412297935/hdl/priority_tb.v:41: Unsupported: Ignoring delay on this delayed statement.\n   #10  dIn = 8\'h08;\n   ^\n%Warning-STMTDLY: data/full_repos/permissive/412297935/hdl/priority_tb.v:43: Unsupported: Ignoring delay on this delayed statement.\n   #10  dIn = 8\'h10;\n   ^\n%Warning-STMTDLY: data/full_repos/permissive/412297935/hdl/priority_tb.v:45: Unsupported: Ignoring delay on this delayed statement.\n   #10  dIn = 8\'h20;\n   ^\n%Warning-STMTDLY: data/full_repos/permissive/412297935/hdl/priority_tb.v:47: Unsupported: Ignoring delay on this delayed statement.\n   #10  dIn = 8\'h40;\n   ^\n%Warning-STMTDLY: data/full_repos/permissive/412297935/hdl/priority_tb.v:49: Unsupported: Ignoring delay on this delayed statement.\n   #10  dIn = 8\'h80;\n   ^\n%Warning-STMTDLY: data/full_repos/permissive/412297935/hdl/priority_tb.v:51: Unsupported: Ignoring delay on this delayed statement.\n   #40  dIn = 8\'h07;\n   ^\n%Warning-STMTDLY: data/full_repos/permissive/412297935/hdl/priority_tb.v:53: Unsupported: Ignoring delay on this delayed statement.\n   #10  dIn = 8\'h30;\n   ^\n%Warning-STMTDLY: data/full_repos/permissive/412297935/hdl/priority_tb.v:55: Unsupported: Ignoring delay on this delayed statement.\n            #10  $finish;\n            ^\n%Error: Exiting due to 3 error(s), 11 warning(s)\n'
module priority_tb;

	



	reg [7:0] dIn;
	wire [3:0] dOut;
	
	PriorityEncoder dut
		(
		.bits(dIn),
		.index(dOut)
		);
	



    initial
        begin
            $dumpfile("/tmp/priority.vcd");
            $dumpvars(0, priority_tb);
                
					dIn = 8'h0;
			
			#10		dIn = 8'h01;
			
			#10		dIn = 8'h02;
			
			#10		dIn = 8'h04;
			
			#10		dIn = 8'h08;
			
			#10 	dIn = 8'h10;
			
			#10		dIn = 8'h20;
			
			#10		dIn = 8'h40;
			
			#10 	dIn = 8'h80;
			
			#40		dIn = 8'h07;
			
			#10		dIn = 8'h30;
			            		
            #10 	$finish;
		end

endmodule
module priority_tb;


	



	reg [7:0] dIn;
	wire [3:0] dOut;
	
	PriorityEncoder dut
		(
		.bits(dIn),
		.index(dOut)
		);
	



    initial
        begin
            $dumpfile("/tmp/priority.vcd");
            $dumpvars(0, priority_tb);
                
					dIn = 8'h0;
			
			#10		dIn = 8'h01;
			
			#10		dIn = 8'h02;
			
			#10		dIn = 8'h04;
			
			#10		dIn = 8'h08;
			
			#10 	dIn = 8'h10;
			
			#10		dIn = 8'h20;
			
			#10		dIn = 8'h40;
			
			#10 	dIn = 8'h80;
			
			#40		dIn = 8'h07;
			
			#10		dIn = 8'h30;
			            		
            #10 	$finish;
		end

endmodule