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

changes to parameters and I/O to match cve2_top.sv for use in core-v-… #132

Merged
merged 2 commits into from
Jul 28, 2023

Conversation

LeeHoff
Copy link

@LeeHoff LeeHoff commented Jul 26, 2023

…verif

@LeeHoff
Copy link
Author

LeeHoff commented Jul 27, 2023

This change makes the cve2_top_tracing parameters and I/O the same as cve2_top. Then we can use this file in core-v-verif to allow RVFI tracing.

@davideschiavone
Copy link

hi @LeeHoff - the current TOP level file has the following parameters

  parameter bit          PMPEnable         = 1'b0,
  parameter int unsigned PMPGranularity    = 0,
  parameter int unsigned PMPNumRegions     = 4,
  parameter int unsigned MHPMCounterNum    = 0,
  parameter int unsigned MHPMCounterWidth  = 40,
  parameter bit          RV32E             = 1'b0,
  parameter rv32m_e      RV32M             = RV32MFast,
  parameter rv32b_e      RV32B             = RV32BNone,
  parameter bit          DbgTriggerEn      = 1'b0,
  parameter int unsigned DbgHwBreakNum     = 1,
  parameter int unsigned DmHaltAddr        = 32'h1A110800,
  parameter int unsigned DmExceptionAddr   = 32'h1A110808

I see you are still using the BranchPredictor - can we modify it?

@LeeHoff
Copy link
Author

LeeHoff commented Jul 28, 2023

I left BranchPredictor in because it was previously in cve2_top.sv, now that it is updated we can take the reference out of cve2_top_tracing.sv to match. You referenced the parameters in cve2_core.sv

@MikeOpenHWGroup MikeOpenHWGroup merged commit 2094c57 into openhwgroup:main Jul 28, 2023
2 checks passed
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.

3 participants