1 2 3 4 5 6 7 8 9 10 11
12
13 14 15 16 17
18
19 /*!
20 * ======== Platform ========
21 * Platform support for TDA3XX
22 *
23 * This module implements xdc.platform.IPlatform and defines configuration
24 * parameters that correspond to this platform's Cpu's, Board's, etc.
25 *
26 * The configuration parameters are initialized in this package's
27 * configuration script (package.cfg) and "bound" to the TCOM object
28 * model. Once they are part of the model, these parameters are
29 * queried by a program's configuration script.
30 *
31 * This particular platform has 1 EVE, 1 Benelli/IPU sub-system (Dual M4's)
32 * and 2 C66x DSP's.
33 */
34 metaonly module Platform inherits xdc.platform.IPlatform
35 {
36 readonly config xdc.platform.IPlatform.Board BOARD = {
37 id: "0",
38 boardName: "evmTDA3XX",
39 boardFamily: "evmTDA3XX",
40 boardRevision: null,
41 };
42
43 readonly config xdc.platform.IExeContext.Cpu DSP = {
44 id: "0",
45 clockRate: 600.0,
46 catalogName: "ti.catalog.c6000",
47 deviceName: "TDA3XX",
48 revision: "1.0",
49 };
50
51
52 readonly config xdc.platform.IExeContext.Cpu M4 = {
53 id: "1",
54 clockRate: 212.8,
55 catalogName: "ti.catalog.arm.cortexm4",
56 deviceName: "TDA3XX",
57 revision: "1.0",
58 };
59
60
61 readonly config xdc.platform.IExeContext.Cpu EVE = {
62 id: "2",
63 clockRate: 535.0,
64 catalogName: "ti.catalog.arp32",
65 deviceName: "TDA3XX",
66 revision: "1.0"
67 };
68
69 instance:
70
71 /*!
72 * ======== externalMemoryMap ========
73 * Memory regions as defined in the TDA3XX Specification
74 */
75 override readonly config xdc.platform.IPlatform.Memory
76 externalMemoryMap[string] = [
77 ["EXT_RAM", {
78 comment: "1 GB External RAM Memory",
79 name: "EXT_RAM",
80 base: 0x80000000,
81 len: 0x40000000
82 }]
83 ];
84
85 86 87 88 89 90
91 config String l1PMode = "32k";
92
93 94 95 96 97 98
99 config String l1DMode = "32k";
100
101 102 103 104 105 106
107 config String l2Mode = "0k";
108 };
109 110 111
112