mirror of
https://github.com/YosysHQ/yosys
synced 2026-03-23 12:59:15 +00:00
10 lines
155 B
Verilog
10 lines
155 B
Verilog
module add_mixed_widths(
|
|
input [7:0] a,
|
|
input [3:0] b,
|
|
input [15:0] c,
|
|
input [7:0] d,
|
|
output [15:0] y
|
|
);
|
|
assign y = a + b + c + d;
|
|
endmodule
|
|
|