aboutsummaryrefslogtreecommitdiff
path: root/test/passes/expand-connect-indexed
diff options
context:
space:
mode:
authorazidar2015-04-08 17:31:07 -0700
committerazidar2015-04-08 17:31:07 -0700
commit371afc84d857f1422451d8ec2972d7b98588739b (patch)
treed0d5c44c422502c7a7d3bfbad27950bc2f93e8f0 /test/passes/expand-connect-indexed
parente5b9f6ec710e8573ce262330731bebc7524296e5 (diff)
Fixed bug in lowering that incorrectly determined genders when subfielded
Diffstat (limited to 'test/passes/expand-connect-indexed')
-rw-r--r--test/passes/expand-connect-indexed/bundle-vecs.fir20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/passes/expand-connect-indexed/bundle-vecs.fir b/test/passes/expand-connect-indexed/bundle-vecs.fir
index ce14c7ba..f3754a32 100644
--- a/test/passes/expand-connect-indexed/bundle-vecs.fir
+++ b/test/passes/expand-connect-indexed/bundle-vecs.fir
@@ -7,20 +7,20 @@ circuit top :
wire j : UInt
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)
accessor b = a[i]
- ; CHECK: wire b#x : UInt(32)
- ; CHECK: wire b#y : UInt(32)
- ; CHECK: b#x := a#0#x
+ ; CHECK: wire b$x : UInt(32)
+ ; CHECK: wire b$y : UInt(32)
+ ; CHECK: b$x := a$0$x
; CHECK: when equal-uu(i, UInt(1)) :
- ; CHECK: b#x := a#1#x
- ; CHECK: a#0#y := b#y
+ ; CHECK: b$x := a$1$x
+ ; CHECK: a$0$y := b$y
; CHECK: when equal-uu(i, UInt(1)) :
- ; CHECK: a#1#y := b#y
+ ; CHECK: a$1$y := b$y
j := b
; CHECK: Finished Expand Indexed Connects