data/full_repos/permissive/172908596/Load and store Instruction/load_type_tb.v
 line:210: before: "("
1: b'%Error: Cannot find file containing module: and\n        ... Looked in:\n             data/full_repos/permissive/172908596/Load/and\n             data/full_repos/permissive/172908596/Load/and.v\n             data/full_repos/permissive/172908596/Load/and.sv\n             and\n             and.v\n             and.sv\n             obj_dir/and\n             obj_dir/and.v\n             obj_dir/and.sv\n%Error: Cannot find file containing module: store\n%Error: Cannot find file containing module: Instruction,data/full_repos/permissive/172908596\n%Error: Cannot find file containing module: data/full_repos/permissive/172908596/Load\n%Error: Cannot find file containing module: Instruction/load_type_tb.v\n%Error: Exiting due to 5 error(s)\n'
module R_tb;
reg [4:0] r1;
reg [4:0] r2;
reg [11:0] offset;
reg clk;
wire [63:0] a;
wire [63:0] rd;
wire [63:0] readdata;

load m(r1,r2,offset,clk,a,rd,readdata);
initial
begin
	clk = 1'b0;
	repeat(100)	
	#2	clk = ~clk;
end
initial
	begin
	$dumpfile("load.vcd");
	$dumpvars(0, R_tb);
	r1 = 5'b010; r2 = 5'b110; offset = 12'b0110; 
	#5 $display("%g rs1 = %b\n offset = %b\n address = %b\n read data = %b\n \n",$time,a,offset,rd,readdata);
	r1 = 5'b110; r2 = 5'b111; offset = 12'b1010;
	#4 $display("%g rs1 = %b\n offset = %b\n address = %b\n read data = %b\n \n",$time,a,offset,rd,readdata);
	r1 = 5'b110; r2 = 5'b111; offset = 12'b1010;
	#4 $display("%g rs1 = %b\n offset = %b\n address = %b\n read data = %b\n \n",$time,a,offset,rd,readdata);
	r1 = 5'b1110; r2 = 5'b100; offset = 12'b1111;
	#4 $display("%g rs1 = %b\n offset = %b\n address = %b\n read data = %b\n \n",$time,a,offset,rd,readdata);
	r1 = 5'b010; r2 = 5'b110; offset = 12'b0110; 
	#4 $display("%g rs1 = %b\n offset = %b\n address = %b\n read data = %b\n \n",$time,a,offset,rd,readdata);
	r1 = 5'b110; r2 = 5'b111; offset = 12'b1010;
	#4 $display("%g rs1 = %b\n offset = %b\n address = %b\n read data = %b\n \n",$time,a,offset,rd,readdata);

	end
initial
begin
#50 $finish;
end

endmodule
module R_tb;

reg [4:0] r1;
reg [4:0] r2;
reg [11:0] offset;
reg clk;
wire [63:0] a;
wire [63:0] rd;
wire [63:0] readdata;

load m(r1,r2,offset,clk,a,rd,readdata);
initial
begin
	clk = 1'b0;
	repeat(100)	
	#2	clk = ~clk;
end
initial
	begin
	$dumpfile("load.vcd");
	$dumpvars(0, R_tb);
	r1 = 5'b010; r2 = 5'b110; offset = 12'b0110; 
	#5 $display("%g rs1 = %b\n offset = %b\n address = %b\n read data = %b\n \n",$time,a,offset,rd,readdata);
	r1 = 5'b110; r2 = 5'b111; offset = 12'b1010;
	#4 $display("%g rs1 = %b\n offset = %b\n address = %b\n read data = %b\n \n",$time,a,offset,rd,readdata);
	r1 = 5'b110; r2 = 5'b111; offset = 12'b1010;
	#4 $display("%g rs1 = %b\n offset = %b\n address = %b\n read data = %b\n \n",$time,a,offset,rd,readdata);
	r1 = 5'b1110; r2 = 5'b100; offset = 12'b1111;
	#4 $display("%g rs1 = %b\n offset = %b\n address = %b\n read data = %b\n \n",$time,a,offset,rd,readdata);
	r1 = 5'b010; r2 = 5'b110; offset = 12'b0110; 
	#4 $display("%g rs1 = %b\n offset = %b\n address = %b\n read data = %b\n \n",$time,a,offset,rd,readdata);
	r1 = 5'b110; r2 = 5'b111; offset = 12'b1010;
	#4 $display("%g rs1 = %b\n offset = %b\n address = %b\n read data = %b\n \n",$time,a,offset,rd,readdata);

	end
initial
begin
#50 $finish;
end

endmodule