blob: 55d5fd4602c15c98c6e35f55ae7c630fa3fc3fd5 (
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 time : UInt<1>
output out : UInt<1>
inst queue of Queue
queue.in := time
out := queue.in
|