| /* | |
| :name: fstrobe_task | |
| :description: $fstrobe test | |
| :should_fail: 0 | |
| :tags: 21.3 | |
| :type: simulation parsing | |
| */ | |
| module top(); | |
| logic clk; | |
| logic a; | |
| int fd; | |
| always @(posedge clk) begin | |
| $fstrobe(fd, a); | |
| $fstrobe(fd, a); | |
| $fstrobe(fd, a); | |
| $fstrobe(fd, a); | |
| end | |
| initial begin | |
| fd = $fopen("tmp.txt", "w"); | |
| end | |
| final | |
| $fclose(fd); | |
| endmodule |