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 simKepler
21 */
22 metaonly module Platform inherits xdc.platform.IPlatform
23 {
24 readonly config xdc.platform.IPlatform.Board BOARD = {
25 id: "0",
26 boardName: "simKepler",
27 boardFamily: "simKepler",
28 boardRevision: null,
29 };
30
31 readonly config xdc.platform.IExeContext.Cpu CPU = {
32 id: "0",
33 clockRate: 1000,
34 catalogName: "ti.catalog.c6000",
35 deviceName: "Kepler",
36 revision: "1.0",
37 };
38
39 instance:
40
41 override readonly config xdc.platform.IPlatform.Memory
42 externalMemoryMap[string] = [
43 ["DDR2", {name: "DDR2", base: 0x80000000, len: 0x10000000}],
44 ];
45
46 override config string codeMemory = "L2SRAM";
47 override config string dataMemory = "L2SRAM";
48 override config string stackMemory = "L2SRAM";
49
50 51 52 53 54 55
56 config String l1PMode = "32k";
57
58 59 60 61 62 63
64 config String l1DMode = "32k";
65
66 67 68 69 70 71
72 config String l2Mode = "0k";
73
74 };
75 76 77
78