mirror of
https://github.com/YosysHQ/yosys
synced 2026-01-19 08:43:20 +00:00
10 lines
194 B
Verilog
10 lines
194 B
Verilog
module json_param_defaults #(
|
|
parameter WIDTH = 8,
|
|
parameter SIGNED = 1
|
|
) (
|
|
input [WIDTH-1:0] a,
|
|
output [WIDTH-1:0] y
|
|
);
|
|
wire [WIDTH-1:0] y_int = a << SIGNED;
|
|
assign y = y_int;
|
|
endmodule
|