aboutsummaryrefslogtreecommitdiff
path: root/test/parser
diff options
context:
space:
mode:
authorJack2015-10-14 13:53:22 -0700
committerJack2015-10-14 13:53:22 -0700
commit9b737de6551e7446dfd92d86cd009b4b2f95c980 (patch)
tree20806dae9b9537e49b672f8ad4aafab4a7661a4e /test/parser
parentbf4488870e1def4d76297dd8fdd795a82bc4ded3 (diff)
Moved Logger to new private object DebugUtils, changed UInt/SInt value printing to match stanza implementation
Diffstat (limited to 'test/parser')
-rw-r--r--test/parser/bundle.fir26
-rw-r--r--test/parser/gcd.fir2
2 files changed, 14 insertions, 14 deletions
diff --git a/test/parser/bundle.fir b/test/parser/bundle.fir
index 15fa26d0..c9f5e226 100644
--- a/test/parser/bundle.fir
+++ b/test/parser/bundle.fir
@@ -23,21 +23,21 @@ circuit top :
; CHECK: circuit top :
; CHECK: module top :
; CHECK: wire z : { x : UInt, flip y : SInt }
-; CHECK: z.x := UInt("h01")
-; CHECK: z.y := SInt("h01")
+; CHECK: z.x := UInt("h1")
+; CHECK: z.y := SInt("h1")
; CHECK: node x = z.x
; CHECK: node y = z.y
; CHECK: wire a : UInt<3>[10]
-; CHECK: a[0] := UInt("h01")
-; CHECK: a[1] := UInt("h01")
-; CHECK: a[2] := UInt("h01")
-; CHECK: a[3] := UInt("h01")
-; CHECK: a[4] := UInt("h01")
-; CHECK: a[5] := UInt("h01")
-; CHECK: a[6] := UInt("h01")
-; CHECK: a[7] := UInt("h01")
-; CHECK: a[8] := UInt("h01")
-; CHECK: a[9] := UInt("h01")
+; CHECK: a[0] := UInt("h1")
+; CHECK: a[1] := UInt("h1")
+; CHECK: a[2] := UInt("h1")
+; CHECK: a[3] := UInt("h1")
+; CHECK: a[4] := UInt("h1")
+; CHECK: a[5] := UInt("h1")
+; CHECK: a[6] := UInt("h1")
+; CHECK: a[7] := UInt("h1")
+; CHECK: a[8] := UInt("h1")
+; CHECK: a[9] := UInt("h1")
; CHECK: node b = a[2]
-; CHECK: read accessor c = a[UInt("h03")]
+; CHECK: read accessor c = a[UInt("h3")]
diff --git a/test/parser/gcd.fir b/test/parser/gcd.fir
index 03eb6ba9..3a9317b8 100644
--- a/test/parser/gcd.fir
+++ b/test/parser/gcd.fir
@@ -47,6 +47,6 @@ circuit GCD :
; CHECK: x := a
; CHECK: y := b
; CHECK: z := x
-; CHECK: node T_20 = eq(y, UInt<1>("h00"))
+; CHECK: node T_20 = eq(y, UInt<1>("h0"))
; CHECK: v := T_20