diff options
Diffstat (limited to 'src/main/stanza/custom-compiler.stanza')
| -rw-r--r-- | src/main/stanza/custom-compiler.stanza | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/src/main/stanza/custom-compiler.stanza b/src/main/stanza/custom-compiler.stanza index 0f43da58..908f70ff 100644 --- a/src/main/stanza/custom-compiler.stanza +++ b/src/main/stanza/custom-compiler.stanza @@ -1,47 +1,47 @@ -defpackage firrtl/custom-compiler : - import core - import verse - import firrtl/ir-utils - import firrtl/ir2 - import firrtl/passes - import firrtl/errors - import firrtl/verilog - import firrtl/custom-passes - -public defstruct InstrumentedVerilog <: Compiler : - with-output: (() -> False) -> False with: (as-method => true) - args: List<String> -public defmethod passes (c:InstrumentedVerilog) -> List<Pass> : - to-list $ [ - WhenCoverage(args(c)[0],args(c)[1]) - RemoveSpecialChars() - RemoveScopes() - CheckHighForm() - TempElimination() - ToWorkingIR() - ;; MakeExplicitReset() - ResolveKinds() - CheckKinds() - InferTypes() - CheckTypes() - ResolveGenders() - CheckGenders() - ExpandAccessors() - LowerToGround() - InlineIndexed() - InferTypes() - CheckGenders() - ExpandWhens() - InferWidths() - ;Pad() - ConstProp() - SplitExp() - ToRealIR() - ;RemoveSpecialChars() - CheckHighForm() - CheckLowForm() - CheckInitialization() - Verilog(with-output(c)) - ] - - +;defpackage firrtl/custom-compiler : +; import core +; import verse +; import firrtl/ir-utils +; import firrtl/ir2 +; import firrtl/passes +; import firrtl/errors +; import firrtl/verilog +; import firrtl/custom-passes +; +;public defstruct InstrumentedVerilog <: Compiler : +; with-output: (() -> False) -> False with: (as-method => true) +; args: List<String> +;public defmethod passes (c:InstrumentedVerilog) -> List<Pass> : +; to-list $ [ +; WhenCoverage(args(c)[0],args(c)[1]) +; RemoveSpecialChars() +; RemoveScopes() +; CheckHighForm() +; TempElimination() +; ToWorkingIR() +; ;; MakeExplicitReset() +; ResolveKinds() +; CheckKinds() +; InferTypes() +; CheckTypes() +; ResolveGenders() +; CheckGenders() +; ExpandAccessors() +; LowerToGround() +; InlineIndexed() +; InferTypes() +; CheckGenders() +; ExpandWhens() +; InferWidths() +; ;Pad() +; ConstProp() +; SplitExp() +; ToRealIR() +; ;RemoveSpecialChars() +; CheckHighForm() +; CheckLowForm() +; CheckInitialization() +; Verilog(with-output(c)) +; ] +; +; |
