Download chips/yosys/tests/techmap/adff2dff.ys from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 240 Bytes
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/techmap/adff2dff.ys
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/tests/techmap/adff2dff.ys
-
curl -L -o adff2dff.ys https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/techmap/adff2dff.ys
240 Bytes
| read_verilog -icells << EOT | |
| module top(...); | |
| input [1:0] D; | |
| input C, R; | |
| output [1:0] Q; | |
| always @(posedge C, posedge R) | |
| if (R) | |
| Q <= 0; | |
| else | |
| Q <= D; | |
| endmodule | |
| EOT | |
| proc | |
| #equiv_opt -assert -async2sync techmap -map +/adff2dff.v | |