Skip to content

Commit a4f248e

Browse files
committed
Merge branch 'dramsim3-bump' of github.com:jimfangx/chipyard-working into dramsim3-bump
2 parents 0946e26 + 8bb5d13 commit a4f248e

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

generators/firechip/chip/src/main/scala/TargetConfigs.scala

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,15 @@ class FireSimLargeBoomSV39CospikeConfig extends Config(
356356

357357
class CTCFireSimConfig extends Config(
358358
new WithCTCBridge ++
359-
new testchipip.ctc.WithCTC(Seq(new testchipip.ctc.CTCParams(onchipAddr = 0x1000000000L, offchipAddr = 0x0L, size = ((1L << 32) - 1), noPhy=true))) ++
359+
new testchipip.ctc.WithCTC(Seq(new testchipip.ctc.CTCParams(
360+
translationParams = testchipip.soc.OutwardAddressTranslatorParams(
361+
// Outward CTC: accesses from this chip to offchipAddr+x are interpreted as going off chip via CTC/accesses are routed to CTC.
362+
// The translator strips that local off-chip base value before forwarding, so
363+
// the other chip receives onchipAddr+x in its normal Chipyard address map.
364+
onchipAddr = 0x0L,
365+
offchipAddr = 0x1000000000L,
366+
size = ((1L << 32) - 1)),
367+
phyParams = None))) ++
360368
new chipyard.iobinders.WithCTCPunchthrough ++
361369
new FireSimRocketConfig
362370
)

0 commit comments

Comments
 (0)