aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/features/MemSize1.fir11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/features/MemSize1.fir b/test/features/MemSize1.fir
new file mode 100644
index 00000000..a29d3fc5
--- /dev/null
+++ b/test/features/MemSize1.fir
@@ -0,0 +1,11 @@
+; RUN: firrtl -i %s -o %s.v -X verilog -p c 2>&1 | tee %s.out | FileCheck %s
+;CHECK: Done!
+circuit Top :
+ module Top :
+ input clk : Clock
+ output out : UInt<32>
+ input i : UInt<1>
+ cmem m : UInt<32>[1]
+ read mport r = m[i],clk
+ out <= r
+