Skip to content

Commit

Permalink
Param: fix hasRVA23CMO config
Browse files Browse the repository at this point in the history
  • Loading branch information
Cai Luoshan committed Aug 22, 2024
1 parent a405e21 commit a00e161
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/coupledL2/CoupledL2.scala
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ trait HasCoupledL2Parameters {
def hasTPPrefetcher = prefetchers.exists(_.isInstanceOf[TPParameters])
def hasPrefetchBit = prefetchers.exists(_.hasPrefetchBit) // !! TODO.test this
def hasPrefetchSrc = prefetchers.exists(_.hasPrefetchSrc)
def hasRVA23CMO = false
def hasRVA23CMO = cacheParams.hasRVA23CMO
def topDownOpt = if(cacheParams.elaboratedTopDown) Some(true) else None

def enableHintGuidedGrant = true
Expand Down
2 changes: 2 additions & 0 deletions src/main/scala/coupledL2/L2Param.scala
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ case class L2Param(
elaboratedTopDown: Boolean = true,
// env
FPGAPlatform: Boolean = false,
// CMO
hasRVA23CMO: Boolean = false,

// Network layer SAM
sam: Seq[(AddressSet, Int)] = Seq(AddressSet.everything -> 0)
Expand Down

0 comments on commit a00e161

Please sign in to comment.