1 2 3 4 5 6 7 8
9
10 11 12 13
14
15 /*!
16 * ======== Platform ========
17 * Platform support for the evmDM6446
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 * The configuration parameters are initialized in this package's
23 * configuration script (package.cfg) and "bound" to the TCOM object
24 * model. Once they are part of the model, these parameters are
25 * queried by a program's configuration script.
26 */
27
28 metaonly module Platform inherits xdc.platform.IPlatform
29 {
30 enum RuntimeEnv {
31 STDIO,
32 POSIX,
33 BIOS
34 };
35
36 readonly config xdc.platform.IPlatform.Board BOARD = {
37 id: "0",
38 boardName: "evmDM6446",
39 boardFamily: "evmDM6446",
40 boardRevision: null,
41 };
42
43 readonly config xdc.platform.IExeContext.Cpu DSP = {
44 id: "0",
45 clockRate: 567.0,
46 catalogName: "ti.catalog.c6000",
47 deviceName: "TMS320CDM6446",
48 revision: "1.0",
49 };
50
51 readonly config xdc.platform.IExeContext.Cpu GPP = {
52 id: "1",
53 clockRate: 300.0,
54 catalogName: "ti.catalog.arm",
55 deviceName: "TMS320CDM6446",
56 revision: "1.0",
57 };
58
59 instance:
60
61 override readonly config xdc.platform.IPlatform.Memory
62 externalMemoryMap[string] = [
63 ["DDR2", {name: "DDR2", base: 0x80000000, len: 0x10000000}],
64 ];
65
66
67 override config string codeMemory = "DDR2";
68
69
70 override config string dataMemory = "DDR2";
71
72
73 override config string stackMemory = "DDR2";
74
75 /*!
76 * ======== runTime ========
77 * The runtime environment available to executables
78 */
79 config RuntimeEnv runTime = STDIO;
80
81 /*!
82 * ======== singleCore ========
83 * no longer used!
84 * @_nodoc
85 */
86 config Bool singleCore = true;
87 }
88 89 90
91