data/full_repos/permissive/2084115/rtl/primitive/jelly_multiplexer4.v
1: b'%Warning-WIDTH: data/full_repos/permissive/2084115/rtl/primitive/jelly_multiplexer4.v:26: Operator EQ expects 56 bits on the LHS, but LHS\'s VARREF \'DEVICE\' generates 24 bits.\n                                                                                        : ... In instance jelly_multiplexer4\n    if ( DEVICE == "VIRTEX6" || DEVICE == "SPARTAN6" || DEVICE == "7SERIES" ) begin : blk_lut6\n                ^~\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/2084115/rtl/primitive/jelly_multiplexer4.v:26: Operator EQ expects 64 bits on the LHS, but LHS\'s VARREF \'DEVICE\' generates 24 bits.\n                                                                                        : ... In instance jelly_multiplexer4\n    if ( DEVICE == "VIRTEX6" || DEVICE == "SPARTAN6" || DEVICE == "7SERIES" ) begin : blk_lut6\n                                       ^~\n%Warning-WIDTH: data/full_repos/permissive/2084115/rtl/primitive/jelly_multiplexer4.v:26: Operator EQ expects 56 bits on the LHS, but LHS\'s VARREF \'DEVICE\' generates 24 bits.\n                                                                                        : ... In instance jelly_multiplexer4\n    if ( DEVICE == "VIRTEX6" || DEVICE == "SPARTAN6" || DEVICE == "7SERIES" ) begin : blk_lut6\n                                                               ^~\n%Error: Exiting due to 3 warning(s)\n'
module jelly_multiplexer4
        #(
            parameter   DEVICE = "RTL"
        )
        (
            output  wire            o,
            input   wire    [3:0]   i,
            input   wire    [1:0]   s
        );
    
    generate
    if ( DEVICE == "VIRTEX6" || DEVICE == "SPARTAN6" || DEVICE == "7SERIES" ) begin : blk_lut6
        LUT6
                #(
                    .INIT(64'hFF00F0F0CCCCAAAA)
                )
            i_lut6
                (
                    .O      (o),
                    .I0     (i[0]),
                    .I1     (i[1]),
                    .I2     (i[2]),
                    .I3     (i[3]),
                    .I4     (s[0]),
                    .I5     (s[1])
                );
    end
    else  begin : blk_rtl
        assign o = i[s];
    end
    endgenerate
    
    
endmodule
module jelly_multiplexer4
        #(
            parameter   DEVICE = "RTL"
        )
        (
            output  wire            o,
            input   wire    [3:0]   i,
            input   wire    [1:0]   s
        );

    
    generate
    if ( DEVICE == "VIRTEX6" || DEVICE == "SPARTAN6" || DEVICE == "7SERIES" ) begin : blk_lut6
        LUT6
                #(
                    .INIT(64'hFF00F0F0CCCCAAAA)
                )
            i_lut6
                (
                    .O      (o),
                    .I0     (i[0]),
                    .I1     (i[1]),
                    .I2     (i[2]),
                    .I3     (i[3]),
                    .I4     (s[0]),
                    .I5     (s[1])
                );
    end
    else  begin : blk_rtl
        assign o = i[s];
    end
    endgenerate
    
    
endmodule