aboutsummaryrefslogtreecommitdiff
path: root/src/main/stanza/firrtl-ir.stanza
diff options
context:
space:
mode:
authorazidar2015-04-16 10:29:08 -0700
committerazidar2015-04-16 10:29:08 -0700
commitbd9eaea8a6ba91ad77988cd82e89c058ad05ef2a (patch)
tree6519dc1338bbeeb00099c46a3fa266866d11c0dd /src/main/stanza/firrtl-ir.stanza
parentf9b341d59e7597b46ac6354f97e83a5e96036c5c (diff)
parent5d9f23db98f003b14cc4f47b7c92c414131b780f (diff)
Merged with new stanza
Diffstat (limited to 'src/main/stanza/firrtl-ir.stanza')
-rw-r--r--src/main/stanza/firrtl-ir.stanza16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/main/stanza/firrtl-ir.stanza b/src/main/stanza/firrtl-ir.stanza
index 358ad9aa..d9105430 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
@@ -121,15 +121,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
@@ -140,19 +140,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