Download chips/yosys/tests/proc/bug2962.ys from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 378 Bytes
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/proc/bug2962.ys
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/tests/proc/bug2962.ys
-
curl -L -o bug2962.ys https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/proc/bug2962.ys
378 Bytes
| read_rtlil << EOT | |
| module \top | |
| wire width 4 input 1 \a | |
| wire width 2 input 2 \b | |
| wire input 3 \clk | |
| wire width 4 output 4 \q | |
| wire input 5 \en | |
| wire width 4 \nq | |
| process \p | |
| assign \nq \a | |
| assign \nq [1:0] \b | |
| switch \en | |
| case 1'1 | |
| assign \nq [3] 1'0 | |
| end | |
| sync posedge \clk | |
| update \q \nq | |
| end | |
| end | |
| EOT | |
| proc | |
| check -assert | |