aboutsummaryrefslogtreecommitdiff
path: root/test/errors/high-form/Flip-Mem.fir
blob: 5725aa9000cfc33c88d8ce8ba169bace7f857ab0 (plain)
1
2
3
4
5
6
7
8
; RUN: firrtl -i %s -o %s.flo -X flo -p c | tee %s.out | FileCheck %s
; 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 : 
    cmem m-c : {x : UInt<3>, flip y : UInt<5>}[10]
    smem m-s : {x : UInt<3>, flip y : UInt<5>}[10]