1 2 3 4 5 6 7 8 9 10 11
12
13 14 15 16 17
18
19 package ti.platforms.simDM730;
20
21 /*!
22 * ======== Platform ========
23 * Platform support for the simDM730
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 a single Cpu, and therefore, only
34 * declares a single CPU configuration object. Multi-CPU platforms
35 * would declare multiple Cpu configuration parameters (one per
36 * platform CPU).
37 */
38 metaonly module Platform inherits xdc.platform.IPlatform
39 {
40 readonly config xdc.platform.IPlatform.Board BOARD = {
41 id: "0",
42 boardName: "simDM730",
43 boardFamily: "simDM730",
44 boardRevision: null,
45 };
46
47
48 readonly config xdc.platform.IExeContext.Cpu GEM = {
49 id: "0",
50 clockRate: 800.0,
51 catalogName: "ti.catalog.c6000",
52 deviceName: "TMS320CDM730",
53 revision: "",
54 };
55
56
57 readonly config xdc.platform.IExeContext.Cpu DSS = {
58 id: "0",
59 clockRate: 250.0,
60 catalogName: "ti.catalog.arm",
61 deviceName: "TMS320CDM730",
62 revision: "1.0",
63 };
64
65 instance:
66
67 override readonly config xdc.platform.IPlatform.Memory
68 externalMemoryMap[string] = [
69
70 ["EXT_RAM", {
71 comment: "External RAM",
72 name: "EXT_RAM",
73 base: 0x80000000,
74 len: 0x10000000
75 }],
76
77 ];
78
79 override config string codeMemory = "EXT_RAM";
80 override config string dataMemory = "EXT_RAM";
81 override config string stackMemory = "EXT_RAM";
82
83 84 85 86 87 88
89 config String l1PMode = "32k";
90
91 92 93 94 95 96
97 config String l1DMode = "32k";
98
99 100 101 102 103 104
105 config String l2Mode = "0k";
106 };
107 108 109
110