This adds a -u option to the driver to allow the user to specify that they want each source file to be treated as a separate compilation unit, and modifies the compiler to accept a list of files (either on the command line or via a file specified by a new -F option). This list of files is then preprocessed and parsed separately, causing all compiler directives (including macro definitions) to only apply to the file containing them, as required by the SystemVerilog standard. |
||
|---|---|---|
| .. | ||
| Makefile.in | ||
| cflexor.lex | ||
| cfparse.y | ||
| cfparse_misc.h | ||
| globals.h | ||
| iverilog.man.in | ||
| main.c | ||
| substit.c | ||