Download chips/yosys/tests/techmap/bufnorm_inout_input.ys from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 305 Bytes
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/techmap/bufnorm_inout_input.ys
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/tests/techmap/bufnorm_inout_input.ys
-
curl -L -o bufnorm_inout_input.ys https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/techmap/bufnorm_inout_input.ys
305 Bytes
| read_verilog <<EOT | |
| (* blackbox *) | |
| module pad(inout B, output O); | |
| endmodule | |
| module top(input i, output o); | |
| wire a, b; | |
| assign a = i; | |
| assign b = i; | |
| pad p (.B(a), .O(o)); | |
| endmodule | |
| EOT | |
| hierarchy -top top | |
| bufnorm -update | |
| bufnorm -reset | |
| clean | |
| check -assert | |
| select -assert-count 1 t:pad %x:+[B] w:i %i | |