aboutsummaryrefslogtreecommitdiff
path: root/test/errors
diff options
context:
space:
mode:
authorazidar2015-12-03 15:12:02 -0800
committerazidar2016-01-16 14:28:17 -0800
commitc427b31a1ef8361b643d5f7435aeb42472dfe626 (patch)
tree6ae504ba1b37b9d0fef281b491cf932ac6826c7b /test/errors
parentece8ec00868c182e141e8d1ac75bfb60bfaa87ec (diff)
WIP. Compiles and almost done with verilog backend. Need to think about emitting ports (and the assignments to them)
Diffstat (limited to 'test/errors')
-rw-r--r--test/errors/high-form/Flip-Mem.fir8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/errors/high-form/Flip-Mem.fir b/test/errors/high-form/Flip-Mem.fir
index 38935b57..ebc3ddbf 100644
--- a/test/errors/high-form/Flip-Mem.fir
+++ b/test/errors/high-form/Flip-Mem.fir
@@ -5,5 +5,9 @@
circuit Flip-Mem :
module Flip-Mem :
input clk : Clock
- cmem mc : {x : UInt<3>, flip y : UInt<5>}[10], clk
- smem ms : {x : UInt<3>, flip y : UInt<5>}[10], clk
+ mem mc :
+ depth => 10
+ data-type => {x : UInt<3>, flip y : UInt<5>}
+ write-latency => 1
+ read-latency => 0
+ ;smem ms : {x : UInt<3>, flip y : UInt<5>}[10], clk