From 95dd261b4e65840ade351dcb00e4164a99daf654 Mon Sep 17 00:00:00 2001 From: azidar Date: Fri, 20 Feb 2015 16:56:25 -0800 Subject: 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 --- test/simple.fir | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/simple.fir (limited to 'test/simple.fir') diff --git a/test/simple.fir b/test/simple.fir new file mode 100644 index 00000000..d00f8f7a --- /dev/null +++ b/test/simple.fir @@ -0,0 +1,11 @@ +; RUN: firrtl %s ab | tee %s.out | FileCheck %s + +circuit top : + module subtracter : + input x : UInt + input y : UInt + output z : UInt + z := sub-mod(x, y) +; CHECK: output z : UInt +; CHECK: port:z := sub-mod(port:x, port:y) + -- cgit v1.2.3