data/full_repos/permissive/220229160/dsp-ff-plugin/tests/nexus_mult/nexus_mult.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/220229160/dsp-ff-plugin/tests/nexus_mult/nexus_mult.v:40: 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 \'mult_ireg\'\nmodule mult_ireg (\n       ^~~~~~~~~\n                                                                                                      : ... Top module \'mult_oreg\'\nmodule mult_oreg (\n       ^~~~~~~~~\n                                                                                                      : ... Top module \'mult_all\'\nmodule mult_all (\n       ^~~~~~~~\n                                                                                                      : ... Top module \'mult_ctrl\'\nmodule mult_ctrl (\n       ^~~~~~~~~\n%Error: data/full_repos/permissive/220229160/dsp-ff-plugin/tests/nexus_mult/nexus_mult.v:110: Cannot find file containing module: \'MULT9X9\'\n    MULT9X9 # (\n    ^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/220229160/dsp-ff-plugin/tests/nexus_mult,data/full_repos/permissive/220229160/MULT9X9\n             data/full_repos/permissive/220229160/dsp-ff-plugin/tests/nexus_mult,data/full_repos/permissive/220229160/MULT9X9.v\n             data/full_repos/permissive/220229160/dsp-ff-plugin/tests/nexus_mult,data/full_repos/permissive/220229160/MULT9X9.sv\n             MULT9X9\n             MULT9X9.v\n             MULT9X9.sv\n             obj_dir/MULT9X9\n             obj_dir/MULT9X9.v\n             obj_dir/MULT9X9.sv\n%Error: data/full_repos/permissive/220229160/dsp-ff-plugin/tests/nexus_mult/nexus_mult.v:82: Cannot find file containing module: \'MULT9X9\'\n    MULT9X9 # (\n    ^~~~~~~\n%Error: data/full_repos/permissive/220229160/dsp-ff-plugin/tests/nexus_mult/nexus_mult.v:51: Cannot find file containing module: \'MULT9X9\'\n    MULT9X9 # (\n    ^~~~~~~\n%Error: data/full_repos/permissive/220229160/dsp-ff-plugin/tests/nexus_mult/nexus_mult.v:28: Cannot find file containing module: \'MULT9X9\'\n    MULT9X9 # (\n    ^~~~~~~\n%Error: Exiting due to 4 error(s), 1 warning(s)\n'
module mult_ctrl (
    input  wire        CLK,
    input  wire [ 8:0] A,
    input  wire        SA,
    input  wire [ 8:0] B,
    output wire [17:0] Z
);

    reg [8:0] ra;
    reg       rsa;

    always @(posedge CLK) begin
        ra  <= A;
        rsa <= SA;
    end

    MULT9X9 # (
        .REGINPUTA("BYPASS"),
        .REGINPUTB("BYPASS"),
        .REGOUTPUT("BYPASS")
    ) mult (
        .A          (ra),
        .SIGNEDA    (rsa),
        .B          (B),
        .Z          (Z)
    );

endmodule
module mult_ctrl (
    input  wire        CLK,
    input  wire [ 8:0] A,
    input  wire        SA,
    input  wire [ 8:0] B,
    output wire [17:0] Z
);


    reg [8:0] ra;
    reg       rsa;

    always @(posedge CLK) begin
        ra  <= A;
        rsa <= SA;
    end

    MULT9X9 # (
        .REGINPUTA("BYPASS"),
        .REGINPUTB("BYPASS"),
        .REGOUTPUT("BYPASS")
    ) mult (
        .A          (ra),
        .SIGNEDA    (rsa),
        .B          (B),
        .Z          (Z)
    );

endmodule