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