Download chips/yosys/tests/sim/dffsr.v from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 183 Bytes
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/sim/dffsr.v
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/tests/sim/dffsr.v
-
curl -L -o dffsr.v https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/sim/dffsr.v
183 Bytes
| module dffsr( input clk, d, clr, set, output reg q ); | |
| always @( posedge clk, posedge set, posedge clr) | |
| if ( clr ) | |
| q <= 0; | |
| else if (set) | |
| q <= 1; | |
| else | |
| q <= d; | |
| endmodule | |