-
Notifications
You must be signed in to change notification settings - Fork 705
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(decoder): simplify interrupt indexing
The indexing expression was really complex. It is constant so is is possible to directly use an "unsized" localparam. The values are less than 32 so it is equivalent to previous code. This coding style is the one used in the CSR regfile. It will simplify future modifications, including completing parametrization.
- Loading branch information
Showing
1 changed file
with
6 additions
and
30 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