Download chips/yosys/backends/smt2/example.v from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 235 Bytes
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/backends/smt2/example.v
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/backends/smt2/example.v
-
curl -L -o example.v https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/backends/smt2/example.v
235 Bytes
| module main(input clk); | |
| reg [3:0] counter = 0; | |
| always @(posedge clk) begin | |
| if (counter == 10) | |
| counter <= 0; | |
| else | |
| counter <= counter + 1; | |
| end | |
| assert property (counter != 15); | |
| // assert property (counter <= 10); | |
| endmodule | |