aboutsummaryrefslogtreecommitdiff
path: root/test/syntax
diff options
context:
space:
mode:
authorazidar2015-02-20 16:56:25 -0800
committerazidar2015-02-20 16:56:25 -0800
commit95dd261b4e65840ade351dcb00e4164a99daf654 (patch)
tree73f5fa894f5ebb3a61581dd2f29ae96e46d476e4 /test/syntax
parent8299c2ecae1701fa6060185a8aed25543e201eba (diff)
Rewrote the initialize-register pass, now correctly implemented
with a new IR construct - Null. LetRec is not implemented, but is marked with a TODO. Test cases for this pass are now located in test/passes/initialize-register
Diffstat (limited to 'test/syntax')
-rw-r--r--test/syntax/letrec-non-struct.fir9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/syntax/letrec-non-struct.fir b/test/syntax/letrec-non-struct.fir
new file mode 100644
index 00000000..37fb2123
--- /dev/null
+++ b/test/syntax/letrec-non-struct.fir
@@ -0,0 +1,9 @@
+; RUN: firrtl %s | tee %s.out | FileCheck %s
+circuit top:
+ module top:
+ input x : UInt(16)
+ output y : UInt(16)
+ letrec:
+ reg r : UInt(10)
+ in:
+ r := UInt(11)