summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Schmidt2019-10-23 10:34:16 -0700
committerGitHub2019-10-23 10:34:16 -0700
commit47bbe8c1f8d0c51d443cfa432801a56c29dc32bd (patch)
tree760f33a6929b48ffe317bc6d453ca030f2aa9e59
parent66f5696e03a529ced36504e53f7b2fc24d31544c (diff)
Make ChiselStage targets not private
This enables users to use the nice run method of `ChiselStage` with their own set of phases.
-rw-r--r--src/main/scala/chisel3/stage/ChiselStage.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/chisel3/stage/ChiselStage.scala b/src/main/scala/chisel3/stage/ChiselStage.scala
index aef1abb2..0a0cc47c 100644
--- a/src/main/scala/chisel3/stage/ChiselStage.scala
+++ b/src/main/scala/chisel3/stage/ChiselStage.scala
@@ -16,7 +16,7 @@ import java.io.{StringWriter, PrintWriter}
class ChiselStage extends Stage with PreservesAll[Phase] {
val shell: Shell = new Shell("chisel") with ChiselCli with FirrtlCli
- private val targets =
+ val targets =
Seq( classOf[chisel3.stage.phases.Checks],
classOf[chisel3.stage.phases.Elaborate],
classOf[chisel3.stage.phases.AddImplicitOutputFile],