1 2 3 4 5 6 7 8 9 10 11
12
13 14 15 16 17
18
19 /*!
20 * ======== Platform ========
21 * Platform support for OMAP5430
22 *
23 * This module implements xdc.platform.IPlatform and defines configuration
24 * parameters that correspond to this platform's Cpu's, Board's, etc.
25 *
26 * The configuration parameters are initialized in this package's
27 * configuration script (package.cfg) and "bound" to the TCOM object
28 * model. Once they are part of the model, these parameters are
29 * queried by a program's configuration script.
30 *
31 * This particular platform has 4 CPU's, a host GPP, 2 M3's, and a
32 * C64T DSP.
33 */
34 metaonly module Platform inherits xdc.platform.IPlatform
35 {
36 readonly config xdc.platform.IPlatform.Board BOARD = {
37 id: "0",
38 boardName: "sdp5430",
39 boardFamily: "sdp5430",
40 boardRevision: null,
41 };
42
43 readonly config xdc.platform.IExeContext.Cpu GEM = {
44 id: "0",
45 clockRate: 466,
46 catalogName: "ti.catalog.c6000",
47 deviceName: "OMAP5430",
48 revision: "1.0",
49 };
50
51
52 readonly config xdc.platform.IExeContext.Cpu DSS = {
53 id: "1",
54 clockRate: 212.8,
55 catalogName: "ti.catalog.arm.cortexm4",
56 deviceName: "OMAP5430",
57 revision: "1.0",
58 };
59
60
61 readonly config xdc.platform.IExeContext.Cpu GPP = {
62 id: "2",
63 clockRate: 800.0,
64 catalogName: "ti.catalog.arm.cortexa15",
65 deviceName: "OMAP5430",
66 revision: "1.0"
67 };
68
69 instance:
70
71 /*!
72 * ======== externalMemoryMap ========
73 * Memory regions as defined in the OMAP4 Functional Specification
74 */
75
76 override readonly config xdc.platform.IPlatform.Memory
77 externalMemoryMap[string] = [
78
79 ["EXT_RAM", {
80 comment: "External RAM",
81 name: "EXT_RAM",
82 base: 0x80000000,
83 len: 0x20000000
84 }],
85
86 ];
87
88 override config string codeMemory = "EXT_RAM";
89 override config string dataMemory = "EXT_RAM";
90 override config string stackMemory = "EXT_RAM";
91
92 93 94 95 96 97
98 config String l1PMode = "32k";
99
100 101 102 103 104 105
106 config String l1DMode = "32k";
107
108 109 110 111 112 113
114 config String l2Mode = "0k";
115 };
116 117 118
119