Download chips/yosys/tests/select/boxes.v from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 250 Bytes
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/select/boxes.v
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/tests/select/boxes.v
-
curl -L -o boxes.v https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/select/boxes.v
250 Bytes
| module top(input a, b, output o); | |
| assign o = a & b; | |
| endmodule | |
| (* blackbox *) | |
| module bb(input a, b, output o); | |
| assign o = a | b; | |
| specify | |
| (a => o) = 1; | |
| endspecify | |
| endmodule | |
| (* whitebox *) | |
| module wb(input a, b, output o); | |
| assign o = a ^ b; | |
| endmodule | |