blob: 3be7f92863a0e0908b45c3780c44ecac0a8a0b4d (
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 | tee %s.out | FileCheck %s
;CHECK: Done!
circuit ModuleWire :
module Inc :
input in : UInt<32>
output out : UInt<32>
node T_12 = add-wrap(in, UInt<1>(1))
out := T_12
module ModuleWire :
input in : UInt<32>
output out : UInt<32>
inst T_13 of Inc
T_13.in := in
out := T_13.out
|