data/full_repos/permissive/413230008/Binary-to-BCD/Code/Sources/csa_multiplier.v
1: b"%Error: data/full_repos/permissive/413230008/Binary-to-BCD/Code/Sources/csa_multiplier.v:30: Cannot find file containing module: 'mq_4bit'\n    mq_4bit and_q0 (m, q[0], m_q0);\n    ^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/413230008/Binary-to-BCD/Code/Sources,data/full_repos/permissive/413230008/mq_4bit\n             data/full_repos/permissive/413230008/Binary-to-BCD/Code/Sources,data/full_repos/permissive/413230008/mq_4bit.v\n             data/full_repos/permissive/413230008/Binary-to-BCD/Code/Sources,data/full_repos/permissive/413230008/mq_4bit.sv\n             mq_4bit\n             mq_4bit.v\n             mq_4bit.sv\n             obj_dir/mq_4bit\n             obj_dir/mq_4bit.v\n             obj_dir/mq_4bit.sv\n%Error: data/full_repos/permissive/413230008/Binary-to-BCD/Code/Sources/csa_multiplier.v:31: Cannot find file containing module: 'mq_4bit'\n    mq_4bit and_q1 (m, q[1], m_q1);\n    ^~~~~~~\n%Error: data/full_repos/permissive/413230008/Binary-to-BCD/Code/Sources/csa_multiplier.v:32: Cannot find file containing module: 'mq_4bit'\n    mq_4bit and_q2 (m, q[2], m_q2);\n    ^~~~~~~\n%Error: data/full_repos/permissive/413230008/Binary-to-BCD/Code/Sources/csa_multiplier.v:33: Cannot find file containing module: 'mq_4bit'\n    mq_4bit and_q3 (m, q[3], m_q3);\n    ^~~~~~~\n%Error: data/full_repos/permissive/413230008/Binary-to-BCD/Code/Sources/csa_multiplier.v:37: Cannot find file containing module: 'full_adder'\n    full_adder FA1(m_q0[1], m_q1[0], 0, p[1], w[1]);\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/413230008/Binary-to-BCD/Code/Sources/csa_multiplier.v:38: Cannot find file containing module: 'full_adder'\n    full_adder FA2(m_q0[2], m_q1[1], m_q2[0], w[2], w[3]);\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/413230008/Binary-to-BCD/Code/Sources/csa_multiplier.v:39: Cannot find file containing module: 'full_adder'\n    full_adder FA3(m_q0[3], m_q1[2], m_q2[1], w[4], w[5]);\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/413230008/Binary-to-BCD/Code/Sources/csa_multiplier.v:40: Cannot find file containing module: 'full_adder'\n    full_adder FA4(0, m_q1[3], m_q2[2], w[6], w[7]);\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/413230008/Binary-to-BCD/Code/Sources/csa_multiplier.v:42: Cannot find file containing module: 'full_adder'\n    full_adder FA5(w[2], 0, w[1], p[2], w[8]);\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/413230008/Binary-to-BCD/Code/Sources/csa_multiplier.v:43: Cannot find file containing module: 'full_adder'\n    full_adder FA6(w[4], m_q3[0], w[3], w[9], w[10]);\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/413230008/Binary-to-BCD/Code/Sources/csa_multiplier.v:44: Cannot find file containing module: 'full_adder'\n    full_adder FA7(w[6], m_q3[1], w[5], w[11], w[12]);\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/413230008/Binary-to-BCD/Code/Sources/csa_multiplier.v:45: Cannot find file containing module: 'full_adder'\n    full_adder FA8(m_q2[3], m_q3[2], w[7], w[13], w[14]);\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/413230008/Binary-to-BCD/Code/Sources/csa_multiplier.v:47: Cannot find file containing module: 'full_adder'\n    full_adder FA9(w[9], w[8], 0, p[3], w[15]);\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/413230008/Binary-to-BCD/Code/Sources/csa_multiplier.v:48: Cannot find file containing module: 'full_adder'\n    full_adder FA10(w[11], w[10], w[15], p[4], w[16]);\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/413230008/Binary-to-BCD/Code/Sources/csa_multiplier.v:49: Cannot find file containing module: 'full_adder'\n    full_adder FA11(w[13], w[12], w[16], p[5], w[17]);\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/413230008/Binary-to-BCD/Code/Sources/csa_multiplier.v:50: Cannot find file containing module: 'full_adder'\n    full_adder FA12(m_q3[3], w[14], w[17], p[6], p[7]);\n    ^~~~~~~~~~\n%Error: Exiting due to 16 error(s)\n"
module csa_multiplier(
input [3:0]m,q, 
output [7:0]p
);
    wire [17:1] w;
    wire [3:0] m_q0, m_q1, m_q2, m_q3;
    
    mq_4bit and_q0 (m, q[0], m_q0);
    mq_4bit and_q1 (m, q[1], m_q1);
    mq_4bit and_q2 (m, q[2], m_q2);
    mq_4bit and_q3 (m, q[3], m_q3);
    
    assign p[0] = m[0]&q[0];
    
    full_adder FA1(m_q0[1], m_q1[0], 0, p[1], w[1]);
    full_adder FA2(m_q0[2], m_q1[1], m_q2[0], w[2], w[3]);
    full_adder FA3(m_q0[3], m_q1[2], m_q2[1], w[4], w[5]);
    full_adder FA4(0, m_q1[3], m_q2[2], w[6], w[7]);
    
    full_adder FA5(w[2], 0, w[1], p[2], w[8]);
    full_adder FA6(w[4], m_q3[0], w[3], w[9], w[10]);
    full_adder FA7(w[6], m_q3[1], w[5], w[11], w[12]);
    full_adder FA8(m_q2[3], m_q3[2], w[7], w[13], w[14]);
    
    full_adder FA9(w[9], w[8], 0, p[3], w[15]);
    full_adder FA10(w[11], w[10], w[15], p[4], w[16]);
    full_adder FA11(w[13], w[12], w[16], p[5], w[17]);
    full_adder FA12(m_q3[3], w[14], w[17], p[6], p[7]);
    
    
    

    
endmodule
module csa_multiplier(
input [3:0]m,q, 
output [7:0]p
);

    wire [17:1] w;
    wire [3:0] m_q0, m_q1, m_q2, m_q3;
    
    mq_4bit and_q0 (m, q[0], m_q0);
    mq_4bit and_q1 (m, q[1], m_q1);
    mq_4bit and_q2 (m, q[2], m_q2);
    mq_4bit and_q3 (m, q[3], m_q3);
    
    assign p[0] = m[0]&q[0];
    
    full_adder FA1(m_q0[1], m_q1[0], 0, p[1], w[1]);
    full_adder FA2(m_q0[2], m_q1[1], m_q2[0], w[2], w[3]);
    full_adder FA3(m_q0[3], m_q1[2], m_q2[1], w[4], w[5]);
    full_adder FA4(0, m_q1[3], m_q2[2], w[6], w[7]);
    
    full_adder FA5(w[2], 0, w[1], p[2], w[8]);
    full_adder FA6(w[4], m_q3[0], w[3], w[9], w[10]);
    full_adder FA7(w[6], m_q3[1], w[5], w[11], w[12]);
    full_adder FA8(m_q2[3], m_q3[2], w[7], w[13], w[14]);
    
    full_adder FA9(w[9], w[8], 0, p[3], w[15]);
    full_adder FA10(w[11], w[10], w[15], p[4], w[16]);
    full_adder FA11(w[13], w[12], w[16], p[5], w[17]);
    full_adder FA12(m_q3[3], w[14], w[17], p[6], p[7]);
    
    
    

    
endmodule