aboutsummaryrefslogtreecommitdiff
path: root/test/errors/high-form/Flip-Mem.fir
blob: 62eba530d96243fbef01f643bcdaf50dc00beac0 (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 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 : 
    input clk : Clock
    cmem m-c : {x : UInt<3>, flip y : UInt<5>}[10], clk
    smem m-s : {x : UInt<3>, flip y : UInt<5>}[10], clk