blob: 63dfb4de8f3f099a6c65b1676766bbdc33a5d16f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
; RUN: firrtl -i %s -o %s.v -X verilog -p c 2>&1 | tee %s.out | FileCheck %s
; XFAIL: *
; CHECK: Done!
circuit Top :
module Top :
wire x : UInt<1>
node p = UInt(1)
when p :
wire x : UInt<1>
x <= UInt(1)
node y = add(x,UInt(1))
else :
wire x : UInt<1>
x <= UInt(1)
node z = add(x,UInt(1))
x <= UInt(1)
node w = add(x,UInt(1))
|