-
Notifications
You must be signed in to change notification settings - Fork 21
Fix & Feat: Improve Verilator 5.040 compatibility and fix FP compilation issues #56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
CelestialMelody
wants to merge
4
commits into
mathis-s:master
Choose a base branch
from
CelestialMelody:main/clstilmldy
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
3c51d9c
Feat: Added explanations of the sources of header files in model_head…
CelestialMelody e05d6a7
Fix: Solve the Warning-PROCASSINIT issue in Verilator 5.040. A variab…
CelestialMelody dd82205
Feat: Solve the issue of different Verilator versions supporting -Wno…
CelestialMelody ec9a7c7
Fix: If `define ENABLE_FP is set in Config.sv, a compilation error wi…
CelestialMelody File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,31 +1,51 @@ | ||
| #include "VTop_TagBuffer.h" | ||
| #include "VTop_CSR.h" | ||
| #include "VTop_Rename__WC5.h" | ||
| #include "VTop_IF_ICTable.h" | ||
| // Include all *.h files in obj_dir (auto-generated by Verilator) | ||
| // Use `make prepare_header` to regenerate | ||
| // Top-level core header file | ||
| #include "VTop.h" | ||
| #include "VTop_RegFile__W50_S20_N1_NB1.h" | ||
| #include "VTop_ExternalAXISim.h" | ||
| #include "VTop_RenameTable__ND5.h" | ||
| #include "VTop_ROB.h" | ||
| #include "VTop_Top.h" | ||
| #include "VTop_IFetchPipeline.h" | ||
| #include "VTop_MemRTL__W200_N40.h" | ||
| #include "VTop_StoreQueue.h" | ||
|
|
||
| // Root module and global unit header files | ||
| #include "VTop___024root.h" | ||
| #include "VTop___024unit.h" | ||
|
|
||
| // Core module related | ||
| #include "VTop_Core.h" | ||
| #include "VTop_CSR.h" | ||
|
|
||
| // Branch prediction related | ||
| #include "VTop_BranchPredictor__N3.h" | ||
| #include "VTop_ReturnStack.h" | ||
|
|
||
| // SoC and external modules | ||
| #include "VTop_SoC.h" | ||
| #include "VTop_ExternalAXISim.h" | ||
|
|
||
| // Instruction fetch stage related | ||
| #include "VTop_IFetch.h" | ||
| #include "VTop_IFetchPipeline.h" | ||
| #include "VTop_IF_Cache.h" | ||
| #include "VTop__Dpi.h" | ||
| #include "VTop_IF_CTable.h" | ||
| #include "VTop_IF_ICache.h" | ||
| #include "VTop_IF_ICTable.h" | ||
| #include "VTop_IF_MMIO.h" | ||
|
|
||
| // Memory module related | ||
| #include "VTop_MemRTL__W200_N40.h" | ||
| #include "VTop_MemRTL__W200_N100_WB80.h" | ||
| #include "VTop_MemRTL1RW__W2_N40_WB2.h" | ||
| #include "VTop_MemRTL1RW__W54_N40_WB15.h" | ||
| #include "VTop_BranchPredictor__N3.h" | ||
| #include "VTop_StoreQueue.h" | ||
| #include "VTop_ROB.h" | ||
|
|
||
| // Register file and rename related | ||
| #include "VTop_RegFile__NB5_A1.h" | ||
| #include "VTop_ReturnStack.h" | ||
| #include "VTop_Core.h" | ||
| #include "VTop_IF_ICache.h" | ||
| #include "VTop_RegFile__W23_S20_N3_NB1.h" | ||
| #include "VTop_SoC.h" | ||
| #include "VTop___024unit.h" | ||
| #include "VTop_MemRTL__W200_N100_WB80.h" | ||
| #include "VTop__Syms.h" | ||
| #include "VTop__pch.h" | ||
| #include "VTop_IF_CTable.h" | ||
| #include "VTop_RegFile__W50_S20_N1_NB1.h" | ||
| #include "VTop_RenameTable__ND5.h" | ||
| #include "VTop_Rename__WC5.h" | ||
| #include "VTop_TagBuffer.h" | ||
|
|
||
| // Other auxiliary header files | ||
| #include "VTop__Dpi.h" | ||
| #include "VTop__pch.h" // Precompiled header | ||
| #include "VTop__Syms.h" |
This file contains hidden or 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 hidden or 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
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should be better fixed by ignoring the warning instead of changing the code (also applies to all others) |
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is autogenerated, there shouldn't be any comments in here, these will be overwritten when regenerating. I'd prefer as few changes here as possible