data/full_repos/permissive/493019833/test/testcase/firrtl/FixedPointShifter/reference/FixedPointShifter.v
data/verilator_xmls/ff343b37-6295-4f2b-9e1d-fcdb55b26572.xml
module FixedPointShifter(
    input clock,
    input reset,
    input [7:0] io_inValue,
    input [2:0] io_dynamicShiftValue,
    output [16:0] io_shiftLeftResult,
    output [7:0] io_dynamicShiftRightResult,
    output [14:0] io_dynamicShiftLeftResult
);
    wire [16:0] _T_7;
    SHL_SIGNED #(.width(8), .n(9)) s_shl_1 (
        .y(_T_7),
        .in(io_inValue)
    );
    wire [14:0] _T_8;
    DSHL_SIGNED #(.width_in(8), .width_n(3)) s_dshl_2 (
        .y(_T_8),
        .in(io_inValue),
        .n(io_dynamicShiftValue)
    );
    wire [7:0] _T_9;
    DSHR_SIGNED #(.width_in(8), .width_n(3)) s_dshr_3 (
        .y(_T_9),
        .in(io_inValue),
        .n(io_dynamicShiftValue)
    );
    assign io_dynamicShiftLeftResult = _T_8;
    assign io_dynamicShiftRightResult = _T_9;
    assign io_shiftLeftResult = _T_7;
endmodule
module FixedPointShifter(
    input clock,
    input reset,
    input [7:0] io_inValue,
    input [2:0] io_dynamicShiftValue,
    output [16:0] io_shiftLeftResult,
    output [7:0] io_dynamicShiftRightResult,
    output [14:0] io_dynamicShiftLeftResult
);

    wire [16:0] _T_7;
    SHL_SIGNED #(.width(8), .n(9)) s_shl_1 (
        .y(_T_7),
        .in(io_inValue)
    );
    wire [14:0] _T_8;
    DSHL_SIGNED #(.width_in(8), .width_n(3)) s_dshl_2 (
        .y(_T_8),
        .in(io_inValue),
        .n(io_dynamicShiftValue)
    );
    wire [7:0] _T_9;
    DSHR_SIGNED #(.width_in(8), .width_n(3)) s_dshr_3 (
        .y(_T_9),
        .in(io_inValue),
        .n(io_dynamicShiftValue)
    );
    assign io_dynamicShiftLeftResult = _T_8;
    assign io_dynamicShiftRightResult = _T_9;
    assign io_shiftLeftResult = _T_7;
endmodule