aboutsummaryrefslogtreecommitdiff
path: root/src/main/stanza/custom-compiler.stanza
diff options
context:
space:
mode:
authorazidar2015-07-13 16:22:43 -0700
committerazidar2015-07-13 16:22:43 -0700
commit9b6d8514a3be860562d8d524fa425c87d1537e8a (patch)
treeca46b9703046e23068860b5c5d8d6af01296c000 /src/main/stanza/custom-compiler.stanza
parent1ed6d4a47c92072b12db4b784f239071e4928049 (diff)
Added tests for clocks. Added remove scope and special chars passes. Added tests. Made more tests pass
Diffstat (limited to 'src/main/stanza/custom-compiler.stanza')
-rw-r--r--src/main/stanza/custom-compiler.stanza8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main/stanza/custom-compiler.stanza b/src/main/stanza/custom-compiler.stanza
index 91732f22..4d63a173 100644
--- a/src/main/stanza/custom-compiler.stanza
+++ b/src/main/stanza/custom-compiler.stanza
@@ -14,7 +14,9 @@ public defstruct InstrumentedVerilog <: Compiler :
public defmethod passes (c:InstrumentedVerilog) -> List<Pass> :
to-list $ [
WhenCoverage(args(c)[0],args(c)[1])
- CheckHighForm(expand-delin)
+ RemoveSpecialChars()
+ RemoveScopes()
+ CheckHighForm()
TempElimination()
ToWorkingIR()
;; MakeExplicitReset()
@@ -31,8 +33,8 @@ public defmethod passes (c:InstrumentedVerilog) -> List<Pass> :
InferWidths()
SplitExp()
ToRealIR()
- SpecialRename(`#,`_)
- CheckHighForm(expand-delin)
+ RemoveSpecialChars()
+ CheckHighForm()
CheckLowForm()
Verilog(file(c))
]