Download chips/yosys/tests/techmap/bug6466.ys from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 421 Bytes
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/techmap/bug6466.ys
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/tests/techmap/bug6466.ys
-
curl -L -o bug6466.ys https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/techmap/bug6466.ys
421 Bytes
| # An input left unconnected on an abc9_bypass cell must stay unconnected | |
| read_verilog -specify <<EOT | |
| (* abc9_box *) | |
| module PRIM(input C, D, E, output reg Q); | |
| always @(posedge C) Q <= D; | |
| specify | |
| (C => Q) = 100; | |
| endspecify | |
| endmodule | |
| module top(input clk, d, output q); | |
| PRIM p(.C(clk), .D(d), .Q(q)); | |
| endmodule | |
| EOT | |
| setattr -mod -set whitebox 1 PRIM | |
| hierarchy -top top | |
| abc9 -lut 4 | |
| delete -port =PRIM/E | |
| hierarchy -check | |