Download chips/yosys/tests/techmap/dffinit.ys from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 334 Bytes
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/techmap/dffinit.ys
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/tests/techmap/dffinit.ys
-
curl -L -o dffinit.ys https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/techmap/dffinit.ys
334 Bytes
| read_verilog <<EOT | |
| module ff(...); | |
| input d; | |
| output q; | |
| endmodule | |
| module top(...); | |
| input d; | |
| output q1; | |
| (* init = 1'b1 *) | |
| output q2; | |
| ff my_ff1(.d(d), .q(q1)); | |
| ff my_ff2(.d(d), .q(q2)); | |
| endmodule | |
| EOT | |
| dffinit -ff ff q init | |
| select -assert-count 2 t:ff | |
| select -assert-count 1 t:ff r:init %i | |
| select -assert-count 1 t:ff r:init=1'b1 %i | |