1 2 3 4 5 6 7 8
9
10 11 12 13
14
15 package ti.platforms.simDM420;
16
17 /*!
18 * ======== Platform ========
19 * Platform support for the simDM420
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 * This particular platform has a single Cpu, and therefore, only
30 * declares a single CPU configuration object. Multi-CPU platforms
31 * would declare multiple Cpu configuration parameters (one per
32 * platform CPU).
33 */
34 metaonly module Platform inherits xdc.platform.IPlatform
35 {
36 readonly config xdc.platform.IPlatform.Board BOARD = {
37 id: "0",
38 boardName: "simDM420",
39 boardFamily: "simDM420",
40 boardRevision: null,
41 };
42
43 readonly config xdc.platform.IExeContext.Cpu CPU = {
44 id: "0",
45 clockRate: 486.0,
46 catalogName: "ti.catalog.c6000",
47 deviceName: "TMS320CDM420",
48 revision: "",
49 };
50
51 instance:
52
53 override config string codeMemory = "IRAM";
54
55 override config string dataMemory = "IRAM";
56
57 override config string stackMemory = "IRAM";
58 };
59 60 61
62