1 2 3 4 5 6 7 8 9 10 11
12
13 14 15 16
17
18 /*!
19 * ======== Platform ========
20 * Platform support for the evmDM357
21 *
22 * This module implements xdc.platform.IPlatform and defines configuration
23 * parameters that correspond to this platform's Cpu's, Board's, etc.
24 */
25
26 metaonly module Platform inherits xdc.platform.IPlatform
27 {
28 readonly config xdc.platform.IPlatform.Board BOARD = {
29 id: "0",
30 boardName: "evmDM357",
31 boardFamily: "evmDM357",
32 boardRevision: null,
33 };
34
35 readonly config xdc.platform.IExeContext.Cpu DSP = {
36 id: "0",
37 clockRate: 540.0,
38 catalogName: "ti.catalog.c6000",
39 deviceName: "TMS320DM357",
40 revision: "1.0",
41 };
42
43 readonly config xdc.platform.IExeContext.Cpu GPP = {
44 id: "1",
45 clockRate: 270.0,
46 catalogName: "ti.catalog.arm",
47 deviceName: "TMS320DM357",
48 revision: "1.0",
49 };
50
51 instance:
52
53 override readonly config xdc.platform.IPlatform.Memory
54 externalMemoryMap[string] = [
55 ["DDR2", {name: "DDR2", base: 0x80000000, len: 0x10000000}],
56 ];
57
58
59 override config string dataMemory = "DDR2";
60 override config string stackMemory = "DDR2";
61
62
63
64 65 66 67 68 69
70 config String l1PMode = "32k";
71
72 73 74 75 76 77
78 config String l1DMode = "32k";
79
80 81 82 83 84 85
86 config String l2Mode = "0k";
87 }
88 89 90
91