Download chips/yosys/tests/techmap/abc_state.ys from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 367 Bytes
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/techmap/abc_state.ys
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/tests/techmap/abc_state.ys
-
curl -L -o abc_state.ys https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/techmap/abc_state.ys
367 Bytes
| read_verilog <<EOT | |
| module simple(I1, I2, O); | |
| input wire I1; | |
| input wire I2; | |
| output wire O; | |
| assign O = I1 | I2; | |
| endmodule | |
| EOT | |
| abc -g all | |
| design -reset | |
| read_verilog <<EOT | |
| module simple(I1, I2, O); | |
| input wire I1; | |
| input wire I2; | |
| output wire O; | |
| assign O = I1 | I2; | |
| endmodule | |
| EOT | |
| techmap | |
| abc -g AND | |
| select -assert-count 0 t:$_OR_ | |
| select -assert-count 1 t:$_AND_ | |