diff options
| author | azidar | 2016-01-16 12:25:03 -0800 |
|---|---|---|
| committer | azidar | 2016-01-16 14:28:19 -0800 |
| commit | c97f62eaff92491473fabfcc7988de9702b71e42 (patch) | |
| tree | 3cf6a319518e9746a02fb8321e08b69ed11433f8 /src/main/stanza/compilers.stanza | |
| parent | 690a74f397a51cb919a7198ea41a04273120d011 (diff) | |
Fixed up minor errors after rebase onto master
Diffstat (limited to 'src/main/stanza/compilers.stanza')
| -rw-r--r-- | src/main/stanza/compilers.stanza | 78 |
1 files changed, 49 insertions, 29 deletions
diff --git a/src/main/stanza/compilers.stanza b/src/main/stanza/compilers.stanza index 34e5d28d..cfc7824b 100644 --- a/src/main/stanza/compilers.stanza +++ b/src/main/stanza/compilers.stanza @@ -8,6 +8,7 @@ defpackage firrtl/compiler : ;import firrtl/verilog import firrtl/ir2 import firrtl/ir-utils + import firrtl/firrtl ;public defstruct StandardFlo <: Compiler : ; with-output : (() -> False) -> False with: (as-method => true) @@ -120,35 +121,54 @@ public defmethod backend (c:StandardLoFIRRTL) -> List<Pass> : to-list $ [ FIRRTL(with-output(c)) ] public defmethod passes (c:StandardLoFIRRTL) -> List<Pass> : to-list $ [ - RemoveSpecialChars() ;R - ;RemoveScopes() ;R - CheckHighForm() ;R - TempElimination() ;R - ToWorkingIR() ;R -> W - ResolveKinds() ;W - InferTypes() ;R - ResolveGenders() ;W - CheckGenders() ;W - CheckKinds() ;W - CheckTypes() ;R - ExpandAccessors() ;W - LowerToGround() ;W - ;ExpandIndexedConnects() ;W - InlineIndexed() - InferTypes() ;R - CheckGenders() ;W - ExpandWhens() ;W - InferWidths() ;R - ToRealIR() ;W -> R - CheckWidths() ;R - Pad() ;R - ConstProp() ;R - SplitExp() ;R - CheckWidths() ;R - CheckHighForm() ;R - CheckLowForm() ;R - CheckInitialization() ;R - FIRRTL(with-output(c)) ;R + ;=============== + ToIR() + ;=============== + CheckHighForm() + ;=============== + ToWorkingIR() + ;=============== + ResolveKinds() + InferTypes() + CheckTypes() + ResolveGenders() + CheckGenders() + InferWidths() + CheckWidths() + ;=============== + Resolve() + ;=============== + ExpandConnects() + ;=============== + RemoveAccesses() + ;=============== + ExpandWhens() + ;=============== + CheckInitialization() + ;=============== + ConstProp() + ;=============== + SplitExp() + ;=============== + ResolveKinds() + InferTypes() + CheckTypes() + ResolveGenders() + CheckGenders() + InferWidths() + CheckWidths() + ;=============== + LowerTypes() + ;=============== + ResolveKinds() + InferTypes() + CheckTypes() + ResolveGenders() + CheckGenders() + InferWidths() + CheckWidths() + ;=============== + FIRRTL(with-output(c)) ] ;============= DRIVER ====================================== |
