summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/scala/chisel3/stage/ChiselCli.scala12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/scala/chisel3/stage/ChiselCli.scala b/src/main/scala/chisel3/stage/ChiselCli.scala
new file mode 100644
index 00000000..4f7ac19e
--- /dev/null
+++ b/src/main/scala/chisel3/stage/ChiselCli.scala
@@ -0,0 +1,12 @@
+// See LICENSE for license details.
+
+package chisel3.stage
+
+import firrtl.options.Shell
+
+trait ChiselCli { this: Shell =>
+ parser.note("Chisel Front End Options")
+ Seq( NoRunFirrtlCompilerAnnotation,
+ PrintFullStackTraceAnnotation )
+ .foreach(_.addOptions(parser))
+}