send DMA requests through MMIO and get responses through CSRs

This commit is contained in:
Howard Mao committed 2016-01-29 14:51:56 -08:00
1 parent 58fcc6b7c6
commit 305185c034
7 files changed
+189 -113

No files matched your search

+4
View File
@@ -46,6 +46,10 @@ trait HasCoreParameters extends HasAddrMapParameters {
val vaddrBitsExtended = vaddrBits + (vaddrBits < xLen).toInt
val mmioBase = p(MMIOBase)
val nCustomMrwCsrs = p(NCustomMRWCSRs)
val roccCsrs = if (p(BuildRoCC).isEmpty) Nil
else p(BuildRoCC).flatMap(_.csrs)
val nRoccCsrs = p(RoccNCSRs)
val nCores = p(HtifKey).nCores
// Print out log of committed instructions and their writeback values.
// Requires post-processing due to out-of-order writebacks.