1 2 3 4 5 6 7 8
9
10 11 12
13
14 package ti.platforms.evm5509A;
15
16 /*!
17 * ======== Platform ========
18 * Platform support for the evm5509A
19 *
20 * This module implements xdc.platform.IPlatform and defines configuration
21 * parameters that correspond to this platform's Cpu's, Board's, etc.
22 *
23 * The configuration parameters are initialized in this package's
24 * configuration script (package.xs) and "bound" to the TCOM object
25 * model. Once they are part of the model, these parameters are
26 * queried by a program's configuration script.
27 *
28 * This particular platform has a single Cpu, and therefore, only
29 * declares a single CPU configuration object. Multi-CPU platforms
30 * would declare multiple Cpu configuration parameters (one per
31 * platform CPU).
32 */
33 metaonly module Platform inherits xdc.platform.IPlatform
34 {
35 readonly config xdc.platform.IPlatform.Board BOARD = {
36 id: "0",
37 boardName: "evm5509A",
38 boardFamily: "evm5509",
39 boardRevision: null
40 };
41
42 readonly config xdc.platform.IExeContext.Cpu CPU = {
43 id: "0",
44 clockRate: 120.0,
45 catalogName: "ti.catalog.c5500",
46 deviceName: "TMS320C5509A",
47 revision: "",
48 };
49
50 instance:
51
52 override readonly config xdc.platform.IPlatform.MemoryMap
53 externalMemoryMap = [
54 ["SDRAM", {name: "SDRAM", base: 0x040000, len: 0x3b0000}],
55 ["FLASH", {name: "FLASH", base: 0x400000, len: 0x200000}],
56 ];
57
58 override config string codeMemory = "SARAM";
59
60 override config string dataMemory = "DARAM";
61
62 override config string stackMemory = "DARAM";
63 };
64 65 66
67