data/full_repos/permissive/162533945/processor_tb.v
1: b"%Error: data/full_repos/permissive/162533945/processor_tb.v:20: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:22: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:28: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:30: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:36: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:38: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:44: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:46: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:52: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:54: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:60: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:62: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:68: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:70: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:76: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:78: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:84: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:86: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:92: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:94: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:100: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:102: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:108: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:110: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:116: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:118: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:124: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:126: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:132: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:134: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:140: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:142: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:148: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:150: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:156: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:158: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:164: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:166: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:172: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:174: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:180: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:182: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:188: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:190: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:196: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:198: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:204: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:206: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:212: syntax error, unexpected '@'\n   @(negedge clock);\n   ^\n%Error: data/full_repos/permissive/162533945/processor_tb.v:214: syntax error, unexpected '@'\n   @(posedge clock);\n   ^\n%Error: Exiting due to too many errors encountered; --error-limit=50\n"
module processor_tb();

	
	reg clock, reset;
	wire [31:0] alu_result, data_writeReg, data_readRegA, data_readRegB, 
	imm_sx, inst_exec, q_imem, alu_data_inA, alu_data_inB;
	wire [11:0] address_imem;
	wire ctrl_writeEnable;
	wire [4:0] ctrl_writeReg;

	skeleton sk(clock, reset);
	
	initial
	
		begin
			clock = 1'b0;
			reset = 1'b1;
			@(posedge clock);
			reset = 1'b0;
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			$stop;
		end
	
	always 
		#10 clock = ~clock;

endmodule
module processor_tb();


	
	reg clock, reset;
	wire [31:0] alu_result, data_writeReg, data_readRegA, data_readRegB, 
	imm_sx, inst_exec, q_imem, alu_data_inA, alu_data_inB;
	wire [11:0] address_imem;
	wire ctrl_writeEnable;
	wire [4:0] ctrl_writeReg;

	skeleton sk(clock, reset);
	
	initial
	
		begin
			clock = 1'b0;
			reset = 1'b1;
			@(posedge clock);
			reset = 1'b0;
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			@(posedge clock);
			$display("address_imem: %d", address_imem);
			$display("alu_result: %b", alu_result);
			$display("alu_data_inA: %b, alu_data_inB: %b", alu_data_inA, alu_data_inB);
			$display("rd: %b", data_writeReg);
			$display("ctrl_writeReg: %b, ctrl_writeEnable: %b", ctrl_writeReg, ctrl_writeEnable);
			@(negedge clock);
			$display("q_imem: %b", q_imem);
			$stop;
		end
	
	always 
		#10 clock = ~clock;

endmodule