diff options
| author | azidar | 2015-12-12 17:23:20 -0800 |
|---|---|---|
| committer | azidar | 2016-01-16 14:28:17 -0800 |
| commit | bc4b0e9d2e9ba32f7fbb9813d31df306fb7a8e0e (patch) | |
| tree | bb22fe87dedc365b4bccdb3f0e7932a7dbe567c1 /src/main/stanza/ir-utils.stanza | |
| parent | 28e4c6a09011cafdd1e3533118f7c3499e0d3dc6 (diff) | |
WIP Almost there, need to generate enable connections
Diffstat (limited to 'src/main/stanza/ir-utils.stanza')
| -rw-r--r-- | src/main/stanza/ir-utils.stanza | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/stanza/ir-utils.stanza b/src/main/stanza/ir-utils.stanza index 0ff2669d..4581fe30 100644 --- a/src/main/stanza/ir-utils.stanza +++ b/src/main/stanza/ir-utils.stanza @@ -330,12 +330,12 @@ defmethod print (o:OutputStream, c:Stmt) : print(o, ")") (c:CDefMemory) : if seq?(c) : - print-all(o, ["smem " name(c) " : " type(c)]) + print-all(o, ["smem " name(c) " : " type(c) "[" size(c) "]"]) else : - print-all(o, ["cmem " name(c) " : " type(c)]) + print-all(o, ["cmem " name(c) " : " type(c) "[" size(c) "]"]) (c:CDefMPort) : print-all(o, [direction(c) " mport " name(c) " = " mem(c) "[" index(c) "], " clk(c)]) - + if not c typeof Conditionally|Begin|Empty: print-debug(o,c) defmethod print (o:OutputStream, m:MPortDir) : |
