blob: 6261ec0137b48be679fc43dc9f76efa9a21d377b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
; RUN: firrtl -i %s -o %s.v -X verilog -p cT 2>&1 | tee %s.out | FileCheck %s
;CHECK: Done!
circuit Top :
module Top :
input in : UInt<1>
wire b : UInt<1>[3]
b[0] <= UInt(1)
b[1] <= UInt(1)
b[2] <= UInt(1)
node c = UInt(1)
when in :
b[c] <= UInt(1)
|