-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Verilator: Enable passing arguments to the make
The verilator-generated Makefiles use documented variables to configure the build process. The most important ones are OPT/OPT_FAST/OPT_SLOW to influence the compiler flags for the individual parts of the build. With verilator_options, one can already set compiler options globally (such as "-O2"). However, compiling larger designs with such high optimization settings leads to long build times with no real benefit, especially if tracing is enabled. In those cases, setting OPT_FAST="-O2" and not setting any global optimization flags can cut down the build time by multiple times.
- Loading branch information
Showing
6 changed files
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
TOP_MODULE := orpsoc_top | ||
VC_FILE := mor1kx-generic_0.vc | ||
VERILATOR_OPTIONS := | ||
MAKE_OPTIONS := |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
TOP_MODULE := orpsoc_top | ||
VC_FILE := mor1kx-generic_0.vc | ||
VERILATOR_OPTIONS := | ||
MAKE_OPTIONS := |