data/full_repos/permissive/162533945/multdiv.v
1: b"%Error: data/full_repos/permissive/162533945/multdiv.v:256: Cannot find file containing module: 'dffe_ref'\n dffe_ref dff0(.q(q0), .d(nq0), .clk(clk), .en(1'b1), .clr(reset));\n ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/162533945,data/full_repos/permissive/162533945/dffe_ref\n             data/full_repos/permissive/162533945,data/full_repos/permissive/162533945/dffe_ref.v\n             data/full_repos/permissive/162533945,data/full_repos/permissive/162533945/dffe_ref.sv\n             dffe_ref\n             dffe_ref.v\n             dffe_ref.sv\n             obj_dir/dffe_ref\n             obj_dir/dffe_ref.v\n             obj_dir/dffe_ref.sv\n%Error: data/full_repos/permissive/162533945/multdiv.v:261: Cannot find file containing module: 'dffe_ref'\n dffe_ref dff1(.q(q1), .d(nq1), .clk(nq0), .en(1'b1), .clr(reset));\n ^~~~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:266: Cannot find file containing module: 'dffe_ref'\n dffe_ref dff2(.q(q2), .d(nq2), .clk(nq1), .en(1'b1), .clr(reset));\n ^~~~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:271: Cannot find file containing module: 'dffe_ref'\n dffe_ref dff3(.q(q3), .d(nq3), .clk(nq2), .en(1'b1), .clr(reset));\n ^~~~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:276: Cannot find file containing module: 'dffe_ref'\n dffe_ref dff4(.q(q4), .d(nq4), .clk(nq3), .en(1'b1), .clr(reset));\n ^~~~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:281: Cannot find file containing module: 'dffe_ref'\n dffe_ref dff5(.q(q5), .d(nq5), .clk(nq4), .en(1'b1), .clr(reset));\n ^~~~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:222: Cannot find file containing module: 'dffe_ref'\n dffe_ref dff0(.q(q0), .d(nq0), .clk(clk), .en(1'b1), .clr(reset));\n ^~~~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:227: Cannot find file containing module: 'dffe_ref'\n dffe_ref dff1(.q(q1), .d(nq1), .clk(nq0), .en(1'b1), .clr(reset));\n ^~~~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:232: Cannot find file containing module: 'dffe_ref'\n dffe_ref dff2(.q(q2), .d(nq2), .clk(nq1), .en(1'b1), .clr(reset));\n ^~~~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:237: Cannot find file containing module: 'dffe_ref'\n dffe_ref dff3(.q(q3), .d(nq3), .clk(nq2), .en(1'b1), .clr(reset));\n ^~~~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:242: Cannot find file containing module: 'dffe_ref'\n dffe_ref dff4(.q(q4), .d(nq4), .clk(nq3), .en(1'b1), .clr(reset));\n ^~~~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:56: Cannot find file containing module: 'mux_2to1_1bit'\n   mux_2to1_1bit mux_bitwise(.a(a[i]), .b(b[i]), .sel(sel), .out(out[i]));\n   ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:292: Cannot find file containing module: 'adder'\n adder negate(.x(~in), .y(32'b1), .out(out), .sub(1'b0));\n ^~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:184: Cannot find file containing module: 'reg_32'\n reg_32 divisor_readin(.in(divisor), .out(divisor_readout), .write_enable(start), .clk(clk), .reset(1'b0));\n ^~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:190: Cannot find file containing module: 'reg_32'\n reg_32 quotient(.in(quotient_in), .out(quotient_out), .write_enable(1'b1), .clk(clk), .reset(1'b0));\n ^~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:191: Cannot find file containing module: 'reg_32'\n reg_32 remainder(.in(remainder_in), .out(remainder_out), .write_enable(1'b1), .clk(clk), .reset(start));\n ^~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:196: Cannot find file containing module: 'adder'\n adder subtractor(.x(remainder_out), .y(sub_operand2), .sub(1'b1), .out(sub_result));\n ^~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:76: Cannot find file containing module: 'reg_32'\n reg_32 multplcd_readin(.in(multplcd), .out(multplcd_readout), .write_enable(start), .clk(clk), .reset(1'b0));\n ^~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:79: Cannot find file containing module: 'dffe_ref'\n dffe_ref ovf_shift_same_sign(.q(same_sign), .d((multplcd[31] & multplr[31]) | ((~multplcd[31]) & (~multplr[31]))), .clk(clk), .en(start), .clr(1'b0));\n ^~~~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:94: Cannot find file containing module: 'dffe_ref'\n  dffe_ref zero_dff_cand(.q(isZero_multiplicand), .d(isZero_multiplicand_in), .clk(clk), .en(start), .clr(1'b0));\n  ^~~~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:95: Cannot find file containing module: 'dffe_ref'\n  dffe_ref zero_dff_lier(.q(isZero_multiplier), .d(isZero_multiplier_in), .clk(clk), .en(start), .clr(1'b0));\n  ^~~~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:101: Cannot find file containing module: 'reg_32'\n reg_32 product_1(.in(wprod_1_in_after_mux), .out(wprod_1_out), .write_enable(1'b1), .clk(clk), .reset(1'b0));\n ^~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:102: Cannot find file containing module: 'reg_32'\n reg_32 product_2(.in(wprod_2_in), .out(wprod_2_out), .write_enable(1'b1), .clk(clk), .reset(start));\n ^~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:111: Cannot find file containing module: 'dffe_ref'\n dffe_ref ovf_shift_dff(.q(overflow_shift), .d(1'b1), .clk(clk), .en(overflow_shift_temp), .clr(start));\n ^~~~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:127: Cannot find file containing module: 'adder'\n adder addsub(.x(wprod_2_out), .y(addsub_operand1), .sub(isSub), .out(addsub_result));\n ^~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:130: Cannot find file containing module: 'dffe_ref'\n dffe_ref ovf_addsub_dff(.q(overflow_addsub), .d(1'b1), .clk(clk), .en(overflow_addsub_temp), .clr(start));\n ^~~~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:158: Cannot find file containing module: 'dffe_ref'\n dffe_ref helper_bit(.q(helper), .d(wprod_1_out[1]), .clk(clk), .en(1'b1), .clr(start));\n ^~~~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:10: Cannot find file containing module: 'dffe_ref'\n  dffe_ref isMult_dff(.q(isMult), .d(ctrl_MULT), .clk(clock), .en(ctrl_MULT | ctrl_DIV), .clr(1'b0));\n  ^~~~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:11: Cannot find file containing module: 'dffe_ref'\n  dffe_ref isDiv_dff(.q(isDiv), .d(ctrl_DIV), .clk(clock), .en(ctrl_MULT | ctrl_DIV));\n  ^~~~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:14: Cannot find file containing module: 'dffe_ref'\n  dffe_ref zero_dff(.q(isDivByZero), .d(zero), .clk(clock), .en(ctrl_DIV));\n  ^~~~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:35: Cannot find file containing module: 'dffe_ref'\n  dffe_ref div_sign_dff(.q(div_result_sign_final), .d(div_result_sign), .clk(clock), .en(ctrl_DIV));\n  ^~~~~~~~\n%Error: data/full_repos/permissive/162533945/multdiv.v:41: Cannot find file containing module: 'mux_2to1_1bit'\n  mux_2to1_1bit mux_rdy(.a(div_rdy), .b(mult_rdy), .sel(isMult), .out(data_resultRDY_intermediate));\n  ^~~~~~~~~~~~~\n%Error: Exiting due to 32 error(s)\n"
module mux_2to1_32bit(a, b, sel, out);
	
	input [31:0] a, b;
	input sel;
	output [31:0] out;
	
	genvar i;
	generate
		for (i=0; i<32; i=i+1) begin: mux_32
			mux_2to1_1bit mux_bitwise(.a(a[i]), .b(b[i]), .sel(sel), .out(out[i]));
		end
	endgenerate

endmodule
module mux_2to1_32bit(a, b, sel, out);

	
	input [31:0] a, b;
	input sel;
	output [31:0] out;
	
	genvar i;
	generate
		for (i=0; i<32; i=i+1) begin: mux_32
			mux_2to1_1bit mux_bitwise(.a(a[i]), .b(b[i]), .sel(sel), .out(out[i]));
		end
	endgenerate

endmodule