-
Notifications
You must be signed in to change notification settings - Fork 22
/
test_add8cin.json
63 lines (63 loc) · 1.66 KB
/
test_add8cin.json
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{"top":"global.test",
"namespaces":{
"global":{
"modules":{
"Add8_cin":{
"type":["Record",[
["I0",["Array",8,"BitIn"]],
["I1",["Array",8,"BitIn"]],
["O",["Array",8,"Bit"]],
["CIN","BitIn"]
]],
"instances":{
"bit_const_0_None":{
"modref":"corebit.const",
"modargs":{"value":["Bool",false]}
},
"inst0":{
"genref":"coreir.add",
"genargs":{"width":["Int",8]}
},
"inst1":{
"genref":"coreir.add",
"genargs":{"width":["Int",8]}
}
},
"connections":[
["inst1.in0.0","bit_const_0_None.out"],
["inst1.in0.1","bit_const_0_None.out"],
["inst1.in0.2","bit_const_0_None.out"],
["inst1.in0.3","bit_const_0_None.out"],
["inst1.in0.4","bit_const_0_None.out"],
["inst1.in0.5","bit_const_0_None.out"],
["inst1.in0.6","bit_const_0_None.out"],
["inst1.out","inst0.in0"],
["self.I1","inst0.in1"],
["self.O","inst0.out"],
["self.CIN","inst1.in0.7"],
["self.I0","inst1.in1"]
]
},
"test":{
"type":["Record",[
["I0",["Array",8,"BitIn"]],
["I1",["Array",8,"BitIn"]],
["CIN","BitIn"],
["O",["Array",8,"Bit"]]
]],
"instances":{
"inst0":{
"modref":"global.Add8_cin"
}
},
"connections":[
["self.CIN","inst0.CIN"],
["self.I0","inst0.I0"],
["self.I1","inst0.I1"],
["self.O","inst0.O"]
]
}
}
}
}
}