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