Wire cells¶
- yosys> help $concat¶
Concatenation of inputs into a single output ( Y = {B, A} ).
- Properties:
- Simulation model (verilog)¶
1503module \$concat (A, B, Y); 1504 1505 parameter A_WIDTH = 0; 1506 parameter B_WIDTH = 0; 1507 1508 input [A_WIDTH-1:0] A; 1509 input [B_WIDTH-1:0] B; 1510 output [A_WIDTH+B_WIDTH-1:0] Y; 1511 1512 assign Y = {B, A}; 1513 1514endmodule