replace NASTIMasterIO and NASTISlaveIO with NASTIIO
This commit is contained in:
parent
4a85c5a510
commit
8d4d8680bf
@ -1 +1 @@
|
||||
Subproject commit 3ad77802d200be7e1506a9add0faef3acf30bcd1
|
||||
Subproject commit f64a12529b1bdc0456519fabdd1edb3b4db23b27
|
@ -62,8 +62,8 @@ class TopIO extends BasicTopIO {
|
||||
}
|
||||
|
||||
class MultiChannelTopIO extends BasicTopIO with TopLevelParameters {
|
||||
val mem = Vec(new NASTIMasterIO, nMemChannels)
|
||||
val mmio = new NASTIMasterIO
|
||||
val mem = Vec(new NASTIIO, nMemChannels)
|
||||
val mmio = new NASTIIO
|
||||
}
|
||||
|
||||
/** Top-level module for the chip */
|
||||
@ -73,7 +73,7 @@ class Top extends Module with TopLevelParameters {
|
||||
if(!params(UseZscale)) {
|
||||
val temp = Module(new MultiChannelTop)
|
||||
val arb = Module(new NASTIArbiter(nMemChannels))
|
||||
val conv = Module(new MemIONASTISlaveIOConverter(params(CacheBlockOffsetBits)))
|
||||
val conv = Module(new MemIONASTIIOConverter(params(CacheBlockOffsetBits)))
|
||||
arb.io.master <> temp.io.mem
|
||||
conv.io.nasti <> arb.io.slave
|
||||
io.mem.req_cmd <> Queue(conv.io.mem.req_cmd)
|
||||
@ -127,12 +127,12 @@ class MultiChannelTop extends Module with TopLevelParameters {
|
||||
class Uncore extends Module with TopLevelParameters {
|
||||
val io = new Bundle {
|
||||
val host = new HostIO
|
||||
val mem = Vec(new NASTIMasterIO, nMemChannels)
|
||||
val mem = Vec(new NASTIIO, nMemChannels)
|
||||
val tiles_cached = Vec(new ClientTileLinkIO, nTiles).flip
|
||||
val tiles_uncached = Vec(new ClientUncachedTileLinkIO, nTiles).flip
|
||||
val htif = Vec(new HTIFIO, nTiles).flip
|
||||
val mem_backup_ctrl = new MemBackupCtrlIO
|
||||
val mmio = new NASTIMasterIO
|
||||
val mmio = new NASTIIO
|
||||
}
|
||||
|
||||
val htif = Module(new HTIF(CSRs.mreset)) // One HTIF module per chip
|
||||
@ -187,12 +187,12 @@ class OuterMemorySystem extends Module with TopLevelParameters {
|
||||
val tiles_uncached = Vec(new ClientUncachedTileLinkIO, nTiles).flip
|
||||
val htif_uncached = (new ClientUncachedTileLinkIO).flip
|
||||
val incoherent = Vec(Bool(), nTiles).asInput
|
||||
val mem = Vec(new NASTIMasterIO, nMemChannels)
|
||||
val mem = Vec(new NASTIIO, nMemChannels)
|
||||
val mem_backup = new MemSerializedIO(htifW)
|
||||
val mem_backup_en = Bool(INPUT)
|
||||
val pcr = Vec(new SMIIO(64, 12), nTiles)
|
||||
val scr = new SMIIO(64, scrAddrBits)
|
||||
val mmio = new NASTIMasterIO
|
||||
val mmio = new NASTIIO
|
||||
}
|
||||
|
||||
// Create a simple L1toL2 NoC between the tiles+htif and the banks of outer memory
|
||||
@ -232,7 +232,7 @@ class OuterMemorySystem extends Module with TopLevelParameters {
|
||||
|
||||
for ((bank, i) <- managerEndpoints.zipWithIndex) {
|
||||
val unwrap = Module(new ClientTileLinkIOUnwrapper)(outerTLParams)
|
||||
val conv = Module(new NASTIMasterIOTileLinkIOConverter)(outerTLParams)
|
||||
val conv = Module(new NASTIIOTileLinkIOConverter)(outerTLParams)
|
||||
unwrap.io.in <> bank.outerTL
|
||||
conv.io.tl <> unwrap.io.out
|
||||
interconnect.io.masters(i) <> conv.io.nasti
|
||||
@ -244,12 +244,12 @@ class OuterMemorySystem extends Module with TopLevelParameters {
|
||||
for (i <- 0 until nTiles) {
|
||||
val csrName = s"conf:csr$i"
|
||||
val csrPort = addrMap(csrName).port
|
||||
val conv = Module(new SMIIONASTISlaveIOConverter(64, 12))
|
||||
val conv = Module(new SMIIONASTIIOConverter(64, 12))
|
||||
conv.io.nasti <> interconnect.io.slaves(csrPort)
|
||||
io.pcr(i) <> conv.io.smi
|
||||
}
|
||||
|
||||
val conv = Module(new SMIIONASTISlaveIOConverter(64, scrAddrBits))
|
||||
val conv = Module(new SMIIONASTIIOConverter(64, scrAddrBits))
|
||||
conv.io.nasti <> interconnect.io.slaves(addrMap("conf:scr").port)
|
||||
io.scr <> conv.io.smi
|
||||
|
||||
|
@ -15,8 +15,8 @@ class MemDessert extends Module {
|
||||
|
||||
object VLSIUtils {
|
||||
def doOuterMemorySystemSerdes(
|
||||
llcs: Seq[NASTIMasterIO],
|
||||
mems: Seq[NASTIMasterIO],
|
||||
llcs: Seq[NASTIIO],
|
||||
mems: Seq[NASTIIO],
|
||||
backup: MemSerializedIO,
|
||||
en: Bool,
|
||||
nMemChannels: Int,
|
||||
@ -24,7 +24,7 @@ object VLSIUtils {
|
||||
blockOffsetBits: Int) {
|
||||
|
||||
val arb = Module(new NASTIArbiter(nMemChannels))
|
||||
val conv = Module(new MemIONASTISlaveIOConverter(blockOffsetBits))
|
||||
val conv = Module(new MemIONASTIIOConverter(blockOffsetBits))
|
||||
val mem_serdes = Module(new MemSerdes(htifWidth))
|
||||
|
||||
conv.io.nasti <> arb.io.slave
|
||||
|
2
uncore
2
uncore
@ -1 +1 @@
|
||||
Subproject commit d6895713cf4c0fcc53a3507f0c376716be8b0dce
|
||||
Subproject commit 356c759af0bff468e93911ace2aa18c162f7e77c
|
Loading…
Reference in New Issue
Block a user