diff options
| author | Jack Koenig | 2019-02-25 15:15:01 -0800 |
|---|---|---|
| committer | mergify[bot] | 2019-02-25 23:15:01 +0000 |
| commit | dbe404460fd3062d940f86a02df044b8cc4be0fd (patch) | |
| tree | d5764ab91e010a23b8bfcc9ae80eacad4795b3f4 /src/main | |
| parent | 99a0037756debbfda1843f84f19e792807777e13 (diff) | |
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
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/scala/firrtl/passes/Checks.scala | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
