blob: a8cb67ca97b8ae9012d92011eb40b663b99f5dbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
; 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.
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
|