data/full_repos/permissive/493019833/test/testcase/firrtl/DspComplexExamplesTester/reference/DspComplexExamplesTester.v
1: b'%Warning-WIDTH: data/full_repos/permissive/493019833/test/testcase/firrtl/DspComplexExamplesTester/reference/DspComplexExamplesTester.v:452: Operator COND expects 5 bits on the Conditional False, but Conditional False\'s VARREF \'in\' generates 1 bits.\n                                                                                                                                           : ... In instance DspComplexExamplesTester.s_pad_39\n    assign y = n > width ? {{(n - width){in[width-1]}}, in} : in;\n                         ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/493019833/test/testcase/firrtl/DspComplexExamplesTester/reference/DspComplexExamplesTester.v:452: Operator COND expects 5 bits on the Conditional False, but Conditional False\'s VARREF \'in\' generates 2 bits.\n                                                                                                                                           : ... In instance DspComplexExamplesTester.s_pad_44\n    assign y = n > width ? {{(n - width){in[width-1]}}, in} : in;\n                         ^\n%Warning-WIDTH: data/full_repos/permissive/493019833/test/testcase/firrtl/DspComplexExamplesTester/reference/DspComplexExamplesTester.v:452: Operator COND expects 5 bits on the Conditional False, but Conditional False\'s VARREF \'in\' generates 4 bits.\n                                                                                                                                           : ... In instance DspComplexExamplesTester.s_pad_49\n    assign y = n > width ? {{(n - width){in[width-1]}}, in} : in;\n                         ^\n%Warning-WIDTH: data/full_repos/permissive/493019833/test/testcase/firrtl/DspComplexExamplesTester/reference/DspComplexExamplesTester.v:452: Operator COND expects 5 bits on the Conditional False, but Conditional False\'s VARREF \'in\' generates 3 bits.\n                                                                                                                                           : ... In instance DspComplexExamplesTester.s_pad_71\n    assign y = n > width ? {{(n - width){in[width-1]}}, in} : in;\n                         ^\n%Warning-WIDTH: data/full_repos/permissive/493019833/test/testcase/firrtl/DspComplexExamplesTester/reference/DspComplexExamplesTester.v:452: Operator COND expects 2 bits on the Conditional False, but Conditional False\'s VARREF \'in\' generates 1 bits.\n                                                                                                                                           : ... In instance DspComplexExamplesTester.dut.s_pad_1\n    assign y = n > width ? {{(n - width){in[width-1]}}, in} : in;\n                         ^\n%Warning-WIDTH: data/full_repos/permissive/493019833/test/testcase/firrtl/DspComplexExamplesTester/reference/DspComplexExamplesTester.v:452: Operator COND expects 7 bits on the Conditional False, but Conditional False\'s VARREF \'in\' generates 6 bits.\n                                                                                                                                           : ... In instance DspComplexExamplesTester.dut.s_pad_17\n    assign y = n > width ? {{(n - width){in[width-1]}}, in} : in;\n                         ^\n%Error: Exiting due to 6 warning(s)\n'
module DspComplexExamplesTester(
    input clock,
    input reset
);
    wire _dut__clock;
    wire _dut__reset;
    wire [4:0] _dut__io_in_real;
    wire [4:0] _dut__io_in_imag;
    wire [4:0] _dut__io_outJ_real;
    wire [4:0] _dut__io_outJ_imag;
    wire [4:0] _dut__io_inByJ_real;
    wire [4:0] _dut__io_inByJ_imag;
    wire [4:0] _dut__io_inByJShortcut_real;
    wire [4:0] _dut__io_inByJShortcut_imag;
    DspComplexExamples dut (
        .clock(_dut__clock),
        .reset(_dut__reset),
        .io_in_real(_dut__io_in_real),
        .io_in_imag(_dut__io_in_imag),
        .io_outJ_real(_dut__io_outJ_real),
        .io_outJ_imag(_dut__io_outJ_imag),
        .io_inByJ_real(_dut__io_inByJ_real),
        .io_inByJ_imag(_dut__io_inByJ_imag),
        .io_inByJShortcut_real(_dut__io_inByJShortcut_real),
        .io_inByJShortcut_imag(_dut__io_inByJShortcut_imag)
    );
    wire _T_4;
    BITS #(.width(1), .high(0), .low(0)) bits_31 (
        .y(_T_4),
        .in(reset)
    );
    wire _T_6;
    EQ_UNSIGNED #(.width(1)) u_eq_32 (
        .y(_T_6),
        .a(_T_4),
        .b(1'h0)
    );
    wire _T_7;
    BITS #(.width(1), .high(0), .low(0)) bits_33 (
        .y(_T_7),
        .in(reset)
    );
    wire _T_9;
    EQ_UNSIGNED #(.width(1)) u_eq_34 (
        .y(_T_9),
        .a(_T_7),
        .b(1'h0)
    );
    wire _T_10;
    BITS #(.width(1), .high(0), .low(0)) bits_35 (
        .y(_T_10),
        .in(reset)
    );
    wire _T_12;
    EQ_UNSIGNED #(.width(1)) u_eq_36 (
        .y(_T_12),
        .a(_T_10),
        .b(1'h0)
    );
    wire _T_13;
    BITS #(.width(1), .high(0), .low(0)) bits_37 (
        .y(_T_13),
        .in(reset)
    );
    wire _T_15;
    EQ_UNSIGNED #(.width(1)) u_eq_38 (
        .y(_T_15),
        .a(_T_13),
        .b(1'h0)
    );
    wire _T_17;
    wire [4:0] _WTEMP_5;
    PAD_SIGNED #(.width(1), .n(5)) s_pad_39 (
        .y(_WTEMP_5),
        .in(1'sh0)
    );
    EQ_SIGNED #(.width(5)) s_eq_40 (
        .y(_T_17),
        .a(_dut__io_outJ_real),
        .b(_WTEMP_5)
    );
    wire _T_18;
    BITS #(.width(1), .high(0), .low(0)) bits_41 (
        .y(_T_18),
        .in(reset)
    );
    wire _T_19;
    BITWISEOR #(.width(1)) bitwiseor_42 (
        .y(_T_19),
        .a(_T_17),
        .b(_T_18)
    );
    wire _T_21;
    EQ_UNSIGNED #(.width(1)) u_eq_43 (
        .y(_T_21),
        .a(_T_19),
        .b(1'h0)
    );
    wire _T_23;
    wire [4:0] _WTEMP_6;
    PAD_SIGNED #(.width(2), .n(5)) s_pad_44 (
        .y(_WTEMP_6),
        .in(2'sh1)
    );
    EQ_SIGNED #(.width(5)) s_eq_45 (
        .y(_T_23),
        .a(_dut__io_outJ_imag),
        .b(_WTEMP_6)
    );
    wire _T_24;
    BITS #(.width(1), .high(0), .low(0)) bits_46 (
        .y(_T_24),
        .in(reset)
    );
    wire _T_25;
    BITWISEOR #(.width(1)) bitwiseor_47 (
        .y(_T_25),
        .a(_T_23),
        .b(_T_24)
    );
    wire _T_27;
    EQ_UNSIGNED #(.width(1)) u_eq_48 (
        .y(_T_27),
        .a(_T_25),
        .b(1'h0)
    );
    wire _T_29;
    wire [4:0] _WTEMP_7;
    PAD_SIGNED #(.width(4), .n(5)) s_pad_49 (
        .y(_WTEMP_7),
        .in(4'sh4)
    );
    EQ_SIGNED #(.width(5)) s_eq_50 (
        .y(_T_29),
        .a(_dut__io_inByJ_real),
        .b(_WTEMP_7)
    );
    wire _T_30;
    BITS #(.width(1), .high(0), .low(0)) bits_51 (
        .y(_T_30),
        .in(reset)
    );
    wire _T_31;
    BITWISEOR #(.width(1)) bitwiseor_52 (
        .y(_T_31),
        .a(_T_29),
        .b(_T_30)
    );
    wire _T_33;
    EQ_UNSIGNED #(.width(1)) u_eq_53 (
        .y(_T_33),
        .a(_T_31),
        .b(1'h0)
    );
    wire _T_35;
    wire [4:0] _WTEMP_8;
    PAD_SIGNED #(.width(4), .n(5)) s_pad_54 (
        .y(_WTEMP_8),
        .in(4'sh7)
    );
    EQ_SIGNED #(.width(5)) s_eq_55 (
        .y(_T_35),
        .a(_dut__io_inByJ_imag),
        .b(_WTEMP_8)
    );
    wire _T_36;
    BITS #(.width(1), .high(0), .low(0)) bits_56 (
        .y(_T_36),
        .in(reset)
    );
    wire _T_37;
    BITWISEOR #(.width(1)) bitwiseor_57 (
        .y(_T_37),
        .a(_T_35),
        .b(_T_36)
    );
    wire _T_39;
    EQ_UNSIGNED #(.width(1)) u_eq_58 (
        .y(_T_39),
        .a(_T_37),
        .b(1'h0)
    );
    wire _T_41;
    wire [4:0] _WTEMP_9;
    PAD_SIGNED #(.width(4), .n(5)) s_pad_59 (
        .y(_WTEMP_9),
        .in(4'sh4)
    );
    EQ_SIGNED #(.width(5)) s_eq_60 (
        .y(_T_41),
        .a(_dut__io_inByJShortcut_real),
        .b(_WTEMP_9)
    );
    wire _T_42;
    BITS #(.width(1), .high(0), .low(0)) bits_61 (
        .y(_T_42),
        .in(reset)
    );
    wire _T_43;
    BITWISEOR #(.width(1)) bitwiseor_62 (
        .y(_T_43),
        .a(_T_41),
        .b(_T_42)
    );
    wire _T_45;
    EQ_UNSIGNED #(.width(1)) u_eq_63 (
        .y(_T_45),
        .a(_T_43),
        .b(1'h0)
    );
    wire _T_47;
    wire [4:0] _WTEMP_10;
    PAD_SIGNED #(.width(4), .n(5)) s_pad_64 (
        .y(_WTEMP_10),
        .in(4'sh7)
    );
    EQ_SIGNED #(.width(5)) s_eq_65 (
        .y(_T_47),
        .a(_dut__io_inByJShortcut_imag),
        .b(_WTEMP_10)
    );
    wire _T_48;
    BITS #(.width(1), .high(0), .low(0)) bits_66 (
        .y(_T_48),
        .in(reset)
    );
    wire _T_49;
    BITWISEOR #(.width(1)) bitwiseor_67 (
        .y(_T_49),
        .a(_T_47),
        .b(_T_48)
    );
    wire _T_51;
    EQ_UNSIGNED #(.width(1)) u_eq_68 (
        .y(_T_51),
        .a(_T_49),
        .b(1'h0)
    );
    wire _T_52;
    BITS #(.width(1), .high(0), .low(0)) bits_69 (
        .y(_T_52),
        .in(reset)
    );
    wire _T_54;
    EQ_UNSIGNED #(.width(1)) u_eq_70 (
        .y(_T_54),
        .a(_T_52),
        .b(1'h0)
    );
    assign _dut__clock = clock;
    PAD_SIGNED #(.width(3), .n(5)) s_pad_71 (
        .y(_dut__io_in_imag),
        .in(-3'sh4)
    );
    PAD_SIGNED #(.width(4), .n(5)) s_pad_72 (
        .y(_dut__io_in_real),
        .in(4'sh7)
    );
    assign _dut__reset = reset;
