aboutsummaryrefslogtreecommitdiff
path: root/test/errors/high-form/Flip-Mem.fir
blob: 38935b57bce6ff98d40e772acc3b0e6d538c24b7 (plain)
1
2
3
4
5
6
7
8
9
; RUN: firrtl -i %s -o %s.v -X verilog -p c 2>&1 | 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