-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plru_tree: Improve tool compatibility (#205)
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
6ff3a09
commit 71a492c
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