Skip to content

Commit

Permalink
add vectorUseDCache parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
sequencer committed Nov 25, 2023
1 parent 74dd9b1 commit 5bef59a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/tile/BaseTile.scala
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ trait HasNonDiplomaticTileParameters {

// TODO make HellaCacheIO diplomatic and remove this brittle collection of hacks
// Core PTW DTIM coprocessors
def dcacheArbPorts = 1 + usingVM.toInt + usingDataScratchpad.toInt + p(BuildRoCC).size
def dcacheArbPorts = 1 + usingVM.toInt + usingDataScratchpad.toInt + p(BuildRoCC).size + (tileParams.core.useVector && tileParams.core.vectorUseDCache).toInt

// TODO merge with isaString in CSR.scala
def isaDTS: String = {
Expand Down
1 change: 1 addition & 0 deletions src/main/scala/tile/Core.scala
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ trait CoreParams {
val useAtomicsOnlyForIO: Boolean
val useCompressed: Boolean
val useVector: Boolean = false
val vectorUseDCache: Boolean = false
val useRVE: Boolean
val useConditionalZero: Boolean
val mulDiv: Option[MulDivParams]
Expand Down

0 comments on commit 5bef59a

Please sign in to comment.