1 2 3 4 5 6 7 8 9 10 11
12
13 14 15 16 17
18
19 package ti.platforms.evmDM8148;
20
21 /*!
22 * ======== Platform ========
23 * Platform support for the evmDM8148
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: "evmDM8148",
41 boardFamily: "evmDM8148",
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: "TMS320DM8148",
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: "TMS320DM8148",
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: "TMS320DM8148",
69 revision: "1.0"
70 };
71
72 instance:
73
74 override readonly config xdc.platform.IPlatform.Memory
75 externalMemoryMap[string] = [
76
77 ["DDR3_RAM", {
78 comment: "External RAM",
79 name: "DDR3_RAM",
80 base: 0x80000000,
81 len: 0x10000000
82 }]
83
84 ];
85
86 override config string codeMemory = "DDR3_RAM";
87 override config string dataMemory = "DDR3_RAM";
88 override config string stackMemory = "DDR3_RAM";
89
90 91 92 93 94 95
96 config String l1PMode;
97
98 99 100 101 102 103
104 config String l1DMode;
105
106 107 108 109 110 111
112 config String l2Mode;
113 };
114 115 116
117