Skip to content

Commit

Permalink
fix tlb
Browse files Browse the repository at this point in the history
  • Loading branch information
sequencer committed Jul 31, 2024
1 parent cb9acc5 commit f87530b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rocketv/src/TLB.scala
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ case class TLBParameter(
paddrBits: Int,
isITLB: Boolean
) extends SerializableModuleParameter {

require(nWays != nSectors, "some random limitation to be figure out.")
require(nWays > nSectors, s"nWays: ${nWays} > nSectors: ${nSectors}")
// D$: log2Ceil(coreDataBytes), I$: log2Ceil(fetchBytes)
def lgMaxSize = log2Ceil(xLen / 8)

Expand Down

0 comments on commit f87530b

Please sign in to comment.