diff options
| author | azidar | 2015-05-02 12:20:41 -0700 |
|---|---|---|
| committer | azidar | 2015-05-02 12:20:41 -0700 |
| commit | 93ba0196dc2ba88e4e34346e5fbc105743a8eaa0 (patch) | |
| tree | 37faf9619e8c201910390cef5079914b8a137cc5 /test/passes | |
| parent | 5c63bea388663b82eb1ea43464dfea055b10a79b (diff) | |
Now when expanding ConnectFrom/ToIndex, create a node for the index so it isn't duplicated for all the whens
Diffstat (limited to 'test/passes')
| -rw-r--r-- | test/passes/expand-connect-indexed/bundle-vecs.fir | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/passes/expand-connect-indexed/bundle-vecs.fir b/test/passes/expand-connect-indexed/bundle-vecs.fir index 35b45b6c..c8235ade 100644 --- a/test/passes/expand-connect-indexed/bundle-vecs.fir +++ b/test/passes/expand-connect-indexed/bundle-vecs.fir @@ -16,11 +16,13 @@ circuit top : ; CHECK: wire b$x : UInt<32> ; CHECK: wire b$y : UInt<32> ; CHECK: b$x := a$0$x - ; CHECK: when eq-uu(i, UInt(1)) : - ; CHECK: b$x := a$1$x + ; CHECK: node b$x#0 = i + ; CHECK: when eq-uu(b$x#0, UInt(1)) : + ; CHECK: b$x := a$1$x ; CHECK: a$0$y := b$y - ; CHECK: when eq-uu(i, UInt(1)) : - ; CHECK: a$1$y := b$y + ; CHECK: node b$y#0 = i + ; CHECK: when eq-uu(b$y#0, UInt(1)) : + ; CHECK: a$1$y := b$y j := b ; CHECK: Finished Expand Indexed Connects |
