aboutsummaryrefslogtreecommitdiff
path: root/src/main/stanza/firrtl-ir.stanza
diff options
context:
space:
mode:
authorazidar2015-03-25 12:56:29 -0700
committerazidar2015-03-25 12:56:29 -0700
commit612132bf95b529d2fafbe96e622f716ca9514679 (patch)
tree43f938a8b778d13fcc9fe49b0cefc95c76c4665c /src/main/stanza/firrtl-ir.stanza
parent167f7c32eeeda55bd868a61b445f8891d1ff3278 (diff)
Correctly do when expansion, minus enables and outputting lowered form
Diffstat (limited to 'src/main/stanza/firrtl-ir.stanza')
-rw-r--r--src/main/stanza/firrtl-ir.stanza25
1 files changed, 4 insertions, 21 deletions
diff --git a/src/main/stanza/firrtl-ir.stanza b/src/main/stanza/firrtl-ir.stanza
index 3d8a4ba9..977c8ca1 100644
--- a/src/main/stanza/firrtl-ir.stanza
+++ b/src/main/stanza/firrtl-ir.stanza
@@ -147,11 +147,12 @@ public defstruct WritePort <: Expression :
index: Expression
type: Type [multi => false]
enable: Expression
+public defstruct Register <: Expression :
+ type: Type [multi => false]
+ value: Expression
+ enable: Expression
public definterface Stmt
-public defstruct LetRec <: Stmt :
- entries: List<KeyValue<Symbol, Element>>
- body: Stmt
public defstruct DefWire <: Stmt :
name: Symbol
type: Type
@@ -182,24 +183,6 @@ public defstruct Connect <: Stmt :
exp: Expression
public defstruct EmptyStmt <: Stmt
-public definterface Element
-public defmulti type (e:Element) -> Type
-
-public defstruct Register <: Element :
- type: Type [multi => false]
- value: Expression
- enable: Expression
-public defstruct Memory <: Element :
- type: Type [multi => false]
- writers: List<WritePort>
-public defstruct Node <: Element :
- type: Type [multi => false]
- value: Expression
-public defstruct Instance <: Element :
- type: Type [multi => false]
- module: Expression
- ports: List<KeyValue<Symbol,Expression>>
-
public definterface Type
public defstruct UIntType <: Type :
width: Width