aboutsummaryrefslogtreecommitdiff
path: root/test/errors/high-form/Flip-Mem.fir
blob: c1a3702a6ded63e03b8c513ec5ecb9de072bc781 (plain)
1
2
3
4
5
6
7
8
9
; RUN: firrtl -i %s -o %s.flo -X flo -p c | tee %s.out | FileCheck %s
; CHECK: Memory mc cannot be a bundle type with flips.
; CHECK: Memory ms cannot be a bundle type with flips.

circuit Flip-Mem : 
  module Flip-Mem : 
    input clk : Clock
    cmem mc : {x : UInt<3>, flip y : UInt<5>}[10], clk
    smem ms : {x : UInt<3>, flip y : UInt<5>}[10], clk