From 9113d54b61b681215a3cc9fcf44e64167fad0568 Mon Sep 17 00:00:00 2001 From: azidar Date: Fri, 6 Nov 2015 18:55:39 -0800 Subject: WIP. Compiles, need to test --- src/main/stanza/ir-parser.stanza | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/stanza/ir-parser.stanza') 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 -- cgit v1.2.3