data/full_repos/permissive/157490365/buildV1.0/stack2.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/157490365/buildV1.0/stack2.v:41: Multiple top level modules\n                                                                             : ... Suggest see manual; fix the duplicates, or use --top-module to select top.\n                   ... Use "/* verilator lint_off MULTITOP */" and lint_on around source to disable this message.\n                                                                             : ... Top module \'mux_16_2\'\nmodule mux_16_2(input wire [15:0] i0,i1, input wire op, output wire [15:0] out);\n       ^~~~~~~~\n                                                                             : ... Top module \'stack\'\nmodule stack(input wire clk, reset, push, pop, input wire [15:0] value_in, output wire [15:0] value_out);\n       ^~~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:2: Cannot find file containing module: \'mux4\'\n mux4 a0({i0[0],i1[0],i2[0],i3[0]}, op0, op1, out[0]);\n ^~~~\n        ... Looked in:\n             data/full_repos/permissive/157490365/buildV1.0,data/full_repos/permissive/157490365/mux4\n             data/full_repos/permissive/157490365/buildV1.0,data/full_repos/permissive/157490365/mux4.v\n             data/full_repos/permissive/157490365/buildV1.0,data/full_repos/permissive/157490365/mux4.sv\n             mux4\n             mux4.v\n             mux4.sv\n             obj_dir/mux4\n             obj_dir/mux4.v\n             obj_dir/mux4.sv\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:3: Cannot find file containing module: \'mux4\'\n mux4 a1({i0[1],i1[1],i2[1],i3[1]}, op0, op1, out[1]);\n ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:4: Cannot find file containing module: \'mux4\'\n mux4 a2({i0[2],i1[2],i2[2],i3[2]}, op0, op1, out[2]);\n ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:5: Cannot find file containing module: \'mux4\'\n mux4 a3({i0[3],i1[3],i2[3],i3[3]}, op0, op1, out[3]);\n ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:6: Cannot find file containing module: \'mux4\'\n mux4 a4({i0[4],i1[4],i2[4],i3[4]}, op0, op1, out[4]);\n ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:7: Cannot find file containing module: \'mux4\'\n mux4 a5({i0[5],i1[5],i2[5],i3[5]}, op0, op1, out[5]);\n ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:8: Cannot find file containing module: \'mux4\'\n mux4 a6({i0[6],i1[6],i2[6],i3[6]}, op0, op1, out[6]);\n ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:9: Cannot find file containing module: \'mux4\'\n mux4 a7({i0[7],i1[7],i2[7],i3[7]}, op0, op1, out[7]);\n ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:10: Cannot find file containing module: \'mux4\'\n mux4 a8({i0[8],i1[8],i2[8],i3[8]}, op0, op1, out[8]);\n ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:11: Cannot find file containing module: \'mux4\'\n mux4 a9({i0[9],i1[9],i2[9],i3[9]}, op0, op1, out[9]);\n ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:12: Cannot find file containing module: \'mux4\'\n mux4 a10({i0[10],i1[10],i2[10],i3[10]}, op0, op1, out[10]);\n ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:13: Cannot find file containing module: \'mux4\'\n mux4 a11({i0[11],i1[11],i2[11],i3[11]}, op0, op1, out[11]);\n ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:14: Cannot find file containing module: \'mux4\'\n mux4 a12({i0[12],i1[12],i2[12],i3[12]}, op0, op1, out[12]);\n ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:15: Cannot find file containing module: \'mux4\'\n mux4 a13({i0[13],i1[13],i2[13],i3[13]}, op0, op1, out[13]);\n ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:16: Cannot find file containing module: \'mux4\'\n mux4 a14({i0[14],i1[14],i2[14],i3[14]}, op0, op1, out[14]);\n ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:17: Cannot find file containing module: \'mux4\'\n mux4 a15({i0[15],i1[15],i2[15],i3[15]}, op0, op1, out[15]);\n ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:44: Cannot find file containing module: \'reg_file\'\n    reg_file rf0(clk, reset, 1\'b0, 3\'b000, 3\'bxxx, 3\'bxxx, 16\'bxxxxxxxxxxxxxxxx, current_top, d_care_0);\n    ^~~~~~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:52: Cannot find file containing module: \'fas16\'\n fas16 a1(16\'b0000000000000001, current_top[15:0], 1\'b0, incremented_address[15:0], carry_add);\n ^~~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:53: Cannot find file containing module: \'fas16\'\n fas16 a2(16\'b0000000000000001, current_top[15:0], 1\'b1, decremented_address[15:0], carry_sub);\n ^~~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:55: Cannot find file containing module: \'reg_file\'\n    reg_file rf2(clk, reset, 1\'b0, {current_top[2],current_top[1],current_top[0]}, 3\'bxxx, 3\'bxxx, 16\'bxxxxxxxxxxxxxxxx, value_out, d_care_0);\n    ^~~~~~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:65: Cannot find file containing module: \'reg_file\'\n    reg_file rf1(clk, reset, 1\'b1, 3\'bxxx, 3\'bxxx, 3\'b000, new_top, d_care_0, d_care_1);\n    ^~~~~~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:66: Cannot find file containing module: \'reg_file\'\n    reg_file rf7(clk, reset, push, 3\'bxxx, 3\'bxxx, {new_top[2],new_top[1],new_top[0]}, value_in, d_care_0, d_care_1);\n    ^~~~~~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:21: Cannot find file containing module: \'mux2\'\n    mux2 a0(i0[0],i1[0],op,out[0]);\n    ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:22: Cannot find file containing module: \'mux2\'\n    mux2 a1(i0[1],i1[1],op,out[1]);\n    ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:23: Cannot find file containing module: \'mux2\'\n    mux2 a2(i0[2],i1[2],op,out[2]);\n    ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:24: Cannot find file containing module: \'mux2\'\n    mux2 a3(i0[3],i1[3],op,out[3]);\n    ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:25: Cannot find file containing module: \'mux2\'\n    mux2 a4(i0[4],i1[4],op,out[4]);\n    ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:26: Cannot find file containing module: \'mux2\'\n    mux2 a5(i0[5],i1[5],op,out[5]);\n    ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:27: Cannot find file containing module: \'mux2\'\n    mux2 a6(i0[6],i1[6],op,out[6]);\n    ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:28: Cannot find file containing module: \'mux2\'\n    mux2 a7(i0[7],i1[7],op,out[7]);\n    ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:29: Cannot find file containing module: \'mux2\'\n    mux2 a8(i0[8],i1[8],op,out[8]);\n    ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:30: Cannot find file containing module: \'mux2\'\n    mux2 a9(i0[9],i1[9],op,out[9]);\n    ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:31: Cannot find file containing module: \'mux2\'\n    mux2 a10(i0[10],i1[10],op,out[10]);\n    ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:32: Cannot find file containing module: \'mux2\'\n    mux2 a11(i0[11],i1[11],op,out[11]);\n    ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:33: Cannot find file containing module: \'mux2\'\n    mux2 a12(i0[12],i1[12],op,out[12]);\n    ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:34: Cannot find file containing module: \'mux2\'\n    mux2 a13(i0[13],i1[13],op,out[13]);\n    ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:35: Cannot find file containing module: \'mux2\'\n    mux2 a14(i0[14],i1[14],op,out[14]);\n    ^~~~\n%Error: data/full_repos/permissive/157490365/buildV1.0/stack2.v:36: Cannot find file containing module: \'mux2\'\n    mux2 a15(i0[15],i1[15],op,out[15]);\n    ^~~~\n%Error: Exiting due to 38 error(s), 1 warning(s)\n'
module stack(input wire clk, reset, push, pop, input wire [15:0] value_in, output wire [15:0] value_out);

    wire [15:0] reset_write, current_top, d_care_0, d_care_1;
    reg_file rf0(clk, reset, 1'b0, 3'b000, 3'bxxx, 3'bxxx, 16'bxxxxxxxxxxxxxxxx, current_top, d_care_0);




    
    wire [15:0] incremented_address, decremented_address;
	wire carry_add, carry_sub;
	fas16 a1(16'b0000000000000001, current_top[15:0], 1'b0, incremented_address[15:0], carry_add);
	fas16 a2(16'b0000000000000001, current_top[15:0], 1'b1, decremented_address[15:0], carry_sub);

    reg_file rf2(clk, reset, 1'b0, {current_top[2],current_top[1],current_top[0]}, 3'bxxx, 3'bxxx, 16'bxxxxxxxxxxxxxxxx, value_out, d_care_0);

    wire [15:0] new_top;
    mux_16 m0(current_top, incremented_address, decremented_address, current_top, pop, push, new_top);






    reg_file rf1(clk, reset, 1'b1, 3'bxxx, 3'bxxx, 3'b000, new_top, d_care_0, d_care_1);
    reg_file rf7(clk, reset, push, 3'bxxx, 3'bxxx, {new_top[2],new_top[1],new_top[0]}, value_in, d_care_0, d_care_1);
endmodule
module stack(input wire clk, reset, push, pop, input wire [15:0] value_in, output wire [15:0] value_out);


    wire [15:0] reset_write, current_top, d_care_0, d_care_1;
    reg_file rf0(clk, reset, 1'b0, 3'b000, 3'bxxx, 3'bxxx, 16'bxxxxxxxxxxxxxxxx, current_top, d_care_0);




    
    wire [15:0] incremented_address, decremented_address;
	wire carry_add, carry_sub;
	fas16 a1(16'b0000000000000001, current_top[15:0], 1'b0, incremented_address[15:0], carry_add);
	fas16 a2(16'b0000000000000001, current_top[15:0], 1'b1, decremented_address[15:0], carry_sub);

    reg_file rf2(clk, reset, 1'b0, {current_top[2],current_top[1],current_top[0]}, 3'bxxx, 3'bxxx, 16'bxxxxxxxxxxxxxxxx, value_out, d_care_0);

    wire [15:0] new_top;
    mux_16 m0(current_top, incremented_address, decremented_address, current_top, pop, push, new_top);






    reg_file rf1(clk, reset, 1'b1, 3'bxxx, 3'bxxx, 3'b000, new_top, d_care_0, d_care_1);
    reg_file rf7(clk, reset, push, 3'bxxx, 3'bxxx, {new_top[2],new_top[1],new_top[0]}, value_in, d_care_0, d_care_1);
endmodule