1 2 3 4 5 6 7 8
9
10 11 12 13
14
15 package ti.platforms.qtPrimus;
16
17 /*!
18 * ======== Platform ========
19 * Platform support for the qtPrimus
20 *
21 * This module implements xdc.platform.IPlatform and defines configuration
22 * parameters that correspond to this platform's Cpu's, Board's, etc.
23 *
24 * The configuration parameters are initialized in this package's
25 * configuration script (package.cfg) and "bound" to the TCOM object
26 * model. Once they are part of the model, these parameters are
27 * queried by a program's configuration script.
28 */
29
30 metaonly module Platform inherits xdc.platform.IPlatform
31 {
32 enum RuntimeEnv {
33 STDIO,
34 POSIX,
35 BIOS
36 };
37
38 readonly config xdc.platform.IPlatform.Board BOARD = {
39 id: "0",
40 boardName: "qtPrimus",
41 boardFamily: "qtPrimus",
42 boardRevision: null,
43 };
44
45 readonly config xdc.platform.IExeContext.Cpu DSP = {
46 id: "0",
47 clockRate: 300.0,
48 catalogName: "ti.catalog.c6000.nda",
49 deviceName: "Primus",
50 revision: "1.0",
51 };
52
53 readonly config xdc.platform.IExeContext.Cpu GPP = {
54 id: "1",
55 clockRate: 300.0,
56 catalogName: "ti.catalog.arm.nda",
57 deviceName: "Primus",
58 revision: "1.0",
59 };
60
61 instance:
62
63 64 65 66 67 68
69 config String l1PMode;
70
71 72 73 74 75 76
77 config String l1DMode;
78
79 80 81 82 83 84
85 config String l2Mode;
86
87 /*!
88 * ======== runTime ========
89 * The runtime environment available to executables
90 */
91 config RuntimeEnv runTime = STDIO;
92
93 /*!
94 * ======== singleCore ========
95 * no longer used!
96 * @_nodoc
97 */
98 config Bool singleCore = true;
99 }
100 101 102
103