Download chips/yosys/tests/techmap/bug2759.ys from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 226 Bytes
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/techmap/bug2759.ys
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/tests/techmap/bug2759.ys
-
curl -L -o bug2759.ys https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/techmap/bug2759.ys
226 Bytes
| read_verilog -specify <<EOT | |
| (* abc9_box, whitebox *) | |
| module box(input [1:0] i, output o); | |
| specify | |
| (i *> o) = 1; | |
| endspecify | |
| assign o = ^i; | |
| endmodule | |
| module top(input [1:0] i, output o); | |
| box i1(i, o); | |
| endmodule | |
| EOT | |
| abc9 -lut 4 | |