1 /*
2 * Copyright (c) 2008 Texas Instruments and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 * Texas Instruments - initial implementation
10 *
11 * */
12 /*
13 * ======== Platform.xdc ========
14 */
15
16 package ti.platforms.sim55xx;
17
18 /*!
19 * ======== Platform ========
20 * A simulation platform for C55xx-based platforms
21 *
22 * This module implements xdc.platform.IPlatform and defines configuration
23 * parameters that correspond to this platform's Cpu's, Board's, etc.
24 *
25 * The configuration parameters are initialized in this package's
26 * configuration script (package.cfg) and "bound" to the TCOM object
27 * model. Once they are part of the model, these parameters are
28 * queried by a program's configuration script.
29 *
30 * This particular platform has a single Cpu, and therefore, only
31 * declares a single CPU configuration object. Multi-CPU platforms
32 * would declare multiple Cpu configuration parameters (one per
33 * platform CPU).
34 */
35 metaonlymodule Platform inherits xdc.platform.IPlatform
36 {
37 /*!
38 * ======== BOARD ========
39 * This platform's board attributes
40 */
41 readonlyconfig xdc.platform.IPlatform.Board BOARD = {
42 id: "0",
43 boardName: "sim55xx",
44 boardFamily: "sim55xx",
45 boardRevision: null
46 };
47
48 /*!
49 * ======== CPU ========
50 * The CPU simulated by this platform.
51 *
52 * The device simulated is determined by the platform instance name
53 * or if this does not name a ti.catalog.c5500 module, then we
54 * simulate a TMS320C5510.
55 */
56 readonlyconfig xdc.platform.IExeContext.Cpu CPU = {
57 id: "0",
58 clockRate: 200.0,
59 catalogName: "ti.catalog.c5500",
60 deviceName: "TMS320C5510",
61 revision: "",
62 };
63
64 instance:
65
66 /*!
67 * ======== deviceName ========
68 * The CPU simulated by this simulator platform.
69 *
70 * This parameter is optional. If it's not set, then the Platform module
71 * parameter CPU.deviceName is used.
72 */
73 config string deviceName;
74
75 /*!
76 * ======== ftpath ========
77 * Installation directory of the Foundational Tools Suite
78 *
79 * The underlying simulation engine used to run executables produced
80 * using this platform is part of the Target Server / Foundational Tools
81 * product (http://www.hou.asp.ti.com/asp/sds/eft/projects/Foundation_Tools/Releases/index.html).
82 */
83 readonlyconfig String ftpath;
84
85 overrideconfig string codeMemory = "SARAM";
86
87 overrideconfig string dataMemory = "DARAM";
88
89 overrideconfig string stackMemory = "DARAM";
90
91 /*!
92 * ======== st3_55 ========
93 * The value of the MP/MC bit in the register ST3_55.
94 *
95 * This parameter determines memory map. If the configuration parameter
96 * `{@link ti.platforms.sim55xx.Platform#customMemoryMap}` is set, the
97 * memory addresses and sizes must fit within address spaces defined by
98 * `st3_55`. Complete description of the ST3_55 register and the memory
99 * maps for 55xx based devices and platforms is available in device
100 * datasheets.
101 */
102 config Bool st3_55 = true;
103 };
104 /*
105 * @(#) ti.platforms.sim55xx; 1, 0, 1, 1,27; 5-6-2010 13:40:43; /db/ztree/library/trees/platform/platform-k34x/src/
106 */
107