blob: d8d1355caa45c0de2050dd4ced0234d32c777c2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
; RUN: firrtl -i %s -o %s.v -X verilog -p c 2>&1 | tee %s.out | FileCheck %s
; CHECK-NOT: Expression queue.in is used as a sink but can only be used as a source.
; CHECK: Done!
circuit BTB :
module Queue :
input in : UInt<1>
output out : UInt<1>
out := in
module BTB :
input in : UInt<1>
output out : UInt<1>
inst queue of Queue
queue.in := in
out := queue.in
|