From 3cbffd9006e156ac2f7cd61702ce7f99360fcbd0 Mon Sep 17 00:00:00 2001 From: azidar Date: Wed, 5 Aug 2015 22:01:31 -0700 Subject: Added type inference before gender check --- src/main/stanza/compilers.stanza | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/stanza/compilers.stanza b/src/main/stanza/compilers.stanza index c3c29c40..e55f43c1 100644 --- a/src/main/stanza/compilers.stanza +++ b/src/main/stanza/compilers.stanza @@ -56,8 +56,9 @@ public defmethod passes (c:StandardVerilog) -> List : CheckGenders() ExpandAccessors() LowerToGround() - CheckGenders() ExpandIndexedConnects() + InferTypes() + CheckGenders() ExpandWhens() InferWidths() Pad() -- cgit v1.2.3