blob: ebc3ddbff19421295c0611990696004f2533c1f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
; 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
mem mc :
depth => 10
data-type => {x : UInt<3>, flip y : UInt<5>}
write-latency => 1
read-latency => 0
;smem ms : {x : UInt<3>, flip y : UInt<5>}[10], clk
|