Wire cells¶
- yosys> help $concat¶
Concatenation of inputs into a single output ( Y = {B, A} ).
- Properties:
- Simulation model (verilog)¶
1617module \$concat (A, B, Y); 1618 1619 parameter A_WIDTH = 0; 1620 parameter B_WIDTH = 0; 1621 1622 input [A_WIDTH-1:0] A; 1623 input [B_WIDTH-1:0] B; 1624 output [A_WIDTH+B_WIDTH-1:0] Y; 1625 1626 assign Y = {B, A}; 1627 1628endmodule