1 2 3 4 5 6 7 8 9 10 11
12
13 14 15
16
17 /*!
18 * ======== Platform ========
19 * Platform support for the evmDM355
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 /*!
37 * ======== BOARD ========
38 * This platform's board attributes
39 */
40 readonly config xdc.platform.IPlatform.Board BOARD = {
41 id: "0",
42 boardName: "evmDM355",
43 boardFamily: "evmDM355",
44 boardRevision: null
45 };
46
47 readonly config xdc.platform.IExeContext.Cpu CPU = {
48 id: "0",
49 clockRate: 216.0,
50 catalogName: "ti.catalog.arm",
51 deviceName: "TMS320DM355",
52 revision: "",
53 };
54
55 instance:
56
57 58 59 60
61 override readonly config xdc.platform.IPlatform.MemoryMap
62 externalMemoryMap = [
63 ["DDR2", {name: "DDR2", base: 0x80000000, len: 0x8000000}],
64 ];
65
66 67 68 69 70
71 override config string codeMemory = "DDR2";
72 override config string dataMemory = "DDR2";
73 override config string stackMemory = "DDR2";
74 };
75
76 77 78
79