1
0

send DMA requests through MMIO and get responses through CSRs

This commit is contained in:
Howard Mao
2016-01-14 11:37:58 -08:00
parent 58fcc6b7c6
commit 305185c034
7 changed files with 189 additions and 113 deletions

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.