1
0

add some more comments to describe the new device system

This commit is contained in:
Howard Mao
2016-08-18 15:06:55 -07:00
parent 1b6fa70b5c
commit 91a97d6773
3 changed files with 30 additions and 2 deletions

View File

@ -8,6 +8,13 @@ import uncore.Util._
import junctions.HasAddrMapParameters
import cde.Parameters
/**
* An example bus mastering devices that writes some preset data to memory.
* When it receives an MMIO put request, it starts writing out the data.
* When it receives an MMIO get request, it responds with the progress of
* the write. A grant data of 1 means it is still writing, grant data 0
* means it has finished.
*/
class ExampleBusMaster(implicit val p: Parameters) extends Module
with HasAddrMapParameters
with HasTileLinkParameters {