diff options
| author | azidar | 2015-04-08 17:31:07 -0700 |
|---|---|---|
| committer | azidar | 2015-04-08 17:31:07 -0700 |
| commit | 371afc84d857f1422451d8ec2972d7b98588739b (patch) | |
| tree | d0d5c44c422502c7a7d3bfbad27950bc2f93e8f0 /test/passes/lower-to-ground/accessor.fir | |
| parent | e5b9f6ec710e8573ce262330731bebc7524296e5 (diff) | |
Fixed bug in lowering that incorrectly determined genders when subfielded
Diffstat (limited to 'test/passes/lower-to-ground/accessor.fir')
| -rw-r--r-- | test/passes/lower-to-ground/accessor.fir | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/passes/lower-to-ground/accessor.fir b/test/passes/lower-to-ground/accessor.fir index e54868bc..8c12137f 100644 --- a/test/passes/lower-to-ground/accessor.fir +++ b/test/passes/lower-to-ground/accessor.fir @@ -7,19 +7,19 @@ circuit top : wire j : UInt(32) wire a : UInt(32)[4] - ; CHECK: wire a#0 : UInt(32) - ; CHECK: wire a#1 : UInt(32) - ; CHECK: wire a#2 : UInt(32) - ; CHECK: wire a#3 : UInt(32) + ; CHECK: wire a$0 : UInt(32) + ; CHECK: wire a$1 : UInt(32) + ; CHECK: wire a$2 : UInt(32) + ; CHECK: wire a$3 : UInt(32) accessor b = a[i] ; CHECK: wire b : UInt(32) - ; CHECK: b := (a#0 a#1 a#2 a#3)[i] + ; CHECK: b := (a$0 a$1 a$2 a$3)[i] j := b accessor c = a[i] ; CHECK: wire c : UInt(32) - ; CHECK: (a#0 a#1 a#2 a#3)[i] := c + ; CHECK: (a$0 a$1 a$2 a$3)[i] := c c := j mem p : UInt(32)[4] |
