1 2 3 4
5
6 7 8
9
10 /*!
11 * ======== Platform ========
12 * Platform support for the evm6678
13 */
14 metaonly module Platform inherits xdc.platform.IPlatform
15 {
16 readonly config xdc.platform.IPlatform.Board BOARD = {
17 id: "0",
18 boardName: "evm6678",
19 boardFamily: "evm6678",
20 boardRevision: null,
21 };
22
23 readonly config xdc.platform.IExeContext.Cpu CPU = {
24 id: "0",
25 clockRate: 1000,
26 catalogName: "ti.catalog.c6000",
27 deviceName: "TMS320C6678",
28 revision: "1.0",
29 };
30
31 instance:
32
33 override readonly config xdc.platform.IPlatform.Memory
34 externalMemoryMap[string] = [
35 ["DDR3", {name: "DDR3", base: 0x80000000, len: 0x20000000}],
36 ];
37
38 override config string codeMemory = "L2SRAM";
39 override config string dataMemory = "L2SRAM";
40 override config string stackMemory = "L2SRAM";
41
42 config String l1DMode = "32k";
43 config String l1PMode = "32k";
44 config String l2Mode = "256k";
45 };
46 47 48
49