rocketchip: generate GraphML output

This commit is contained in:
Wesley W. Terpstra authored and Yunsup Lee committed 2016-09-26 14:35:46 -07:00
1 parent 1773eb4405
commit dd9558f45d
3 files changed
+11 -1

No files matched your search

+8
View File
@@ -117,9 +117,17 @@ trait GeneratorApp extends App with HasGeneratorUtilities {
def generateConfigString {
ConfigStringOutput.contents.foreach(c => writeOutputFile(td, s"${names.configs}.cfg", c))
}
/** Output a global LazyModule topology for documentation purposes. */
def generateGraphML {
GraphMLOutput.contents.foreach(c => writeOutputFile(td, s"${names.configs}.graphml", c))
}
}
object ConfigStringOutput {
var contents: Option[String] = None
}
object GraphMLOutput {
var contents: Option[String] = None
}