Wire cells

yosys> help $concat

Concatenation of inputs into a single output ( Y = {B, A} ).

Properties:

is_evaluable

Simulation model (verilog)
Listing 248 simlib.v
1648module \$concat (A, B, Y);
1649
1650    parameter A_WIDTH = 0;
1651    parameter B_WIDTH = 0;
1652
1653    input [A_WIDTH-1:0] A;
1654    input [B_WIDTH-1:0] B;
1655    output [A_WIDTH+B_WIDTH-1:0] Y;
1656
1657    assign Y = {B, A};
1658
1659endmodule
yosys> help $connect
Simulation model (verilog)
Listing 249 simlib.v
3255module \$connect (A, B);
3256
3257    parameter WIDTH = 0;
3258
3259    inout [WIDTH-1:0] A;
3260    inout [WIDTH-1:0] B;
3261
3262    tran connect[WIDTH-1:0] (A, B);
3263
3264endmodule
yosys> help $input_port
Simulation model (verilog)
Listing 250 simlib.v
3269module \$input_port (Y);
3270
3271    parameter WIDTH = 0;
3272
3273    inout [WIDTH-1:0] Y;
3274
3275endmodule
yosys> help $slice
Properties:

is_evaluable

Simulation model (verilog)
Listing 251 simlib.v
1627module \$slice (A, Y);
1628
1629    parameter OFFSET = 0;
1630    parameter A_WIDTH = 0;
1631    parameter Y_WIDTH = 0;
1632
1633    input [A_WIDTH-1:0] A;
1634    output [Y_WIDTH-1:0] Y;
1635
1636    assign Y = A >> OFFSET;
1637
1638endmodule