aboutsummaryrefslogtreecommitdiff
path: root/test/passes/inline-indexers/simple2.fir
diff options
context:
space:
mode:
authorazidar2015-12-09 18:31:45 -0800
committerazidar2016-01-16 14:28:17 -0800
commitbe78d49aa01c097978f69a3b022acb2047fdf438 (patch)
tree76dc4b32b5e6861938404ebb4d124ca5b87d13a5 /test/passes/inline-indexers/simple2.fir
parentc427b31a1ef8361b643d5f7435aeb42472dfe626 (diff)
New memory works with verilog. Slowly changing tests and fixing bugs.
Decided to not have Conditionally in low firrtl - instead, Print and Stop have enables
Diffstat (limited to 'test/passes/inline-indexers/simple2.fir')
-rw-r--r--test/passes/inline-indexers/simple2.fir18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/passes/inline-indexers/simple2.fir b/test/passes/inline-indexers/simple2.fir
index 13fc4416..c3562b0d 100644
--- a/test/passes/inline-indexers/simple2.fir
+++ b/test/passes/inline-indexers/simple2.fir
@@ -7,19 +7,19 @@ circuit top :
output o2 : UInt
wire m : UInt<32>[2]
wire i : UInt
- m[0] := UInt("h1")
- m[1] := UInt("h1")
- i := UInt("h1")
+ m[0] <= UInt("h1")
+ m[1] <= UInt("h1")
+ i <= UInt("h1")
infer accessor a = m[i]
- o1 := a
- o2 := a
+ o1 <= a
+ o2 <= a
;CHECK: wire a_2 : UInt<32>
-;CHECK: a_2 := m$0
-;CHECK: when eqv(i_1, UInt("h1")) : a_2 := m$1
+;CHECK: a_2 <= m$0
+;CHECK: when eqv(i_1, UInt("h1")) : a_2 <= m$1
;CHECK: wire a_3 : UInt<32>
-;CHECK: a_3 := m$0
-;CHECK: when eqv(i_2, UInt("h1")) : a_3 := m$1
+;CHECK: a_3 <= m$0
+;CHECK: when eqv(i_2, UInt("h1")) : a_3 <= m$1