Download chips/yosys/tests/techmap/abc_new.ys from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 309 Bytes
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/techmap/abc_new.ys
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/tests/techmap/abc_new.ys
-
curl -L -o abc_new.ys https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/techmap/abc_new.ys
309 Bytes
| read_verilog <<EOT | |
| module sub(input a, b, c, output y); | |
| assign y = (a & b) | c; | |
| endmodule | |
| module top(input a, b, c, d, output y, z); | |
| assign z = (a ^ b) & d; | |
| sub s_i (.a(a), .b(b), .c(c), .y(y)); | |
| endmodule | |
| EOT | |
| hierarchy -top top | |
| techmap | |
| abc_new -liberty ../liberty/normal.lib -liberty ../liberty/dff.lib | |