Download chips/yosys/tests/simple/case_expr_extend.sv from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 169 Bytes
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/simple/case_expr_extend.sv
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/tests/simple/case_expr_extend.sv
-
curl -L -o case_expr_extend.sv https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/simple/case_expr_extend.sv
169 Bytes
| module top( | |
| output logic [5:0] out | |
| ); | |
| initial begin | |
| out = '0; | |
| case (1'b1 << 1) | |
| 2'b10: out = '1; | |
| default: out = '0; | |
| endcase | |
| end | |
| endmodule | |