-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcounters.json
80 lines (77 loc) · 2.48 KB
/
counters.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{"top":"global.counters",
"namespaces":{
"global":{
"modules":{
"counters":{
"type":["Record",[
["clk",["Named","coreir.clkIn"]]
]],
"instances":{
"count0$a":{
"genref":"coreir.add",
"genargs":{"width":["Int",16]}
},
"count0$c1":{
"genref":"coreir.const",
"genargs":{"width":["Int",16]},
"modargs":{"value":[["BitVector",16],"16'h0001"]}
},
"count0$r$c0":{
"genref":"coreir.const",
"genargs":{"width":["Int",16]},
"modargs":{"value":[["BitVector",16],"16'h0000"]}
},
"count0$r$clrMux":{
"genref":"coreir.mux",
"genargs":{"width":["Int",16]}
},
"count0$r$reg0":{
"genref":"coreir.reg",
"genargs":{"width":["Int",16]},
"modargs":{"init":[["BitVector",16],"16'h0000"]}
},
"count1$a":{
"genref":"coreir.add",
"genargs":{"width":["Int",16]}
},
"count1$c1":{
"genref":"coreir.const",
"genargs":{"width":["Int",16]},
"modargs":{"value":[["BitVector",16],"16'h0001"]}
},
"count1$r$c0":{
"genref":"coreir.const",
"genargs":{"width":["Int",16]},
"modargs":{"value":[["BitVector",16],"16'h0000"]}
},
"count1$r$clrMux":{
"genref":"coreir.mux",
"genargs":{"width":["Int",16]}
},
"count1$r$reg0":{
"genref":"coreir.reg",
"genargs":{"width":["Int",16]},
"modargs":{"init":[["BitVector",16],"16'h0000"]}
}
},
"connections":[
["count0$a.in0","count0$c1.out"],
["count0$a.in1","count0$r$reg0.out"],
["count0$a.out","count0$r$clrMux.in0"],
["count0$r$c0.out","count0$r$clrMux.in1"],
["count0$r$clrMux.out","count0$r$reg0.in"],
["count0$r$clrMux.sel","count1$r$reg0.out.8"],
["count0$r$reg0.clk","self.clk"],
["count1$a.in0","count1$c1.out"],
["count1$a.in1","count1$r$reg0.out"],
["count1$a.out","count1$r$clrMux.in0"],
["count1$r$c0.out","count1$r$clrMux.in1"],
["count1$r$clrMux.out","count1$r$reg0.in"],
["count1$r$clrMux.sel","count1$r$reg0.out.4"],
["count1$r$reg0.clk","self.clk"]
]
}
}
}
}
}