Make UnitTestCoreplex cope with an external MMIO network
This commit is contained in:
parent
2572cd3f7c
commit
565444c40e
@ -7,10 +7,14 @@ import uncore.tilelink.TLId
|
|||||||
import cde.Parameters
|
import cde.Parameters
|
||||||
|
|
||||||
class UnitTestCoreplex(tp: Parameters, tc: CoreplexConfig) extends Coreplex()(tp, tc) {
|
class UnitTestCoreplex(tp: Parameters, tc: CoreplexConfig) extends Coreplex()(tp, tc) {
|
||||||
require(!tc.hasExtMMIOPort)
|
|
||||||
require(tc.nSlaves == 0)
|
require(tc.nSlaves == 0)
|
||||||
require(tc.nMemChannels == 0)
|
require(tc.nMemChannels == 0)
|
||||||
|
|
||||||
|
io.master.mmio.foreach { port =>
|
||||||
|
port.acquire.valid := Bool(false)
|
||||||
|
port.grant.ready := Bool(false)
|
||||||
|
}
|
||||||
|
|
||||||
io.debug.req.ready := Bool(false)
|
io.debug.req.ready := Bool(false)
|
||||||
io.debug.resp.valid := Bool(false)
|
io.debug.resp.valid := Bool(false)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user