data/full_repos/permissive/207835546/Priority Encoder/prio_enco_8x3_tst.v
1: b'%Error: Cannot find file containing module: Encoder,data/full_repos/permissive/207835546\n        ... Looked in:\n             data/full_repos/permissive/207835546/Priority/Encoder,data/full_repos/permissive/207835546\n             data/full_repos/permissive/207835546/Priority/Encoder,data/full_repos/permissive/207835546.v\n             data/full_repos/permissive/207835546/Priority/Encoder,data/full_repos/permissive/207835546.sv\n             Encoder,data/full_repos/permissive/207835546\n             Encoder,data/full_repos/permissive/207835546.v\n             Encoder,data/full_repos/permissive/207835546.sv\n             obj_dir/Encoder,data/full_repos/permissive/207835546\n             obj_dir/Encoder,data/full_repos/permissive/207835546.v\n             obj_dir/Encoder,data/full_repos/permissive/207835546.sv\n%Error: Cannot find file containing module: data/full_repos/permissive/207835546/Priority\n%Error: Cannot find file containing module: Encoder/prio_enco_8x3_tst.v\n%Error: Exiting due to 3 error(s)\n'
module prio_enco_8x3_tst;
   reg [7:0] d_in;
   wire[2:0] d_out;

   prio_enco_8x3 u1 (.d_out(d_out), .d_in(d_in) );

initial begin
$dumpfile("prio_encode.vcd");
$dumpvars(0,prio_enco_8x3_tst);
	  
	   d_in=8'b11001100;
	   #10;
	   d_in=8'b01100110;
	   #10;
	   d_in=8'b00110011;	
	   #10;
	   d_in=8'b00010010;
	   #10;
	   d_in=8'b00001001;
	   #10;
	   d_in=8'b00000100;
	   #10;
	   d_in=8'b00000011;
	   #10;
	   d_in=8'b00000001;
	   #10;
	   d_in=8'b00000000;
	   # 10; 
	   $finish;
     end
	 
	 initial 
	begin 
		$monitor($time,"\t d=%b, Output=%b",d_in,d_out);
	end

 endmodule
module prio_enco_8x3_tst;

   reg [7:0] d_in;
   wire[2:0] d_out;

   prio_enco_8x3 u1 (.d_out(d_out), .d_in(d_in) );

initial begin
$dumpfile("prio_encode.vcd");
$dumpvars(0,prio_enco_8x3_tst);
	  
	   d_in=8'b11001100;
	   #10;
	   d_in=8'b01100110;
	   #10;
	   d_in=8'b00110011;	
	   #10;
	   d_in=8'b00010010;
	   #10;
	   d_in=8'b00001001;
	   #10;
	   d_in=8'b00000100;
	   #10;
	   d_in=8'b00000011;
	   #10;
	   d_in=8'b00000001;
	   #10;
	   d_in=8'b00000000;
	   # 10; 
	   $finish;
     end
	 
	 initial 
	begin 
		$monitor($time,"\t d=%b, Output=%b",d_in,d_out);
	end

 endmodule