Skip to content

Commit

Permalink
Add missing warning doc
Browse files Browse the repository at this point in the history
  • Loading branch information
MikePopoloski committed Dec 16, 2023
1 parent f148698 commit e557c68
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/warning_docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1078,3 +1078,10 @@ module m;
assign b = a;
endmodule
```

-Wdpi-pure-task
A DPI import task is marked 'pure', which is disallowed by SystemVerilog but can be
downgraded to a warning to support code compatibility with other tools.
```
import "DPI-C" pure task func(logic [3:0] a);
```

0 comments on commit e557c68

Please sign in to comment.