Download chips/yosys/frontends/verific/example.sv from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 272 Bytes
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/frontends/verific/example.sv
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/frontends/verific/example.sv
-
curl -L -o example.sv https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/frontends/verific/example.sv
272 Bytes
| module top ( | |
| input clk, rst, | |
| output reg [3:0] cnt | |
| ); | |
| initial cnt = 0; | |
| always @(posedge clk) begin | |
| if (rst) | |
| cnt <= 0; | |
| else | |
| cnt <= cnt + 4'd 1; | |
| end | |
| always @(posedge clk) begin | |
| assume (cnt != 10); | |
| assert (cnt != 15); | |
| end | |
| endmodule | |