Download chips/yosys/docs/source/code_examples/opt/opt_muxtree.ys from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 239 Bytes
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/docs/source/code_examples/opt/opt_muxtree.ys
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/docs/source/code_examples/opt/opt_muxtree.ys
-
curl -L -o opt_muxtree.ys https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/docs/source/code_examples/opt/opt_muxtree.ys
239 Bytes
| 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 | |