aboutsummaryrefslogtreecommitdiff
path: root/test/errors/high-form
diff options
context:
space:
mode:
authorazidar2015-05-27 17:15:44 -0700
committerazidar2015-05-27 17:15:44 -0700
commitb44b49e6a6589add30b5b1d89d85f2e20432a515 (patch)
tree36a70d1d330f7163fe66af1adcd126c6f92af699 /test/errors/high-form
parenta2a48576534f87b28566504bb1e0c7faa493f463 (diff)
Added sequential memories. mem no longer exists, must declare either cmem or smem. Added firrtl-gensym utility to generate a hashmap of names
Diffstat (limited to 'test/errors/high-form')
-rw-r--r--test/errors/high-form/Flip-Mem.fir6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/errors/high-form/Flip-Mem.fir b/test/errors/high-form/Flip-Mem.fir
index 662fc6f1..5725aa90 100644
--- a/test/errors/high-form/Flip-Mem.fir
+++ b/test/errors/high-form/Flip-Mem.fir
@@ -1,6 +1,8 @@
; RUN: firrtl -i %s -o %s.flo -X flo -p c | tee %s.out | FileCheck %s
-; CHECK: Memory m cannot be a bundle type with flips.
+; CHECK: Memory m-c cannot be a bundle type with flips.
+; CHECK: Memory m-s cannot be a bundle type with flips.
circuit Flip-Mem :
module Flip-Mem :
- mem m : {x : UInt<3>, flip y : UInt<5>}[10]
+ cmem m-c : {x : UInt<3>, flip y : UInt<5>}[10]
+ smem m-s : {x : UInt<3>, flip y : UInt<5>}[10]