Download chips/yosys/tests/opt/bug2010.ys 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/opt/bug2010.ys
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/tests/opt/bug2010.ys
-
curl -L -o bug2010.ys https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/opt/bug2010.ys
169 Bytes
| read_verilog <<EOT | |
| module test ( | |
| input signed [1:0] n, | |
| output [3:0] dout | |
| ); | |
| assign dout = n + 4'sd 4; | |
| endmodule | |
| EOT | |
| equiv_opt -assert opt -fine | |