1 2 3 4 5 6 7 8 9 10 11
12
13 14 15 16 17
18
19 package ti.platforms.evmTI816X;
20
21 /*!
22 * ======== Platform ========
23 * Platform support for the evmTI816X
24 *
25 * This module implements xdc.platform.IPlatform and defines configuration
26 * parameters that correspond to this platform's Cpu's, Board's, etc.
27 *
28 * The configuration parameters are initialized in this package's
29 * configuration script (package.cfg) and "bound" to the TCOM object
30 * model. Once they are part of the model, these parameters are
31 * queried by a program's configuration script.
32 *
33 * This particular platform has 4 CPU's, a host GPP, 2 M3's, and a
34 * C674 DSP.
35 */
36 metaonly module Platform inherits xdc.platform.IPlatform
37 {
38 readonly config xdc.platform.IPlatform.Board BOARD = {
39 id: "0",
40 boardName: "evmTI816X",
41 boardFamily: "evmTI816X",
42 boardRevision: null
43 };
44
45
46 readonly config xdc.platform.IExeContext.Cpu GEM = {
47 id: "0",
48 clockRate: 800.0,
49 catalogName: "ti.catalog.c6000",
50 deviceName: "TMS320TI816X",
51 revision: ""
52 };
53
54
55 readonly config xdc.platform.IExeContext.Cpu DSS = {
56 id: "1",
57 clockRate: 250.0,
58 catalogName: "ti.catalog.arm.cortexm3",
59 deviceName: "TMS320TI816X",
60 revision: "1.0"
61 };
62
63
64 readonly config xdc.platform.IExeContext.Cpu GPP = {
65 id: "2",
66 clockRate: 1000.0,
67 catalogName: "ti.catalog.arm.cortexa8",
68 deviceName: "TMS320TI816X",
69 revision: "1.0"
70 };
71
72 instance:
73
74 override readonly config xdc.platform.IPlatform.Memory
75 externalMemoryMap[string] = [
76 ["DDR3_HOST", {
77 comment: "DDR3 Memory reserved for use by the A8",
78 name: "DDR3_HOST",
79 base: 0x80000000,
80 len: 0x0B000000
81 }],
82 ["DDR3_DSP", {
83 comment: "DDR3 Memory reserved for use by the C674",
84 name: "DDR3_DSP",
85 base: 0x8B000000,
86 len: 0x02000000
87 }],
88 ["DDR3_SR1", {
89 comment: "DDR3 Memory reserved for use by SharedRegion 1",
90 name: "DDR3_SR1",
91 base: 0x8D000000,
92 len: 0x00C00000
93 }],
94 ["DDR3_HDVPSS", {
95 comment: "DDR3 Memory reserved for use by HDVPSS",
96 name: "DDR3_HDVPSS",
97 base: 0x8DC00000,
98 len: 0x00200000
99 }],
100 ["DDR3_V4L2", {
101 comment: "DDR3 Memory reserved for use by V4L2",
102 name: "DDR3_V4L2",
103 base: 0x8DE00000,
104 len: 0x00200000
105 }],
106 ["DDR3_SR0", {
107 comment: "DDR3 Memory reserved for use by SharedRegion 0",
108 name: "DDR3_SR0",
109 base: 0x8E000000,
110 len: 0x01000000
111 }],
112 ["DDR3_M3", {
113 comment: "DDR3 Memory reserved for use by the M3 core",
114 name: "DDR3_M3",
115 base: 0x8F000000,
116 len: 0x01000000
117 }],
118 ];
119
120 121 122 123 124 125
126 config String l1PMode = "32k";
127
128 129 130 131 132 133
134 config String l1DMode = "32k";
135
136 137 138 139 140 141
142 config String l2Mode = "0k";
143 };
144 145 146
147