rocket: don't remove ports on top module
This commit is contained in:
committed by
Wesley W. Terpstra
parent
5ff4c1674a
commit
75345b6048
@ -6,6 +6,7 @@ import Chisel._
|
||||
import freechips.rocketchip.config.Parameters
|
||||
import freechips.rocketchip.coreplex._
|
||||
import freechips.rocketchip.devices.tilelink._
|
||||
import freechips.rocketchip.util.DontTouch
|
||||
|
||||
/** Example Top with periphery devices and ports, and a Rocket coreplex */
|
||||
class ExampleRocketSystem(implicit p: Parameters) extends RocketCoreplex
|
||||
@ -25,3 +26,4 @@ class ExampleRocketSystemModule[+L <: ExampleRocketSystem](_outer: L) extends Ro
|
||||
with HasMasterAXI4MMIOPortModuleImp
|
||||
with HasSlaveAXI4PortModuleImp
|
||||
with HasPeripheryBootROMModuleImp
|
||||
with DontTouch
|
||||
|
@ -14,6 +14,7 @@ class TestHarness()(implicit p: Parameters) extends Module {
|
||||
val dut = Module(LazyModule(new ExampleRocketSystem).module)
|
||||
dut.reset := reset | dut.debug.ndreset
|
||||
|
||||
dut.dontTouchPorts()
|
||||
dut.tieOffInterrupts()
|
||||
dut.connectSimAXIMem()
|
||||
dut.connectSimAXIMMIO()
|
||||
|
Reference in New Issue
Block a user