aboutsummaryrefslogtreecommitdiff
path: root/test/features
diff options
context:
space:
mode:
authorazidar2016-01-31 12:59:31 -0800
committerazidar2016-02-09 18:57:06 -0800
commite985d47312458459e9ebe42fe99b5a063c08e637 (patch)
treed726c711e86d6e948a220a568dcae0a997629d18 /test/features
parent2bd423fa061fb3e0973fa83e98f2877fd4616746 (diff)
Changed stanza output of UInt/SInt to include widths. Made tests match accordingly
Diffstat (limited to 'test/features')
-rw-r--r--test/features/BigInt.fir4
-rw-r--r--test/features/Printf.fir2
-rw-r--r--test/features/Stop.fir6
3 files changed, 6 insertions, 6 deletions
diff --git a/test/features/BigInt.fir b/test/features/BigInt.fir
index a8dadcfc..9060d705 100644
--- a/test/features/BigInt.fir
+++ b/test/features/BigInt.fir
@@ -5,6 +5,6 @@ circuit Top :
node y = UInt("h100000")
node z = UInt("h00")
-;CHECK: node x = UInt("h2")
-;CHECK: node z = UInt("h0")
+;CHECK: node x = UInt<2>("h2")
+;CHECK: node z = UInt<1>("h0")
;CHECK: Done!
diff --git a/test/features/Printf.fir b/test/features/Printf.fir
index d4d2f77d..912023af 100644
--- a/test/features/Printf.fir
+++ b/test/features/Printf.fir
@@ -17,5 +17,5 @@ circuit Top :
;CHECK: printf(clk, en, "Hello World!\n")
;CHECK: printf(clk, en, "Hello World! %x\n", x.y)
;CHECK: printf(clk, and(p, en), "In consequence\n")
-;CHECK: printf(clk, and(eq(p, UInt("h0")), en), "In alternate\n")
+;CHECK: printf(clk, and(eq(p, UInt<1>("h0")), en), "In alternate\n")
;CHECK: Done!
diff --git a/test/features/Stop.fir b/test/features/Stop.fir
index d0957324..bef64f0f 100644
--- a/test/features/Stop.fir
+++ b/test/features/Stop.fir
@@ -13,8 +13,8 @@ circuit Top :
stop(clk,UInt(1),1)
stop(clk,UInt(1),3)
-;CHECK: stop(clk, and(p, UInt("h1")), 0)
-;CHECK: stop(clk, and(q, UInt("h1")), 1)
-;CHECK: stop(clk, UInt("h1"), 3)
+;CHECK: stop(clk, and(p, UInt<1>("h1")), 0)
+;CHECK: stop(clk, and(q, UInt<1>("h1")), 1)
+;CHECK: stop(clk, UInt<1>("h1"), 3)
;CHECK: Done!