data/full_repos/permissive/493019833/test/testcase/firrtl/FixedPointShifter/reference/FixedPointShifter.v
data/verilator_xmls/ff343b37-6295-4f2b-9e1d-fcdb55b26572.xml
module SHL_SIGNED(y, in);
    parameter width = 4;
    parameter n = 4;
    output [width+n-1:0] y;
    input [width-1:0] in;
    wire [width+n-1:0] temp;
    assign temp = {{n{in[width-1]}}, in};
    assign y = $signed(temp) << n;
endmodule
module SHL_SIGNED(y, in);

    parameter width = 4;
    parameter n = 4;
    output [width+n-1:0] y;
    input [width-1:0] in;
    wire [width+n-1:0] temp;
    assign temp = {{n{in[width-1]}}, in};
    assign y = $signed(temp) << n;
endmodule