diff options
| author | Jack Koenig | 2017-01-20 12:37:40 -0800 |
|---|---|---|
| committer | GitHub | 2017-01-20 12:37:40 -0800 |
| commit | 2e6444cc55b54b59f781a14823e219d9a2413f72 (patch) | |
| tree | 0affb83730db42e41df214e8095d1ff1dd02b162 /chiselFrontend/src/main/scala/chisel3/internal | |
| parent | 4512aeeacf594349cf9a816384e92bf3da63892f (diff) | |
Add Record as new superclass of Bundle (#366)
Record gives uses the power to create collections of heterogenous elements.
Bundle is a special case of Record that uses reflection to populate the
elements of the collection. Bundle also attempts to implement cloneType whereas
users of Record are required to supply one.
Diffstat (limited to 'chiselFrontend/src/main/scala/chisel3/internal')
| -rw-r--r-- | chiselFrontend/src/main/scala/chisel3/internal/Builder.scala | 2 |
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 6e463311..c93dbfc7 100644 --- a/chiselFrontend/src/main/scala/chisel3/internal/Builder.scala +++ b/chiselFrontend/src/main/scala/chisel3/internal/Builder.scala @@ -92,7 +92,7 @@ private[chisel3] trait HasId extends InstanceId { // Uses a namespace to convert suggestion into a true name // Will not do any naming if the reference already assigned. - // (e.g. tried to suggest a name to part of a Bundle) + // (e.g. tried to suggest a name to part of a Record) private[chisel3] def forceName(default: =>String, namespace: Namespace): Unit = if(_ref.isEmpty) { val candidate_name = suggested_name.getOrElse(default) |
