-
Notifications
You must be signed in to change notification settings - Fork 555
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[rtl] Avoid name collision in ibex_pmp.sv
Recent versions of Verilator complain about the code that was there because the csr_pmp_cfg argument clashes with a name in ibex_core.sv. What's more, they mean different things! In ibex_core.sv, it was the PMP configuration for the entire core. In the functions, it's the PMP configuration for a single region. This patch adds a "region_" prefix to the names, which fixes both the Verilator warning and my confusion!
- Loading branch information
1 parent
fe84d64
commit e81c0c8
Showing
1 changed file
with
10 additions
and
9 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