blob: 60201b9233514c1a8dffe61ad8370f5a2d6fa2e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
; RUN: firrtl -i %s -o %s.v -X verilog -p c 2>&1 | tee %s.out | FileCheck %s
; CHECK: Reference x does not have a unique name.
; CHECK: Reference p does not have a unique name.
; CHECK-NOT: Reference q does not have a unique name.
circuit Top :
module Top :
wire x : UInt<1>
wire x : UInt<2>
wire p : UInt<3>
wire q : UInt<3>
when p :
wire p : UInt<4>
module Other :
wire q : UInt<3>
|