From 41a5d441079d518e91d7c9d80b3504c0560deb0a Mon Sep 17 00:00:00 2001 From: azidar Date: Wed, 27 Jul 2016 13:48:50 -0700 Subject: Fixed reg concrete syntax. #197. --- spec/spec.pdf | Bin 244552 -> 244959 bytes spec/spec.tex | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec.pdf b/spec/spec.pdf index 2657bd51..bf5e4d23 100644 Binary files a/spec/spec.pdf and b/spec/spec.pdf differ diff --git a/spec/spec.tex b/spec/spec.tex index 72caadd0..406f8c5e 100644 --- a/spec/spec.tex +++ b/spec/spec.tex @@ -1754,7 +1754,7 @@ The concrete syntax of FIRRTL is defined in section \ref{syntax_tree}. Productio &\pipe &\pd{type}\vv{[}\pd{int}\vv{]} &\text{Vector}\\ \pd{field} &= &\opt{\vv{flip}} \pd{id} \vv{:} \pd{type} &\text{Bundle Field}\\ \pd{stmt} &= &\opt{\pd{info}} \vv{wire} \pd{id} \vv{:} \pd{type} &\text{Wire}\\ - &\pipe &\opt{\pd{info}} \vv{reg} \pd{id} \vv{:} \pd{type}, \pd{exp} \opt{\pd{exp}, \pd{exp}} &\text{Register}\\ + &\pipe &\opt{\pd{info}} \vv{reg} \pd{id} \vv{:} \pd{type} \opt{\vv{(with:} \vv{\{reset => (}\pd{exp}, \pd{exp}\vv{)\})}} &\text{Register}\\ &\pipe &\opt{\pd{info}} \vv{mem} \pd{id} \vv{:} \vv{(} &\text{Memory}\\ && \verb| |\vv{data-type =>} \pd{type}\\ && \verb| |\vv{depth =>} \pd{int}\\ -- cgit v1.2.3