Add dumpAllInfo function to Tester
powerjg opened this issue · comments
def dumpAllInfo(): Unit = {
conf.cpuType match {
case "single-cycle" => dumpSingleCycle()
case _ => println("Cannot dump info for CPU type ${_}")
}
}
The goal of this will be to print each I/O that's on the single cycle diagram
To do this, we can make a map that has the module -> function to print the module I/O. We might even be able to embed this printing in the code for the module themselves, then just have a list of the modules.
After doing this for the single cycle, we also want to do this for the pipeline. We might be able to get clever with the pipeline stages.
Finally, it would be a good idea in the single stepper to be able to print all of the modules that you can dump this way and allow them to be printed one at a time.