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