blob: e4c526ecb654aff0da49d3746807b2983f6e52ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
circuit ModuleVec :
module PlusOne :
input in : UInt(32)
output out : UInt(32)
node T_34 : UInt(1) = UInt(1, 1)
node T_35 : UInt(32) = add(in, T_34)
out := T_35
module PlusOne_26 :
input in : UInt(32)
output out : UInt(32)
node T_36 : UInt(1) = UInt(1, 1)
node T_37 : UInt(32) = add(in, T_36)
out := T_37
module ModuleVec :
input ins : UInt(32)[2]
output outs : UInt(32)[2]
instance T_38 of PlusOne
instance T_39 of PlusOne_26
pluses.0.in := ins.0
outs.0 := pluses.0.out
pluses.1.in := ins.1
outs.1 := pluses.1.out
|