From 5694a8808bd724b820caca2f5f1176b8c1e3f40d Mon Sep 17 00:00:00 2001 From: azidar Date: Thu, 20 Aug 2015 15:35:43 -0700 Subject: Added tests, cleaned up repo --- test/features/InitAccessor.fir | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/features/InitAccessor.fir (limited to 'test/features/InitAccessor.fir') diff --git a/test/features/InitAccessor.fir b/test/features/InitAccessor.fir new file mode 100644 index 00000000..983cbd94 --- /dev/null +++ b/test/features/InitAccessor.fir @@ -0,0 +1,10 @@ +; RUN: firrtl -i %s -o %s.flo -X flo -p c 2>&1 | tee %s.out | FileCheck %s +;CHECK: Done! +circuit Top : + module Top : + input in : UInt<1> + wire b : UInt<1>[3] + node c = UInt(1) + infer accessor a = b[c] + when in : + a := UInt(1) -- cgit v1.2.3