-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tool issues w automatic variables in PLRU tree
This commit moves the declaration of automatic variables to the beginning of combinatorial blocks and initializes them with a default value, which avoids issues with Verilator issuing incorrect latch warnings. Additionally, it changes the type of `new_index` from integer to logic to avoid indexing into an integer, which causes issues with some linting tools.
- Loading branch information
1 parent
52f83ee
commit 77d76b0
Showing
1 changed file
with
21 additions
and
12 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