RVSCC/src/Extend.sv

13 lines
182 B
Systemverilog
Raw Normal View History

2022-11-26 10:44:00 +00:00
`timescale 1ns / 1ps
module Extend
#(
parameter N_IN = 12,
parameter N_OUT = 32
) (
input logic enable,
input logic[N_IN-1:0] imm,
output logic[N_OUT-1:0] imm_ext
);
endmodule