diff options
| author | ducky | 2018-06-28 15:57:13 -0700 |
|---|---|---|
| committer | Richard Lin | 2018-07-04 18:39:28 -0500 |
| commit | 7ab85ec6f781fc48796add6d895174a952383806 (patch) | |
| tree | 77fd3a4706131a5ca90f036fa6b51818f174048a /chiselFrontend/src/main/scala/chisel3/core/Aggregate.scala | |
| parent | 4cf5caf86a072bc4af581536930469b82796dd27 (diff) | |
binding => topBinding so that partial Bundles work and undefined Bundle members properly forward to DontCareBinding
Diffstat (limited to 'chiselFrontend/src/main/scala/chisel3/core/Aggregate.scala')
| -rw-r--r-- | chiselFrontend/src/main/scala/chisel3/core/Aggregate.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chiselFrontend/src/main/scala/chisel3/core/Aggregate.scala b/chiselFrontend/src/main/scala/chisel3/core/Aggregate.scala index c74b5135..54932bcc 100644 --- a/chiselFrontend/src/main/scala/chisel3/core/Aggregate.scala +++ b/chiselFrontend/src/main/scala/chisel3/core/Aggregate.scala @@ -738,7 +738,7 @@ abstract class Bundle(implicit compileOptions: CompileOptions) extends Record { // (which could lead to data conflicts, since it's likely the user didn't know to re-bind them). // This is not guaranteed to catch all cases (for example, Data in Tuples or Iterables). val boundDataParamNames = ctorParamsNameVals.collect { - case (paramName, paramVal: Data) if paramVal.hasBinding => paramName + case (paramName, paramVal: Data) if paramVal.topBindingOpt.isDefined => paramName } if (boundDataParamNames.nonEmpty) { autoClonetypeError(s"constructor parameters (${boundDataParamNames.sorted.mkString(", ")}) have values that are hardware types, which is likely to cause subtle errors." + |
