Download chips/yosys/tests/techmap/bug2332.ys from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 177 Bytes
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/techmap/bug2332.ys
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/tests/techmap/bug2332.ys
-
curl -L -o bug2332.ys https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/techmap/bug2332.ys
177 Bytes
| read_verilog <<EOT | |
| module top(input [31:0] a, input signed [2:0] x, output [2:0] o); | |
| wire [5:0] t = x * 3; | |
| assign o = a >> t; | |
| endmodule | |
| EOT | |
| wreduce | |
| equiv_opt -assert peepopt | |