Download chips/yosys/tests/sim/sim_dlatchsr.ys from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 348 Bytes
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/sim/sim_dlatchsr.ys
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/tests/sim/sim_dlatchsr.ys
-
curl -L -o sim_dlatchsr.ys https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/sim/sim_dlatchsr.ys
348 Bytes
| read_verilog -icells <<EOT | |
| module dlatchsr(input d, set, clr, en, output reg q); | |
| $dlatchsr #(.EN_POLARITY(1'b1), .CLR_POLARITY(1'b1), .SET_POLARITY(1'b1), .WIDTH(1)) uut (.EN(en), .SET(set), .CLR(clr), .D(d), .Q(q)); | |
| endmodule | |
| EOT | |
| proc | |
| opt_dff | |
| stat | |
| select -assert-count 1 t:$dlatchsr | |
| sim -r tb_dlatchsr.fst -scope tb_dlatchsr.uut -sim-cmp dlatchsr | |