rocketchip: generate GraphML output
This commit is contained in:
committed by
Yunsup Lee
parent
1773eb4405
commit
dd9558f45d
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user