Skip to content

Commit 0c91ddb

Browse files
authored
Merge pull request #2234 from ucb-bar/tacit-bp
ADD: branch predictor mode support for tacit
2 parents d22734e + e453942 commit 0c91ddb

File tree

7 files changed

+14
-10
lines changed

7 files changed

+14
-10
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ lazy val nvdla = (project in file("generators/nvdla"))
265265
.settings(commonSettings)
266266

267267
lazy val tacit = (project in file("generators/tacit"))
268-
.dependsOn(rocketchip, shuttle)
268+
.dependsOn(rocketchip, shuttle, testchipip)
269269
.settings(libraryDependencies ++= rocketLibDeps.value)
270270
.settings(commonSettings)
271271

generators/chipyard/src/main/scala/DigitalTop.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import freechips.rocketchip.devices.tilelink._
1414

1515
// DOC include start: DigitalTop
1616
class DigitalTop(implicit p: Parameters) extends ChipyardSystem
17-
with tacit.CanHaveTraceSinkDMA
1817
with testchipip.tsi.CanHavePeripheryUARTTSI // Enables optional UART-based TSI transport
1918
with testchipip.boot.CanHavePeripheryCustomBootPin // Enables optional custom boot pin
2019
with testchipip.cosim.CanHaveTraceIO // Enables optionally adding trace IO

generators/chipyard/src/main/scala/config/fragments/TileFragments.scala

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ import vexiiriscv.{VexiiRiscvTileAttachParams}
1515
import testchipip.cosim.{TracePortKey, TracePortParams}
1616
import barf.{TilePrefetchingMasterPortParams}
1717
import freechips.rocketchip.trace.{TraceEncoderParams, TraceCoreParams}
18-
import tacit.{TacitEncoder}
18+
import tacit.{TacitEncoder, TacitBPParams}
1919
import shuttle.common.{ShuttleTileAttachParams}
20+
2021
class WithL2TLBs(entries: Int) extends Config((site, here, up) => {
2122
case TilesLocated(InSubsystem) => up(TilesLocated(InSubsystem), site) map {
2223
case tp: RocketTileAttachParams => tp.copy(tileParams = tp.tileParams.copy(
@@ -78,8 +79,9 @@ class WithTacitEncoder extends Config((site, here, up) => {
7879
xlen = tp.tileParams.core.xLen,
7980
iaddrWidth = tp.tileParams.core.xLen
8081
),
81-
bufferDepth = 16,
82-
coreStages = 5)(p)),
82+
bufferDepth = 16,
83+
coreStages = 5,
84+
bpParams = TacitBPParams(xlen = tp.tileParams.core.xLen, n_entries = 1024))(p)),
8385
useArbiterMonitor = false
8486
)),
8587
core = tp.tileParams.core.copy(enableTraceCoreIngress=true)))
@@ -90,7 +92,10 @@ class WithTacitEncoder extends Config((site, here, up) => {
9092
nGroups = tp.tileParams.core.retireWidth,
9193
xlen = tp.tileParams.core.xLen,
9294
iaddrWidth = tp.tileParams.core.xLen
93-
), bufferDepth = 16, coreStages = 7)(p)),
95+
),
96+
bufferDepth = 16,
97+
coreStages = 7,
98+
bpParams = TacitBPParams(xlen = tp.tileParams.core.xLen, n_entries = 1024))(p)),
9499
useArbiterMonitor = false
95100
)),
96101
core = tp.tileParams.core.copy(enableTraceCoreIngress=true)))

generators/tacit

Submodule tacit updated from 7392394 to d188bb0

software/tacit_decoder

0 commit comments

Comments
 (0)