From 5d9f23db98f003b14cc4f47b7c92c414131b780f Mon Sep 17 00:00:00 2001 From: Patrick Li Date: Fri, 10 Apr 2015 15:03:07 -0700 Subject: Updated Stanza --- src/main/stanza/passes.stanza | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/main/stanza/passes.stanza') diff --git a/src/main/stanza/passes.stanza b/src/main/stanza/passes.stanza index 313191c8..f5bd655a 100644 --- a/src/main/stanza/passes.stanza +++ b/src/main/stanza/passes.stanza @@ -1,8 +1,8 @@ -defpackage firrtl.passes : +defpackage firrtl/passes : import core import verse - import firrtl.ir2 - import firrtl.ir-utils + import firrtl/ir2 + import firrtl/ir-utils import widthsolver import firrtl-main @@ -36,27 +36,27 @@ public val BI-GENDER = new Gender defstruct WRef <: Expression : name: Symbol - type: Type [multi => false] + type: Type with: (as-method => true) kind: Kind - gender: Gender [multi => false] + gender: Gender with: (as-method => true) defstruct WRegInit <: Expression : reg: Expression name: Symbol - type: Type [multi => false] - gender: Gender [multi => false] + type: Type with: (as-method => true) + gender: Gender with: (as-method => true) defstruct WSubfield <: Expression : exp: Expression name: Symbol - type: Type [multi => false] - gender: Gender [multi => false] + type: Type with: (as-method => true) + gender: Gender with: (as-method => true) defstruct WIndex <: Expression : exp: Expression value: Int - type: Type [multi => false] - gender: Gender [multi => false] + type: Type with: (as-method => true) + gender: Gender with: (as-method => true) defstruct WDefAccessor <: Stmt : name: Symbol @@ -893,10 +893,10 @@ defn lower-module (m:Module,table:HashTable f + WRegInit(e,symbol-join([name(e),`\|.init|]),type(e),gender(e)) => f table[name(s)] = regs table[init-sym] = init-regs (s:DefInstance) : -- cgit v1.2.3