diff options
| author | Hasan Genc | 2018-10-29 15:25:28 -0700 |
|---|---|---|
| committer | Schuyler Eldridge | 2018-10-29 18:25:28 -0400 |
| commit | 4dddde56d0c1a66a05457c7dda409238d2de8e8a (patch) | |
| tree | 70c0e51659d7f510bf2c22ea86c766ef763bb527 /chiselFrontend | |
| parent | 012c503044b35fb7a432b39a769cd06e29ace2eb (diff) | |
Turn off strong enum annotations (#916)
* Turned off strong enum annotations because they weren't working
with Vec indexes
* Ignore annotation tests using ScalaTest's 'ignore', rather than
by commenting them out
Diffstat (limited to 'chiselFrontend')
| -rw-r--r-- | chiselFrontend/src/main/scala/chisel3/core/StrongEnum.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chiselFrontend/src/main/scala/chisel3/core/StrongEnum.scala b/chiselFrontend/src/main/scala/chisel3/core/StrongEnum.scala index a9f51387..889e9b11 100644 --- a/chiselFrontend/src/main/scala/chisel3/core/StrongEnum.scala +++ b/chiselFrontend/src/main/scala/chisel3/core/StrongEnum.scala @@ -32,7 +32,7 @@ object EnumAnnotations { import EnumAnnotations._ -abstract class EnumType(private val factory: EnumFactory, selfAnnotating: Boolean = true) extends Element { +abstract class EnumType(private val factory: EnumFactory, selfAnnotating: Boolean = false) extends Element { override def cloneType: this.type = factory().asInstanceOf[this.type] private[core] def compop(sourceInfo: SourceInfo, op: PrimOp, other: EnumType): Bool = { |
