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