diff options
| author | azidar | 2015-12-15 09:07:37 -0800 |
|---|---|---|
| committer | azidar | 2016-01-16 14:28:17 -0800 |
| commit | c8d92b7fff049b2c2aa0b295e283002eeb2e2cb6 (patch) | |
| tree | dead31ea5d6206b4be96c4b64b53e5e1bdc9d001 | |
| parent | bc4b0e9d2e9ba32f7fbb9813d31df306fb7a8e0e (diff) | |
WIP adding chirrtl
| -rw-r--r-- | spec/spec.pdf | bin | 247435 -> 424770 bytes | |||
| -rw-r--r-- | src/main/stanza/firrtl-ir.stanza | 13 |
2 files changed, 6 insertions, 7 deletions
diff --git a/spec/spec.pdf b/spec/spec.pdf Binary files differindex d713ef56..8dac93d9 100644 --- a/spec/spec.pdf +++ b/spec/spec.pdf diff --git a/src/main/stanza/firrtl-ir.stanza b/src/main/stanza/firrtl-ir.stanza index 55ded790..d9586df9 100644 --- a/src/main/stanza/firrtl-ir.stanza +++ b/src/main/stanza/firrtl-ir.stanza @@ -162,11 +162,11 @@ public defstruct Empty <: Stmt ;LOW ; CHIRRTL Features -public defstruct MPortDir -public val MRead = MPortDir() -public val MWrite = MPortDir() -public val MReadWrite = MPortDir() - +public definterface MPortDir +public val MRead = new MPortDir +public val MWrite = new MPortDir +public val MReadWrite = new MPortDir + public defstruct CDefMemory <: Stmt : ;LOW info: FileInfo with: (as-method => true) name: Symbol @@ -177,8 +177,7 @@ public defstruct CDefMPort <: Stmt : info: FileInfo with: (as-method => true) name: Symbol mem: Symbol - index: Expression - clk: Expression + exps: List<Expression> direction: MPortDir public definterface Type |
