diff options
| author | azidar | 2015-08-18 15:37:30 -0700 |
|---|---|---|
| committer | azidar | 2015-08-18 15:37:30 -0700 |
| commit | 6253cb0880a39a046417490ae42da3789a2b5a27 (patch) | |
| tree | 65cf5971f767307e29dfc23765fb6e2b49a3b066 /test/passes/expand-connect-indexed | |
| parent | dc80d4f52a76aab8fcf0053b988658dd3857270c (diff) | |
Fixed so its length is greater than what it connects to. Changed shr to be extract, not >>
Diffstat (limited to 'test/passes/expand-connect-indexed')
| -rw-r--r-- | test/passes/expand-connect-indexed/bundle-vecs.fir | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/passes/expand-connect-indexed/bundle-vecs.fir b/test/passes/expand-connect-indexed/bundle-vecs.fir index 70a52088..9bbdb11c 100644 --- a/test/passes/expand-connect-indexed/bundle-vecs.fir +++ b/test/passes/expand-connect-indexed/bundle-vecs.fir @@ -24,10 +24,10 @@ circuit top : ; CHECK: wire b{{[_$]+}}y : UInt<32> ; CHECK: b{{[_$]+}}x := a{{[_$]+}}0{{[_$]+}}x ; CHECK: node i_1 = i - ; CHECK: when eqv(i_1, UInt("h00000001")) : b{{[_$]+}}x := a{{[_$]+}}1{{[_$]+}}x + ; CHECK: when eqv(i_1, UInt("h1")) : b{{[_$]+}}x := a{{[_$]+}}1{{[_$]+}}x ; CHECK: node i_2 = i - ; CHECK: when eqv(i_2, UInt("h00000000")) : a{{[_$]+}}0{{[_$]+}}y := b{{[_$]+}}y - ; CHECK: when eqv(i_2, UInt("h00000001")) : a{{[_$]+}}1{{[_$]+}}y := b{{[_$]+}}y + ; CHECK: when eqv(i_2, UInt("h0")) : a{{[_$]+}}0{{[_$]+}}y := b{{[_$]+}}y + ; CHECK: when eqv(i_2, UInt("h1")) : a{{[_$]+}}1{{[_$]+}}y := b{{[_$]+}}y j := b.x b.y := UInt(1) |
