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

Dnb mult deq #32

Open
wants to merge 19 commits into
base: DNB-dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/main/scala/common/config-mixins.scala
Original file line number Diff line number Diff line change
Expand Up @@ -217,15 +217,17 @@ class WithDnbBooms extends Config((site, here, up) => {
usingFPU = true,
dnbParams = Some(DnbParams(
numCrqEntries = 8,
numDlqEntries = 8
numDlqEntries = 8,
crqDispatches = 2,
dlqDispatches = 2,
)),
ibdaParams = Some(IbdaParams(
ibdaTagType = IBDA_TAG_FULL_PC,
rdtIstMarkWidth = 1
)),
busyLookupParams = Some(BusyLookupParams(
lookupAtRename = true,
lookupAtDisWidth = 1
lookupAtDisWidth = 2
))

),
Expand Down
5 changes: 4 additions & 1 deletion src/main/scala/common/parameters.scala
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ case class BoomCoreParams(
require(busyLookupParams.get.lookupAtDisWidth == loadSliceCore.get.dispatches())
}
if (dnbMode) {
require(busyLookupParams.get.lookupAtDisWidth == 1)
require(busyLookupParams.get.lookupAtDisWidth == dnbParams.get.dlqDispatches)
}
}

Expand Down Expand Up @@ -329,7 +329,10 @@ case class DnbParams(
numCrqEntries: Int = 8,
numDlqEntries: Int = 8,
dlqRobUrgentDist: Int = 2,
crqDispatches: Int = 1,
dlqDispatches: Int = 1
){
def dispatches(): Int = crqDispatches + dlqDispatches
}

// Case class for LoadSliceCore parameters.
Expand Down
Loading