1 2 3 4 5 6 7 8
9
10 11 12 13
14
15 package ti.platforms.dsk6211;
16
17 /*!
18 * ======== Platform ========
19 * Platform support for the dsk6211
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: "dsk6211",
39 boardFamily: "dsk6211",
40 boardRevision: null,
41 };
42
43 readonly config xdc.platform.IExeContext.Cpu CPU = {
44 id: "0",
45 clockRate: 150.0,
46 catalogName: "ti.catalog.c6000",
47 deviceName: "TMS320C6211",
48 revision: "",
49 };
50
51 instance:
52
53 override readonly config xdc.platform.IPlatform.Memory
54 externalMemoryMap[string] = [
55 ["SDRAM", {name: "SDRAM", base: 0x80000000, len: 0x400000}],
56 ];
57
58 override config string codeMemory = "IRAM";
59
60 override config string dataMemory = "SDRAM";
61
62 override config string stackMemory = "SDRAM";
63 };
64 65 66
67