From dbe404460fd3062d940f86a02df044b8cc4be0fd Mon Sep 17 00:00:00 2001 From: Jack Koenig Date: Mon, 25 Feb 2019 15:15:01 -0800 Subject: Run CheckHighForm after all non-emitter transforms in firrtl tests (#548) * Run CheckHighForm after all non-emitter transforms in firrtl tests * Remove shlw from checks.scala * Removed mistake in fix * Fix FirrtlSpec fix --- src/main/scala/firrtl/passes/Checks.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/scala/firrtl/passes/Checks.scala b/src/main/scala/firrtl/passes/Checks.scala index 457940d7..1268a149 100644 --- a/src/main/scala/firrtl/passes/Checks.scala +++ b/src/main/scala/firrtl/passes/Checks.scala @@ -76,7 +76,7 @@ object CheckHighForm extends Pass { e.op match { case Add | Sub | Mul | Div | Rem | Lt | Leq | Gt | Geq | - Eq | Neq | Dshl | Dshr | And | Or | Xor | Cat => + Eq | Neq | Dshl | Dshr | And | Or | Xor | Cat | Dshlw => correctNum(Option(2), 0) case AsUInt | AsSInt | AsClock | AsAsyncReset | Cvt | Neq | Not => correctNum(Option(1), 0) -- cgit v1.2.3