From e985d47312458459e9ebe42fe99b5a063c08e637 Mon Sep 17 00:00:00 2001 From: azidar Date: Sun, 31 Jan 2016 12:59:31 -0800 Subject: Changed stanza output of UInt/SInt to include widths. Made tests match accordingly --- test/chirrtl/wacc-wdc.fir | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'test/chirrtl') diff --git a/test/chirrtl/wacc-wdc.fir b/test/chirrtl/wacc-wdc.fir index 6610d295..3cb5141d 100644 --- a/test/chirrtl/wacc-wdc.fir +++ b/test/chirrtl/wacc-wdc.fir @@ -31,22 +31,22 @@ circuit top : ; CHECK: writer => a ; CHECK: m.a.addr is invalid ; CHECK: m.a.clk <= clk -; CHECK: m.a.en <= UInt("h0") +; CHECK: m.a.en <= UInt<1>("h0") ; CHECK: m.a.data is invalid -; CHECK: m.a.mask.a <= UInt("h0") -; CHECK: m.a.mask.b <= UInt("h0") -; CHECK: p <= UInt("h1") -; CHECK: q <= UInt("h1") +; CHECK: m.a.mask.a <= UInt<1>("h0") +; CHECK: m.a.mask.b <= UInt<1>("h0") +; CHECK: p <= UInt<1>("h1") +; CHECK: q <= UInt<1>("h1") ; CHECK: wire x : { a : UInt<4>, b : UInt<4>} -; CHECK: x.a <= UInt("h1") -; CHECK: x.b <= UInt("h1") +; CHECK: x.a <= UInt<1>("h1") +; CHECK: x.b <= UInt<1>("h1") ; CHECK: when p : -; CHECK: m.a.addr <= UInt("h3") -; CHECK: m.a.en <= UInt("h1") +; CHECK: m.a.addr <= UInt<2>("h3") +; CHECK: m.a.en <= UInt<1>("h1") ; CHECK: when q : ; CHECK: m.a.data <= x -; CHECK: m.a.mask.a <= UInt("h1") -; CHECK: m.a.mask.b <= UInt("h1") +; CHECK: m.a.mask.a <= UInt<1>("h1") +; CHECK: m.a.mask.b <= UInt<1>("h1") ; CHECK: Finished Remove CHIRRTL ; CHECK: Done! -- cgit v1.2.3