add new parameters for new SCR file
This commit is contained in:
parent
9fb2216548
commit
4dad5b8b32
@ -75,9 +75,11 @@ class DefaultConfig extends Config (
|
||||
case HtifKey => HtifParameters(
|
||||
width = Dump("HTIF_WIDTH", 16),
|
||||
nSCR = 64,
|
||||
nUncoreSCR = 64,
|
||||
csrDataBits = site(XLen),
|
||||
offsetBits = site(CacheBlockOffsetBits),
|
||||
nCores = site(NTiles))
|
||||
case GlobalScrMap => new ScrMap
|
||||
//Memory Parameters
|
||||
case PAddrBits => 32
|
||||
case PgIdxBits => 12
|
||||
|
@ -53,6 +53,7 @@ trait HasTopLevelParameters {
|
||||
lazy val mifDataBeats = p(MIFDataBeats)
|
||||
lazy val xLen = p(XLen)
|
||||
lazy val nSCR = p(HtifKey).nSCR
|
||||
lazy val nUncoreSCR = p(HtifKey).nUncoreSCR
|
||||
lazy val scrAddrBits = log2Up(nSCR)
|
||||
lazy val scrDataBits = 64
|
||||
lazy val scrDataBytes = scrDataBits / 8
|
||||
|
Loading…
Reference in New Issue
Block a user