endmodule
module DspComplexExamplesTester(
    input clock,
    input reset
);

    wire _dut__clock;
    wire _dut__reset;
    wire [4:0] _dut__io_in_real;
    wire [4:0] _dut__io_in_imag;
    wire [4:0] _dut__io_outJ_real;
    wire [4:0] _dut__io_outJ_imag;
    wire [4:0] _dut__io_inByJ_real;
    wire [4:0] _dut__io_inByJ_imag;
    wire [4:0] _dut__io_inByJShortcut_real;
    wire [4:0] _dut__io_inByJShortcut_imag;
    DspComplexExamples dut (
        .clock(_dut__clock),
        .reset(_dut__reset),
        .io_in_real(_dut__io_in_real),
        .io_in_imag(_dut__io_in_imag),
        .io_outJ_real(_dut__io_outJ_real),
        .io_outJ_imag(_dut__io_outJ_imag),
        .io_inByJ_real(_dut__io_inByJ_real),
        .io_inByJ_imag(_dut__io_inByJ_imag),
        .io_inByJShortcut_real(_dut__io_inByJShortcut_real),
        .io_inByJShortcut_imag(_dut__io_inByJShortcut_imag)
    );
    wire _T_4;
    BITS #(.width(1), .high(0), .low(0)) bits_31 (
        .y(_T_4),
        .in(reset)
    );
    wire _T_6;
    EQ_UNSIGNED #(.width(1)) u_eq_32 (
        .y(_T_6),
        .a(_T_4),
        .b(1'h0)
    );
    wire _T_7;
    BITS #(.width(1), .high(0), .low(0)) bits_33 (
        .y(_T_7),
        .in(reset)
    );
    wire _T_9;
    EQ_UNSIGNED #(.width(1)) u_eq_34 (
        .y(_T_9),
        .a(_T_7),
        .b(1'h0)
    );
    wire _T_10;
    BITS #(.width(1), .high(0), .low(0)) bits_35 (
        .y(_T_10),
        .in(reset)
    );
    wire _T_12;
    EQ_UNSIGNED #(.width(1)) u_eq_36 (
        .y(_T_12),
        .a(_T_10),
        .b(1'h0)
    );
    wire _T_13;
    BITS #(.width(1), .high(0), .low(0)) bits_37 (
        .y(_T_13),
        .in(reset)
    );
    wire _T_15;
    EQ_UNSIGNED #(.width(1)) u_eq_38 (
        .y(_T_15),
        .a(_T_13),
        .b(1'h0)
    );
    wire _T_17;
    wire [4:0] _WTEMP_5;
    PAD_SIGNED #(.width(1), .n(5)) s_pad_39 (
        .y(_WTEMP_5),
        .in(1'sh0)
    );
    EQ_SIGNED #(.width(5)) s_eq_40 (
        .y(_T_17),
        .a(_dut__io_outJ_real),
        .b(_WTEMP_5)
    );
    wire _T_18;
    BITS #(.width(1), .high(0), .low(0)) bits_41 (
        .y(_T_18),
        .in(reset)
    );
    wire _T_19;
    BITWISEOR #(.width(1)) bitwiseor_42 (
        .y(_T_19),
        .a(_T_17),
        .b(_T_18)
    );
    wire _T_21;
    EQ_UNSIGNED #(.width(1)) u_eq_43 (
        .y(_T_21),
        .a(_T_19),
        .b(1'h0)
    );
    wire _T_23;
    wire [4:0] _WTEMP_6;
    PAD_SIGNED #(.width(2), .n(5)) s_pad_44 (
        .y(_WTEMP_6),
        .in(2'sh1)
    );
    EQ_SIGNED #(.width(5)) s_eq_45 (
        .y(_T_23),
        .a(_dut__io_outJ_imag),
        .b(_WTEMP_6)
    );
    wire _T_24;
    BITS #(.width(1), .high(0), .low(0)) bits_46 (
        .y(_T_24),
        .in(reset)
    );
    wire _T_25;
    BITWISEOR #(.width(1)) bitwiseor_47 (
        .y(_T_25),
        .a(_T_23),
        .b(_T_24)
    );
    wire _T_27;
    EQ_UNSIGNED #(.width(1)) u_eq_48 (
        .y(_T_27),
        .a(_T_25),
        .b(1'h0)
    );
    wire _T_29;
    wire [4:0] _WTEMP_7;
    PAD_SIGNED #(.width(4), .n(5)) s_pad_49 (
        .y(_WTEMP_7),
        .in(4'sh4)
    );
    EQ_SIGNED #(.width(5)) s_eq_50 (
        .y(_T_29),
        .a(_dut__io_inByJ_real),
        .b(_WTEMP_7)
    );
    wire _T_30;
    BITS #(.width(1), .high(0), .low(0)) bits_51 (
        .y(_T_30),
        .in(reset)
    );
    wire _T_31;
    BITWISEOR #(.width(1)) bitwiseor_52 (
        .y(_T_31),
        .a(_T_29),
        .b(_T_30)
    );
    wire _T_33;
    EQ_UNSIGNED #(.width(1)) u_eq_53 (
        .y(_T_33),
        .a(_T_31),
        .b(1'h0)
    );
    wire _T_35;
    wire [4:0] _WTEMP_8;
    PAD_SIGNED #(.width(4), .n(5)) s_pad_54 (
        .y(_WTEMP_8),
        .in(4'sh7)
    );
    EQ_SIGNED #(.width(5)) s_eq_55 (
        .y(_T_35),
        .a(_dut__io_inByJ_imag),
        .b(_WTEMP_8)
    );
    wire _T_36;
    BITS #(.width(1), .high(0), .low(0)) bits_56 (
        .y(_T_36),
        .in(reset)
    );
    wire _T_37;
    BITWISEOR #(.width(1)) bitwiseor_57 (
        .y(_T_37),
        .a(_T_35),
        .b(_T_36)
    );
    wire _T_39;
    EQ_UNSIGNED #(.width(1)) u_eq_58 (
        .y(_T_39),
        .a(_T_37),
        .b(1'h0)
    );
    wire _T_41;
    wire [4:0] _WTEMP_9;
    PAD_SIGNED #(.width(4), .n(5)) s_pad_59 (
        .y(_WTEMP_9),
        .in(4'sh4)
    );
    EQ_SIGNED #(.width(5)) s_eq_60 (
        .y(_T_41),
        .a(_dut__io_inByJShortcut_real),
        .b(_WTEMP_9)
    );
    wire _T_42;
    BITS #(.width(1), .high(0), .low(0)) bits_61 (
        .y(_T_42),
        .in(reset)
    );
    wire _T_43;
    BITWISEOR #(.width(1)) bitwiseor_62 (
        .y(_T_43),
        .a(_T_41),
        .b(_T_42)
    );
    wire _T_45;
    EQ_UNSIGNED #(.width(1)) u_eq_63 (
        .y(_T_45),
        .a(_T_43),
        .b(1'h0)
    );
    wire _T_47;
    wire [4:0] _WTEMP_10;
    PAD_SIGNED #(.width(4), .n(5)) s_pad_64 (
        .y(_WTEMP_10),
        .in(4'sh7)
    );
    EQ_SIGNED #(.width(5)) s_eq_65 (
        .y(_T_47),
        .a(_dut__io_inByJShortcut_imag),
        .b(_WTEMP_10)
    );
    wire _T_48;
    BITS #(.width(1), .high(0), .low(0)) bits_66 (
        .y(_T_48),
        .in(reset)
    );
    wire _T_49;
    BITWISEOR #(.width(1)) bitwiseor_67 (
        .y(_T_49),
        .a(_T_47),
        .b(_T_48)
    );
    wire _T_51;
    EQ_UNSIGNED #(.width(1)) u_eq_68 (
        .y(_T_51),
        .a(_T_49),
        .b(1'h0)
    );
    wire _T_52;
    BITS #(.width(1), .high(0), .low(0)) bits_69 (
        .y(_T_52),
        .in(reset)
    );
    wire _T_54;
    EQ_UNSIGNED #(.width(1)) u_eq_70 (
        .y(_T_54),
        .a(_T_52),
        .b(1'h0)
    );
    assign _dut__clock = clock;
    PAD_SIGNED #(.width(3), .n(5)) s_pad_71 (
        .y(_dut__io_in_imag),
        .in(-3'sh4)
    );
    PAD_SIGNED #(.width(4), .n(5)) s_pad_72 (
        .y(_dut__io_in_real),
        .in(4'sh7)
    );
    assign _dut__reset = reset;
endmodule