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