Download chips/yosys/docs/source/code_examples/opt/opt_expr.ys from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 237 Bytes
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/docs/source/code_examples/opt/opt_expr.ys
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/docs/source/code_examples/opt/opt_expr.ys
-
curl -L -o opt_expr.ys https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/docs/source/code_examples/opt/opt_expr.ys
237 Bytes
| read_verilog <<EOT | |
| module uut( | |
| input a, | |
| output y, z | |
| ); | |
| assign y = a == a; | |
| assign z = a != a; | |
| endmodule | |
| EOT | |
| copy uut after | |
| opt_expr after | |
| clean | |
| show -format dot -prefix opt_expr_full -notitle -color cornflowerblue uut | |