mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-07 09:55:20 +00:00
Replace leftover `opt` example source/images with examples specific to the `opt_*` pass. Currently has images for `opt_expr`, `opt_merge`, `opt_muxtree`, and `opt_share`. Also includes some other TODO updates.
18 lines
242 B
Plaintext
18 lines
242 B
Plaintext
read_verilog <<EOT
|
|
|
|
module uut(
|
|
input a, b, c, d,
|
|
output y
|
|
);
|
|
assign y = a ? (a ? b : c) : d;
|
|
endmodule
|
|
|
|
EOT
|
|
|
|
copy uut after
|
|
opt_muxtree after
|
|
clean
|
|
|
|
show -format dot -prefix opt_muxtree_full -notitle -color cornflowerblue uut
|
|
|