mirror of https://github.com/YosysHQ/yosys.git
8 lines
187 B
Plaintext
8 lines
187 B
Plaintext
|
read_verilog -icells << EOT
|
||
|
module top(input I, output O);
|
||
|
$pmux #(.WIDTH(1), .S_WIDTH(2)) m (.S({I, 1'b0}), .A(1'b0), .B({I, 1'b0}), .Y(O));
|
||
|
endmodule
|
||
|
EOT
|
||
|
|
||
|
equiv_opt -assert opt_muxtree
|