1
0

Make UnitTestCoreplex cope with an external MMIO network

This commit is contained in:
Andrew Waterman 2016-09-14 12:18:55 -07:00
parent 2572cd3f7c
commit 565444c40e

View File

@ -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)