aboutsummaryrefslogtreecommitdiff
path: root/test/passes/lower-to-ground/bundle-vecs.fir
diff options
context:
space:
mode:
authorazidar2015-07-13 16:22:43 -0700
committerazidar2015-07-14 11:29:55 -0700
commit271e1bf5ed56847c1ce7d50bdb7f1db9ccc5ea55 (patch)
tree8b1cdfcfc97a9710bd1bc5be973578f712cfa253 /test/passes/lower-to-ground/bundle-vecs.fir
parent0bfb3618b654a4082cc2780887b3ca32e374f455 (diff)
Added tests for clocks. Added remove scope and special chars passes. Added tests. Made more tests pass
Diffstat (limited to 'test/passes/lower-to-ground/bundle-vecs.fir')
-rw-r--r--test/passes/lower-to-ground/bundle-vecs.fir24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/passes/lower-to-ground/bundle-vecs.fir b/test/passes/lower-to-ground/bundle-vecs.fir
index e71e9104..ebf81093 100644
--- a/test/passes/lower-to-ground/bundle-vecs.fir
+++ b/test/passes/lower-to-ground/bundle-vecs.fir
@@ -7,23 +7,23 @@ circuit top :
wire j : { x : UInt<32>, flip y : UInt<32> }
wire a : { x : UInt<32>, flip y : UInt<32> }[2]
- ; CHECK: wire a$0$x : UInt<32>
- ; CHECK: wire a$0$y : UInt<32>
- ; CHECK: wire a$1$x : UInt<32>
- ; CHECK: wire a$1$y : UInt<32>
+ ; CHECK: wire a_0_x : UInt<32>
+ ; CHECK: wire a_0_y : UInt<32>
+ ; CHECK: wire a_1_x : UInt<32>
+ ; CHECK: wire a_1_y : UInt<32>
infer accessor b = a[i]
- ; CHECK: wire b$x : UInt<32>
- ; CHECK: wire b$y : UInt<32>
- ; CHECK: b$x := (a$0$x a$1$x)[i]
- ; CHECK: (a$0$y a$1$y)[i] := b$y
+ ; CHECK: wire b_x : UInt<32>
+ ; CHECK: wire b_y : UInt<32>
+ ; CHECK: b_x := (a_0_x a_1_x)[i]
+ ; CHECK: (a_0_y a_1_y)[i] := b_y
j := b
infer accessor c = a[i]
- ; CHECK: wire c$x : UInt<32>
- ; CHECK: wire c$y : UInt<32>
- ; CHECK: (a$0$x a$1$x)[i] := c$x
- ; CHECK: c$y := (a$0$y a$1$y)[i]
+ ; CHECK: wire c_x : UInt<32>
+ ; CHECK: wire c_y : UInt<32>
+ ; CHECK: (a_0_x a_1_x)[i] := c_x
+ ; CHECK: c_y := (a_0_y a_1_y)[i]
c := j