summaryrefslogtreecommitdiff
path: root/chiselFrontend/src/main/scala/chisel3/internal
diff options
context:
space:
mode:
authorJim Lawson2016-08-12 14:17:52 -0700
committerJim Lawson2016-08-12 14:17:52 -0700
commit4ab2aa0e9209000fb0ba1299ac18db2e033f708f (patch)
tree39196e284bcf1d06149fa12d61fe63bb34071f6a /chiselFrontend/src/main/scala/chisel3/internal
parent8c919f86fec33f1cdb367ae5e13f0cb7d5071ef5 (diff)
Use compileOptions to determine if Missing...FieldExceptions are thrown.
Diffstat (limited to 'chiselFrontend/src/main/scala/chisel3/internal')
-rw-r--r--chiselFrontend/src/main/scala/chisel3/internal/Builder.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/chiselFrontend/src/main/scala/chisel3/internal/Builder.scala b/chiselFrontend/src/main/scala/chisel3/internal/Builder.scala
index dddc261e..9f2b1631 100644
--- a/chiselFrontend/src/main/scala/chisel3/internal/Builder.scala
+++ b/chiselFrontend/src/main/scala/chisel3/internal/Builder.scala
@@ -118,6 +118,7 @@ private[chisel3] object Builder {
def idGen: IdGen = dynamicContext.idGen
def globalNamespace: Namespace = dynamicContext.globalNamespace
def components: ArrayBuffer[Component] = dynamicContext.components
+ def compileOptions = dynamicContext.compileOptions
def currentModule: Option[Module] = dynamicContext.currentModule
def currentModule_=(target: Option[Module]): Unit = {
@@ -133,7 +134,6 @@ private[chisel3] object Builder {
// TODO(twigg): Ideally, binding checks and new bindings would all occur here
// However, rest of frontend can't support this yet.
- def compileOptions = dynamicContext.compileOptions
def pushCommand[T <: Command](c: T): T = {
forcedModule._commands += c
c