diff options
| author | azidar | 2015-11-06 18:55:39 -0800 |
|---|---|---|
| committer | azidar | 2016-01-16 14:28:16 -0800 |
| commit | 9113d54b61b681215a3cc9fcf44e64167fad0568 (patch) | |
| tree | 3cf0e1d3e48397a71c398fad38bef8af0c827e09 /src/main/stanza/ir-parser.stanza | |
| parent | ffa090c10d6210395e3f304e56008e2183a85698 (diff) | |
WIP. Compiles, need to test
Diffstat (limited to 'src/main/stanza/ir-parser.stanza')
| -rw-r--r-- | src/main/stanza/ir-parser.stanza | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/stanza/ir-parser.stanza b/src/main/stanza/ir-parser.stanza index 8f4c41dd..fe8af96f 100644 --- a/src/main/stanza/ir-parser.stanza +++ b/src/main/stanza/ir-parser.stanza @@ -276,7 +276,7 @@ defsyntax firrtl : stmt = (inst ?name:#id! #of! ?m:#id!) : DefInstance(first-info(form),name,m) stmt = (node ?name:#id! #=! ?e:#exp!) : DefNode(first-info(form),name,e) stmt = (poison ?name:#id! #:! ?t:#type!) : DefPoison(first-info(form),name, t) - stmt = (stop(?ret:#int,)) : Stop(first-info(form),ret,clk) + stmt = (stop(?clk:#exp,?ret:#int)) : Stop(first-info(form),ret,clk) stmt = (printf(?clk:#exp ?str:#string ?es:#exp ...)) : Print(first-info(form),str,es,clk) stmt = (?s:#stmt/when) : s |
