diff options
| author | ducky | 2018-05-11 15:49:03 -0700 |
|---|---|---|
| committer | Richard Lin | 2018-07-04 18:39:28 -0500 |
| commit | 0d157633104cdd96b881726802c7691783aeb7e6 (patch) | |
| tree | c23419f3999010a97b83757adcf9d375f3bce0eb /chiselFrontend/src/main/scala/chisel3/core/Bits.scala | |
| parent | 6ff91db33279c9f3ccbafe993cf4abee0542298a (diff) | |
broken
Diffstat (limited to 'chiselFrontend/src/main/scala/chisel3/core/Bits.scala')
| -rw-r--r-- | chiselFrontend/src/main/scala/chisel3/core/Bits.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chiselFrontend/src/main/scala/chisel3/core/Bits.scala b/chiselFrontend/src/main/scala/chisel3/core/Bits.scala index 03125488..0550a72c 100644 --- a/chiselFrontend/src/main/scala/chisel3/core/Bits.scala +++ b/chiselFrontend/src/main/scala/chisel3/core/Bits.scala @@ -75,6 +75,8 @@ sealed abstract class Bits(width: Width) def cloneType: this.type = cloneTypeWidth(width) + override def elementLitArg: Option[LitArg] = litArgOption + protected def litArgOption: Option[LitArg] = topBindingOpt match { case Some(ElementLitBinding(litArg)) => Some(litArg) case Some(BundleLitBinding(litMap)) => litMap.get(this) |
