mirror of https://github.com/YosysHQ/yosys.git
14 lines
145 B
Plaintext
14 lines
145 B
Plaintext
|
read_verilog << EOF
|
||
|
module top(...);
|
||
|
input A1, A2, B, S;
|
||
|
output O;
|
||
|
|
||
|
assign O = S ? (A1 & B) : (A2 & B);
|
||
|
|
||
|
endmodule
|
||
|
EOF
|
||
|
|
||
|
simplemap
|
||
|
opt_share
|
||
|
dump
|