refactor NASTI to not use param; new AddrMap class

This commit is contained in:
Henry Cook committed 2015-10-06 11:41:47 -07:00
1 parent c2ad0b7dd4
commit 3d10a89907
6 files changed
+70 -69

No files matched your search

+6 -5
View File
@@ -15,16 +15,17 @@ class MemDessert extends Module {
object VLSIUtils {
def doOuterMemorySystemSerdes(
llcs: Seq[NASTIIO],
mems: Seq[NASTIIO],
llcs: Seq[NastiIO],
mems: Seq[NastiIO],
backup: MemSerializedIO,
en: Bool,
nMemChannels: Int,
htifWidth: Int,
blockOffsetBits: Int) {
blockOffsetBits: Int)
(implicit p: Parameters) {
val arb = Module(new NASTIArbiter(nMemChannels))
val conv = Module(new MemIONASTIIOConverter(blockOffsetBits))
val arb = Module(new NastiArbiter(nMemChannels))
val conv = Module(new MemIONastiIOConverter(blockOffsetBits))
val mem_serdes = Module(new MemSerdes(htifWidth))
conv.io.nasti <> arb.io.slave