-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcapctl.json5
110 lines (109 loc) · 2.84 KB
/
capctl.json5
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
definitions: {
ports: {
t_ctrl_awvalid: 1,
t_ctrl_awready: -1,
t_ctrl_awaddr: 32,
t_ctrl_awprot: 3,
t_ctrl_wvalid: 1,
t_ctrl_wready: -1,
t_ctrl_wdata: 32,
t_ctrl_wstrb: 1,
t_ctrl_bvalid: -1,
t_ctrl_bready: 1,
t_ctrl_bresp: -2,
t_ctrl_arvalid: 1,
t_ctrl_arready: -1,
t_ctrl_araddr: 32,
t_ctrl_arprot: 3,
t_ctrl_rvalid: -1,
t_ctrl_rready: 1,
t_ctrl_rdata: -32,
t_ctrl_rresp: -2,
odata: -6,
oenable: -6,
clk: 1,
reset_n: 1,
},
ctrlPortMap: {
"ACLK" : 'clk',
// "ACLKEN" : '',
"ARESETn" : 'reset_n',
// "AWUSER" : '',
// "WUSER" : '',
// "BUSER" : '',
// "ARUSER" : '',
// "RUSER" : '',
"ARPROT": "t_ctrl_arprot",
"BREADY": "t_ctrl_bready",
"BVALID": "t_ctrl_bvalid",
"BRESP": "t_ctrl_bresp",
"WREADY": "t_ctrl_wready",
"RRESP": "t_ctrl_rresp",
"ARVALID": "t_ctrl_arvalid",
"ARREADY": "t_ctrl_arready",
"AWPROT": "t_ctrl_awprot",
"RREADY": "t_ctrl_rready",
"WSTRB": "t_ctrl_wstrb",
"RVALID": "t_ctrl_rvalid",
"AWADDR": "t_ctrl_awaddr",
"WVALID": "t_ctrl_wvalid",
"RDATA": "t_ctrl_rdata",
"ARADDR": "t_ctrl_araddr",
"AWREADY": "t_ctrl_awready",
"WDATA": "t_ctrl_wdata",
"AWVALID": "t_ctrl_awvalid"
}
},
component: {
vendor: 'sifive',
library: 'blocks',
name: 'capctl',
version: '0.1.0',
busInterfaces: [{
"name": "t_ctrl",
"interfaceMode": "slave",
"busType": {
"version": "r0p0_0", "name": "AXI4Lite", "vendor": "amba.com", "library": "AMBA4"
},
"abstractionTypes": [
{
"viewRef": "RTLview",
portMaps: {$ref: '#/definitions/ctrlPortMap'},
}
],
connectionRequired: true,
props: {
write_interleaving_depth: 1,
// lock_support: false,
read_reordering_depth: 1,
write_reordering_depth: 1,
outstanding_reads: 1, // optional
outstanding_writes: 1, // optional
outstanding_transactions: 1 // optional
}
}],
addressSpaces: [{
name: 'capctrlAddressSpace',
range: 1024,
width: 32
}],
memoryMaps: [],
model: {
views: [{
name: 'RTLview',
displayName: 'RTL View',
description: 'Simple RTL view of a component.',
envIdentifier: '*Synthesis:',
componentInstantiationRef: 'VerilogModel'
}],
instantiations: [],
ports: {$ref: '#/definitions/ports'}
},
componentGenerators: [],
fileSets: {
VerilogFiles: ['capctl.v']
},
pSchema: {},
}
}