Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added register entries for pmpaddr registers #70

Merged
merged 10 commits into from
Aug 23, 2023

Conversation

alitariq4589
Copy link
Contributor

In this PR I have added pmpaddr registers without which riscv_isac cannot perform coverage of the coverpoints which include pmpaddrX registers. After this PR, the cgf files with pmp address registers (e.g. pmpaddr1) will successfully execute with riscv_isac

@neelgala
Copy link
Collaborator

@alitariq4589 maybe include the exhaustive list of pmpcfg* as well in this PR

@neelgala neelgala requested a review from pawks June 17, 2023 12:41
@alitariq4589
Copy link
Contributor Author

@alitariq4589 maybe include the exhaustive list of pmpcfg* as well in this PR

Sure. I am adding it.

@alitariq4589
Copy link
Contributor Author

@neelgala I have added all pmpcfg* registers

@pawks
Copy link
Collaborator

pawks commented Jun 17, 2023

You'll also need to add them to the dictionary inside the csr_registers class. The class only contains values for 16 pmp entries right now.

@alitariq4589
Copy link
Contributor Author

@pawks I dont see any pmpaddr* register in csr_regs dictionary. Are they also needed to be added ?

@pawks
Copy link
Collaborator

pawks commented Jun 18, 2023

They are added here.

@allenjbaum
Copy link
Collaborator

allenjbaum commented Jun 18, 2023 via email

@UmerShahidengr
Copy link
Collaborator

Good point @allenjbaum, but here we are trying to simplify the register entries by following Sail as reference. Currently Sail supports 16 pmpaddr and 4 pmpcfg regs so those entries have been added in ISAC to test some coverpoint definitions related to PMP.

@neelgala
Copy link
Collaborator

@alitariq4589 please change the target branch of the PR to dev and rebase to it. Also provide an entry in the CHANGELOG.md file under the WIP-DEV section.

@alitariq4589 alitariq4589 changed the base branch from master to dev August 23, 2023 06:24
@neelgala neelgala merged commit a299326 into riscv-software-src:dev Aug 23, 2023
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants