From a1a1156df859eb815f8b345d24198dbfe3857832 Mon Sep 17 00:00:00 2001 From: azidar Date: Wed, 25 Mar 2015 21:05:18 -0700 Subject: Finished expand-whens. Removed letrec also, a while ago --- test/passes/expand-whens/one-when.fir | 1 + test/passes/lower-to-ground/accessor.fir | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/passes/expand-whens/one-when.fir b/test/passes/expand-whens/one-when.fir index 66fc2ef6..49fe7757 100644 --- a/test/passes/expand-whens/one-when.fir +++ b/test/passes/expand-whens/one-when.fir @@ -27,6 +27,7 @@ circuit top : when e : p := p r.init := p + r := p ; CHECK: Finished Expand Whens diff --git a/test/passes/lower-to-ground/accessor.fir b/test/passes/lower-to-ground/accessor.fir index 56171246..e54868bc 100644 --- a/test/passes/lower-to-ground/accessor.fir +++ b/test/passes/lower-to-ground/accessor.fir @@ -3,8 +3,8 @@ ; CHECK: Lower To Ground circuit top : module m : - wire i : UInt - wire j : UInt + wire i : UInt(2) + wire j : UInt(32) wire a : UInt(32)[4] ; CHECK: wire a#0 : UInt(32) @@ -22,7 +22,7 @@ circuit top : ; CHECK: (a#0 a#1 a#2 a#3)[i] := c c := j - mem p : UInt(32)[10] + mem p : UInt(32)[4] accessor t = p[i] ; CHECK: accessor t = p[i] j := t -- cgit v1.2.3