data/full_repos/permissive/184916587/OLD/Decoder.v
 line:167: before: "module"
1: b'%Error: Unsupported: module decls within module decls\n%Error: data/full_repos/permissive/184916587/OLD/Decoder.v:178: syntax error, unexpected $end\n%Error: Cannot continue\n        ... See the manual and https://verilator.org for more assistance.\n'
module decoder(
	input[31:0] instr,

	output[6:0] type_code,
	output[9:0] alu_op,
	output[4:0] rs1,
	output[4:0] rs2,
	output[4:0] rd
);

	typecode_decoder tc_dec(
		.instr(instr),
		.type_code(type_code),
		.alu_op(alu_op),
		.rs1(rs1),
		.rs2(rs2),
		.rd(rd),
		.R_alu_op_out(),
		.R_rs1_out(),
		.R_rs2_out(),
		.R_rd_out()
	);
endmodule
module decoder(
	input[31:0] instr,

	output[6:0] type_code,
	output[9:0] alu_op,
	output[4:0] rs1,
	output[4:0] rs2,
	output[4:0] rd
);


	typecode_decoder tc_dec(
		.instr(instr),
		.type_code(type_code),
		.alu_op(alu_op),
		.rs1(rs1),
		.rs2(rs2),
		.rd(rd),
		.R_alu_op_out(),
		.R_rs1_out(),
		.R_rs2_out(),
		.R_rd_out()
	);
endmodule