diff options
| author | Jack Koenig | 2018-07-10 18:34:59 -0700 |
|---|---|---|
| committer | GitHub | 2018-07-10 18:34:59 -0700 |
| commit | 61810bc68020e087f9464c9eceb574ed2127e44b (patch) | |
| tree | d8a4389793925558ac7c5efd146ae08316b0f35c /chiselFrontend/src/main/scala/chisel3/core/Aggregate.scala | |
| parent | 9591d690f5a3d71fd5de7a0fb2d67a63e8079f48 (diff) | |
Fix use of read-only refs on rhs of connect in compatibility mode (#854)
Diffstat (limited to 'chiselFrontend/src/main/scala/chisel3/core/Aggregate.scala')
| -rw-r--r-- | chiselFrontend/src/main/scala/chisel3/core/Aggregate.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chiselFrontend/src/main/scala/chisel3/core/Aggregate.scala b/chiselFrontend/src/main/scala/chisel3/core/Aggregate.scala index b1e86ea7..3dbce379 100644 --- a/chiselFrontend/src/main/scala/chisel3/core/Aggregate.scala +++ b/chiselFrontend/src/main/scala/chisel3/core/Aggregate.scala @@ -77,9 +77,9 @@ sealed abstract class Aggregate extends Data { // If the source is a DontCare, generate a DefInvalid for the sink, // otherwise, issue a Connect. if (that == DontCare) { - pushCommand(DefInvalid(sourceInfo, this.lref)) + pushCommand(DefInvalid(sourceInfo, Node(this))) } else { - pushCommand(BulkConnect(sourceInfo, this.lref, that.lref)) + pushCommand(BulkConnect(sourceInfo, Node(this), Node(that))) } } |
