diff options
| author | jackkoenig | 2015-12-06 00:36:12 -0800 |
|---|---|---|
| committer | jackkoenig | 2015-12-06 00:36:12 -0800 |
| commit | c5cac5227cd164b17f2a6f02227a71dc89f8cde4 (patch) | |
| tree | 1f6d30b64a58103574bacb770bbc307f8d1e4bbe /src/main/scala/Example.scala | |
| parent | e8ac783706cca1f7ee65d799b5d8be445b6a5c5d (diff) | |
Working on generating SimTop, need to figure out how to split the top-level IO between the sim modules.
Diffstat (limited to 'src/main/scala/Example.scala')
| -rw-r--r-- | src/main/scala/Example.scala | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/main/scala/Example.scala b/src/main/scala/Example.scala deleted file mode 100644 index 210a50fb..00000000 --- a/src/main/scala/Example.scala +++ /dev/null @@ -1,19 +0,0 @@ -import java.io._ -import firrtl._ -import firrtl.Utils._ - -object Example -{ - // Example use of Scala FIRRTL parser and serialization - def main(args: Array[String]) - { - val inputFile = args(0) - - // Parse file - val ast = firrtl.Parser.parse(inputFile) - - val writer = new PrintWriter(new File(args(1))) - writer.write(ast.serialize) // serialize returns String - writer.close() - } -} |
