blob: 632dd709308d09e2e2b2a061467672e44f9647e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
; RUN: firrtl -i %s -o %s.v -X verilog -p c 2>&1 | tee %s.out | FileCheck %s
; CHECK: Expression req is used as a sink but can only be used as a source.
circuit BTB :
module BTB :
input clk : Clock
input reset : UInt<1>
input req : {valid : UInt<1>, bits : {addr : UInt<39>}}
output r : UInt<1>
wire x : {valid : UInt<1>, bits : {addr : UInt<39>}}
req <> x
x.valid := r
|