diff options
| author | azidar | 2016-01-25 15:34:32 -0800 |
|---|---|---|
| committer | azidar | 2016-01-25 15:34:32 -0800 |
| commit | 25131f76567f92f18a46c41156f3a88b319591de (patch) | |
| tree | eaa8fa27be8daac6649b9554df600cc2f8b1468c /src/main/stanza/firrtl-ir.stanza | |
| parent | 63928c30dbf074deed522fb99099b4d82c07b602 (diff) | |
Added isinvalid and validif
Diffstat (limited to 'src/main/stanza/firrtl-ir.stanza')
| -rw-r--r-- | src/main/stanza/firrtl-ir.stanza | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/stanza/firrtl-ir.stanza b/src/main/stanza/firrtl-ir.stanza index 6a69b9ac..4d906c70 100644 --- a/src/main/stanza/firrtl-ir.stanza +++ b/src/main/stanza/firrtl-ir.stanza @@ -89,6 +89,10 @@ public defstruct Mux <: Expression : tval: Expression fval: Expression type: Type with: (as-method => true) +public defstruct ValidIf <: Expression : + cond: Expression + value: Expression + type: Type with: (as-method => true) public defstruct UIntValue <: Expression : value: BigInt width: Width @@ -152,6 +156,9 @@ public defstruct Connect <: Stmt : ;LOW info: FileInfo with: (as-method => true) loc: Expression exp: Expression +public defstruct IsInvalid <: Stmt : ;LOW + info: FileInfo with: (as-method => true) + exp: Expression public defstruct Stop <: Stmt : ;LOW info: FileInfo with: (as-method => true) ret: Int |
