data/full_repos/permissive/172908596/BEQ instruction/beq_tb.v
 line:211: before: "("
1: b'%Error: Cannot find file containing module: instruction,data/full_repos/permissive/172908596\n        ... Looked in:\n             data/full_repos/permissive/172908596/BEQ/instruction,data/full_repos/permissive/172908596\n             data/full_repos/permissive/172908596/BEQ/instruction,data/full_repos/permissive/172908596.v\n             data/full_repos/permissive/172908596/BEQ/instruction,data/full_repos/permissive/172908596.sv\n             instruction,data/full_repos/permissive/172908596\n             instruction,data/full_repos/permissive/172908596.v\n             instruction,data/full_repos/permissive/172908596.sv\n             obj_dir/instruction,data/full_repos/permissive/172908596\n             obj_dir/instruction,data/full_repos/permissive/172908596.v\n             obj_dir/instruction,data/full_repos/permissive/172908596.sv\n%Error: Cannot find file containing module: data/full_repos/permissive/172908596/BEQ\n%Error: Cannot find file containing module: instruction/beq_tb.v\n%Error: Exiting due to 3 error(s)\n'
module beq_tb;
reg [4:0] r1;
reg [4:0] r2;
reg [5:0] ctrl;
reg clk;
reg [11:0] imm;
reg [31:0] pc;
wire [31:0] npc;
beq_ins m(r1,r2,imm,clk,ctrl,pc,npc);
initial
begin
	clk = 1'b0;
	repeat(100)	
	#2	clk = ~clk;
end
initial
	begin
	$dumpfile("beq.vcd");
	$dumpvars(0, beq_tb);
	r1 = 5'b010; r2 = 5'b110; imm = 12'b10000; ctrl = 6'b101000; pc = 32'b100;
	#5 $display("%g rs1 = %b rs2 = %b PC = %b nPC = %b instruction = BEQ",$time,r1,r2,pc,npc);
	r1 = 5'b01; r2 = 5'b11111; imm = 12'b10100; ctrl = 6'b101000; pc = 32'b100;
	#4 $display("%g rs1 = %b rs2 = %b PC = %b nPC = %b instruction = BEQ",$time,r1,r2,pc,npc);
	r1 = 5'b010; r2 = 5'b11011; imm = 12'b10001; ctrl = 6'b101000; pc = 32'b100;
	#4 $display("%g rs1 = %b rs2 = %b PC = %b nPC = %b instruction = BEQ",$time,r1,r2,pc,npc);
	r1 = 5'b010; r2 = 5'b1110; imm = 12'b100011; ctrl = 6'b101000; pc = 32'b100;
	#4 $display("%g rs1 = %b rs2 = %b PC = %b nPC = %b instruction = BEQ",$time,r1,r2,pc,npc);
	r1 = 5'b0101; r2 = 5'b11011; imm = 12'b1001100; ctrl = 6'b101000; pc = 32'b100;
	#4 $display("%g rs1 = %b rs2 = %b PC = %b nPC = %b instruction = BEQ",$time,r1,r2,pc,npc);
	end
initial
begin
#50 $finish;
end

endmodule
module beq_tb;

reg [4:0] r1;
reg [4:0] r2;
reg [5:0] ctrl;
reg clk;
reg [11:0] imm;
reg [31:0] pc;
wire [31:0] npc;
beq_ins m(r1,r2,imm,clk,ctrl,pc,npc);
initial
begin
	clk = 1'b0;
	repeat(100)	
	#2	clk = ~clk;
end
initial
	begin
	$dumpfile("beq.vcd");
	$dumpvars(0, beq_tb);
	r1 = 5'b010; r2 = 5'b110; imm = 12'b10000; ctrl = 6'b101000; pc = 32'b100;
	#5 $display("%g rs1 = %b rs2 = %b PC = %b nPC = %b instruction = BEQ",$time,r1,r2,pc,npc);
	r1 = 5'b01; r2 = 5'b11111; imm = 12'b10100; ctrl = 6'b101000; pc = 32'b100;
	#4 $display("%g rs1 = %b rs2 = %b PC = %b nPC = %b instruction = BEQ",$time,r1,r2,pc,npc);
	r1 = 5'b010; r2 = 5'b11011; imm = 12'b10001; ctrl = 6'b101000; pc = 32'b100;
	#4 $display("%g rs1 = %b rs2 = %b PC = %b nPC = %b instruction = BEQ",$time,r1,r2,pc,npc);
	r1 = 5'b010; r2 = 5'b1110; imm = 12'b100011; ctrl = 6'b101000; pc = 32'b100;
	#4 $display("%g rs1 = %b rs2 = %b PC = %b nPC = %b instruction = BEQ",$time,r1,r2,pc,npc);
	r1 = 5'b0101; r2 = 5'b11011; imm = 12'b1001100; ctrl = 6'b101000; pc = 32'b100;
	#4 $display("%g rs1 = %b rs2 = %b PC = %b nPC = %b instruction = BEQ",$time,r1,r2,pc,npc);
	end
initial
begin
#50 $finish;
end

endmodule