diff options
| author | azidar | 2016-01-29 18:14:41 -0800 |
|---|---|---|
| committer | azidar | 2016-02-09 18:55:25 -0800 |
| commit | 0181686fe4bdf24f9e22f406c43dbeb98789cb8b (patch) | |
| tree | 1b99f826c9f58a9119e030a0ec53de3b9a002c2f /src/main/scala/firrtl/PrimOps.scala | |
| parent | e2177899c82e464f853e4daf8d23c11d27ca5157 (diff) | |
WIP. Got to-working-ir working
Diffstat (limited to 'src/main/scala/firrtl/PrimOps.scala')
| -rw-r--r-- | src/main/scala/firrtl/PrimOps.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/scala/firrtl/PrimOps.scala b/src/main/scala/firrtl/PrimOps.scala index 0da0e01e..4732e756 100644 --- a/src/main/scala/firrtl/PrimOps.scala +++ b/src/main/scala/firrtl/PrimOps.scala @@ -56,14 +56,14 @@ object PrimOps extends LazyLogging { case (t1: UIntType, t2: UIntType) => UIntType(UnknownWidth) case (t1: SIntType, t2) => SIntType(UnknownWidth) case (t1, t2: SIntType) => SIntType(UnknownWidth) - case _ => UnknownType + case _ => UnknownType() } } def ofType(op: Expression): Type = { op.getType match { case t: UIntType => UIntType(UnknownWidth) case t: SIntType => SIntType(UnknownWidth) - case _ => UnknownType + case _ => UnknownType() } } |
