data/full_repos/permissive/212394344/JumpControlBlock_TB.v
 line:93: before: "forever"
1: b'%Warning-STMTDLY: data/full_repos/permissive/212394344/JumpControlBlock_TB.v:61: Unsupported: Ignoring delay on this delayed statement.\n  #200;\n  ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/212394344/JumpControlBlock_TB.v:64: Unsupported: Ignoring delay on this delayed statement.\n  #500;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/212394344/JumpControlBlock_TB.v:67: Unsupported: Ignoring delay on this delayed statement.\n  #900;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/212394344/JumpControlBlock_TB.v:70: Unsupported: Ignoring delay on this delayed statement.\n  #1000;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/212394344/JumpControlBlock_TB.v:74: Unsupported: Ignoring delay on this delayed statement.\n  #1000;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/212394344/JumpControlBlock_TB.v:77: Unsupported: Ignoring delay on this delayed statement.\n  #2000;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/212394344/JumpControlBlock_TB.v:81: Unsupported: Ignoring delay on this delayed statement.\n  #1000;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/212394344/JumpControlBlock_TB.v:95: Unsupported: Ignoring delay on this delayed statement.\n   #500;\n   ^\n%Warning-STMTDLY: data/full_repos/permissive/212394344/JumpControlBlock_TB.v:92: Unsupported: Ignoring delay on this delayed statement.\n  #500\n  ^\n%Error: data/full_repos/permissive/212394344/JumpControlBlock_TB.v:40: Cannot find file containing module: \'JumpControlBlock\'\n JumpControlBlock uut (\n ^~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/212394344,data/full_repos/permissive/212394344/JumpControlBlock\n             data/full_repos/permissive/212394344,data/full_repos/permissive/212394344/JumpControlBlock.v\n             data/full_repos/permissive/212394344,data/full_repos/permissive/212394344/JumpControlBlock.sv\n             JumpControlBlock\n             JumpControlBlock.v\n             JumpControlBlock.sv\n             obj_dir/JumpControlBlock\n             obj_dir/JumpControlBlock.v\n             obj_dir/JumpControlBlock.sv\n%Error: Exiting due to 1 error(s), 9 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module JumpControlBlock_TB;


	reg [23:0] ins;
	reg [7:0] Current_Address;
	reg [3:0] flag_ex;
	reg interrupt;
	reg clk;
	reg reset;


	wire [7:0] jmp_loc;
	wire pc_mux_sel;


	JumpControlBlock uut (
		.jmp_loc(jmp_loc), 
		.pc_mux_sel(pc_mux_sel), 
		.ins(ins), 
		.Current_Address(Current_Address), 
		.flag_ex(flag_ex), 
		.interrupt(interrupt), 
		.clk(clk), 
		.reset(reset)
	);

	initial begin

		ins = 24'h0;
		Current_Address = 8'h01;
		flag_ex = 4'hf;
		interrupt = 0;

		reset = 1;


		#200;
      reset=0;
		  
		#500;
		reset=1;

		#900;
		interrupt=1;
		
		#1000;
		interrupt=0;
		ins = 24'h000008;
		
		#1000;
		ins=24'hc00008;
		
		#2000;
		ins=24'h800008;
		flag_ex=4'h0;
		
		#1000;
		ins=24'hf00008;
		
		
		

		

	end
	 initial begin 
		clk=0;
		#500
		forever begin
			clk=~clk;
			#500;
		end
	end
	
endmodule
module JumpControlBlock_TB;



	reg [23:0] ins;
	reg [7:0] Current_Address;
	reg [3:0] flag_ex;
	reg interrupt;
	reg clk;
	reg reset;


	wire [7:0] jmp_loc;
	wire pc_mux_sel;


	JumpControlBlock uut (
		.jmp_loc(jmp_loc), 
		.pc_mux_sel(pc_mux_sel), 
		.ins(ins), 
		.Current_Address(Current_Address), 
		.flag_ex(flag_ex), 
		.interrupt(interrupt), 
		.clk(clk), 
		.reset(reset)
	);

	initial begin

		ins = 24'h0;
		Current_Address = 8'h01;
		flag_ex = 4'hf;
		interrupt = 0;

		reset = 1;


		#200;
      reset=0;
		  
		#500;
		reset=1;

		#900;
		interrupt=1;
		
		#1000;
		interrupt=0;
		ins = 24'h000008;
		
		#1000;
		ins=24'hc00008;
		
		#2000;
		ins=24'h800008;
		flag_ex=4'h0;
		
		#1000;
		ins=24'hf00008;
		
		
		

		

	end
	 initial begin 
		clk=0;
		#500
		forever begin
			clk=~clk;
			#500;
		end
	end
	
endmodule