From e42c6a3b118935abbdf3a8f1b54f6ec0d4f2dda8 Mon Sep 17 00:00:00 2001 From: RuigeLee Date: Wed, 20 Sep 2023 11:17:30 +0800 Subject: [PATCH] dma cache to sys-port --- src/main/scala/mac/WithMac.scala | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/scala/mac/WithMac.scala b/src/main/scala/mac/WithMac.scala index c6c901d..5c79303 100644 --- a/src/main/scala/mac/WithMac.scala +++ b/src/main/scala/mac/WithMac.scala @@ -12,7 +12,7 @@ trait WithManyMacMix { this: BaseSubsystem => val mac0 = LazyModule(new Mac) - mbus.coupleFrom("mac_mst") { _ := TLBuffer() := mac0.tlClientNode } + sbus.coupleFrom("mac_mst") { _ := TLBuffer() := mac0.tlClientNode } pbus.coupleTo("mac_cfg") { mac0.tlMasterNode := TLFragmenter(pbus) := _ } pbus.coupleTo("mac_cfg") { mac0.ethReg.configNode := TLFragmenter(pbus) := _ } @@ -28,6 +28,12 @@ trait WithManyMacMixModuleImp extends LazyModuleImp { macIO <> outer.mac0.module.io + println("Warning, did you delete the rocket-chip.jar on top to reflash?") + println("Warning, did you delete the rocket-chip.jar on top to reflash?") + println("Warning, did you delete the rocket-chip.jar on top to reflash?") + println("Warning, did you delete the rocket-chip.jar on top to reflash?") + println("Warning, did you delete the rocket-chip.jar on top to reflash?") + } class MacConfig() extends Config((site, here, up) => {