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