diff options
Diffstat (limited to 'src/test/scala/firrtlTests/fixed')
| -rw-r--r-- | src/test/scala/firrtlTests/fixed/FixedTypeInferenceSpec.scala | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/test/scala/firrtlTests/fixed/FixedTypeInferenceSpec.scala b/src/test/scala/firrtlTests/fixed/FixedTypeInferenceSpec.scala index 37209786..a866836f 100644 --- a/src/test/scala/firrtlTests/fixed/FixedTypeInferenceSpec.scala +++ b/src/test/scala/firrtlTests/fixed/FixedTypeInferenceSpec.scala @@ -197,12 +197,11 @@ class FixedTypeInferenceSpec extends FirrtlFlatSpec { | module Unit : | input a : Fixed<10><<2>> | input b : Fixed<7><<3>> - | input c : UInt<2> | output cat : UInt | output head : UInt | output tail : UInt | output bits : UInt - | cat <= cat(a, c) + | cat <= cat(a, b) | head <= head(a, 3) | tail <= tail(a, 3) | bits <= bits(a, 6, 3)""".stripMargin @@ -211,12 +210,11 @@ class FixedTypeInferenceSpec extends FirrtlFlatSpec { | module Unit : | input a : Fixed<10><<2>> | input b : Fixed<7><<3>> - | input c : UInt<2> - | output cat : UInt<12> + | output cat : UInt<17> | output head : UInt<3> | output tail : UInt<7> | output bits : UInt<4> - | cat <= cat(a, c) + | cat <= cat(a, b) | head <= head(a, 3) | tail <= tail(a, 3) | bits <= bits(a, 6, 3)""".stripMargin |
