aboutsummaryrefslogtreecommitdiff
path: root/src/main/stanza/firrtl-ir.stanza
diff options
context:
space:
mode:
authorazidar2015-07-10 13:25:21 -0700
committerazidar2015-07-14 11:29:55 -0700
commit0bfb3618b654a4082cc2780887b3ca32e374f455 (patch)
tree230b7cbc96589be229e6f3d87f21300fb8fd84c3 /src/main/stanza/firrtl-ir.stanza
parent0d63d521de85d1c6b9109e019101d0f575d063f7 (diff)
Added clock support
Diffstat (limited to 'src/main/stanza/firrtl-ir.stanza')
-rw-r--r--src/main/stanza/firrtl-ir.stanza4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/stanza/firrtl-ir.stanza b/src/main/stanza/firrtl-ir.stanza
index b698bae2..b9d2cee4 100644
--- a/src/main/stanza/firrtl-ir.stanza
+++ b/src/main/stanza/firrtl-ir.stanza
@@ -101,6 +101,8 @@ public defstruct DefRegister <: Stmt :
info: FileInfo with: (as-method => true)
name: Symbol
type: Type
+ clock: Expression
+ reset: Expression
public defstruct DefInstance <: Stmt : ;LOW
info: FileInfo with: (as-method => true)
name: Symbol
@@ -110,6 +112,7 @@ public defstruct DefMemory <: Stmt : ;LOW
name: Symbol
type: VectorType
seq?: True|False
+ clock: Expression
public defstruct DefNode <: Stmt : ;LOW
info: FileInfo with: (as-method => true)
name: Symbol
@@ -151,6 +154,7 @@ public defstruct BundleType <: Type :
public defstruct VectorType <: Type :
type: Type
size: Int
+public defstruct ClockType <: Type
public defstruct UnknownType <: Type
public defstruct Field :