-
Notifications
You must be signed in to change notification settings - Fork 794
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dv/enable_regs] Support enable registers have more than one field
This PR implements the DV support for PR #5128, which allows an enable register to be a multi-reg. This enable register will have many fields, each field locks a certain set of registers. This PR support it by moving the `locked_reg_q` to dv_base_reg_field, and copied enable register related methods to dv_base_reg_field. If the enable register has only one field, normal methods still work (which means we do not need to change current testbench). If the enable register has more than one field, CSR automation test will work, but if user want to access the `locked_reg_q`, they have to call from dv_base_reg_field rather than dv_base_reg. This PR also updated the UVM RAL register generate script. Signed-off-by: Cindy Chen <[email protected]>
- Loading branch information
Showing
6 changed files
with
137 additions
and
64 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
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
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
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
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
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