diff options
| author | Patrick Li | 2015-04-10 15:03:07 -0700 |
|---|---|---|
| committer | Patrick Li | 2015-04-10 15:03:07 -0700 |
| commit | 5d9f23db98f003b14cc4f47b7c92c414131b780f (patch) | |
| tree | 07ed3675f5668a97004df53ded9da70c6fbb0f95 /src/main/stanza/firrtl-ir.stanza | |
| parent | 64a37e456519af4473592c791f269d72b008bd17 (diff) | |
Updated Stanza
Diffstat (limited to 'src/main/stanza/firrtl-ir.stanza')
| -rw-r--r-- | src/main/stanza/firrtl-ir.stanza | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/main/stanza/firrtl-ir.stanza b/src/main/stanza/firrtl-ir.stanza index f10dba0c..402409c0 100644 --- a/src/main/stanza/firrtl-ir.stanza +++ b/src/main/stanza/firrtl-ir.stanza @@ -1,4 +1,4 @@ -defpackage firrtl.ir2 : +defpackage firrtl/ir2 : import core import verse @@ -117,15 +117,15 @@ public defmulti type (e:Expression) -> Type public defstruct Ref <: Expression : name: Symbol - type: Type [multi => false] + type: Type with: (as-method => true) public defstruct Subfield <: Expression : exp: Expression name: Symbol - type: Type [multi => false] + type: Type with: (as-method => true) public defstruct Index <: Expression : exp: Expression value: Int - type: Type [multi => false] + type: Type with: (as-method => true) public defstruct UIntValue <: Expression : value: Int width: Width @@ -136,19 +136,19 @@ public defstruct DoPrim <: Expression : op: PrimOp args: List<Expression> consts: List<Int> - type: Type [multi => false] + type: Type with: (as-method => true) public defstruct ReadPort <: Expression : mem: Expression index: Expression - type: Type [multi => false] + type: Type with: (as-method => true) enable: Expression public defstruct WritePort <: Expression : mem: Expression index: Expression - type: Type [multi => false] + type: Type with: (as-method => true) enable: Expression public defstruct Register <: Expression : - type: Type [multi => false] + type: Type with: (as-method => true) value: Expression enable: Expression |
