Download chips/yosys/tests/proc/bug2619.ys from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 266 Bytes
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/proc/bug2619.ys
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/tests/proc/bug2619.ys
-
curl -L -o bug2619.ys https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/proc/bug2619.ys
266 Bytes
| read_verilog << EOT | |
| module top(...); | |
| input D1, D2, R, CLK; | |
| output reg Q1, Q2; | |
| always @(posedge CLK, posedge R) begin | |
| Q1 <= 0; | |
| if (!R) begin | |
| Q1 <= D1; | |
| Q2 <= D2; | |
| end | |
| end | |
| endmodule | |
| EOT | |
| proc | |
| opt | |
| select -assert-count 1 t:$adff | |
| select -assert-count 1 t:$dffe | |