diff options
| author | azidar | 2016-01-31 12:59:31 -0800 |
|---|---|---|
| committer | azidar | 2016-02-09 18:57:06 -0800 |
| commit | e985d47312458459e9ebe42fe99b5a063c08e637 (patch) | |
| tree | d726c711e86d6e948a220a568dcae0a997629d18 /test/passes/remove-accesses/bundle-vecs.fir | |
| parent | 2bd423fa061fb3e0973fa83e98f2877fd4616746 (diff) | |
Changed stanza output of UInt/SInt to include widths. Made tests match accordingly
Diffstat (limited to 'test/passes/remove-accesses/bundle-vecs.fir')
| -rw-r--r-- | test/passes/remove-accesses/bundle-vecs.fir | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/passes/remove-accesses/bundle-vecs.fir b/test/passes/remove-accesses/bundle-vecs.fir index e618892e..6370ace1 100644 --- a/test/passes/remove-accesses/bundle-vecs.fir +++ b/test/passes/remove-accesses/bundle-vecs.fir @@ -20,25 +20,25 @@ circuit top : b.y <= UInt(1) ; CHECK: wire i : UInt<1> -; CHECK: i <= UInt("h1") +; CHECK: i <= UInt<1>("h1") ; CHECK: wire j : UInt<32> -; CHECK: j <= UInt("h1") +; CHECK: j <= UInt<1>("h1") ; CHECK: wire a : { x : UInt<32>, flip y : UInt<32>}[2] -; CHECK: a[0].x <= UInt("h1") -; CHECK: a[0].y <= UInt("h1") -; CHECK: a[1].x <= UInt("h1") -; CHECK: a[1].y <= UInt("h1") +; CHECK: a[0].x <= UInt<1>("h1") +; CHECK: a[0].y <= UInt<1>("h1") +; CHECK: a[1].x <= UInt<1>("h1") +; CHECK: a[1].y <= UInt<1>("h1") ; CHECK: wire b : { x : UInt<32>, flip y : UInt<32>} ; CHECK: wire GEN_0 : UInt<32> ; CHECK: GEN_0 <= a[0].x -; CHECK: when eq(UInt("h1"), i) : GEN_0 <= a[1].x +; CHECK: when eq(UInt<1>("h1"), i) : GEN_0 <= a[1].x ; CHECK: b.x <= GEN_0 ; CHECK: wire GEN_1 : UInt<32> -; CHECK: when eq(UInt("h0"), i) : a[0].y <= GEN_1 -; CHECK: when eq(UInt("h1"), i) : a[1].y <= GEN_1 +; CHECK: when eq(UInt<1>("h0"), i) : a[0].y <= GEN_1 +; CHECK: when eq(UInt<1>("h1"), i) : a[1].y <= GEN_1 ; CHECK: GEN_1 <= b.y ; CHECK: j <= b.x -; CHECK: b.y <= UInt("h1") +; CHECK: b.y <= UInt<1>("h1") ; CHECK: Finished Remove Access ; CHECK: Done! |
