1 /*
2 * Copyright (c) 2012 by 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 /*
14 * ======== Platform.xdc ========
15 *
16 */
17
18 package ti.platforms.sim64Pxx;
19
20 /*!
21 * ======== Platform ========
22 * Platform support for the sim64Pxx
23 *
24 * This module implements xdc.platform.IPlatform and defines configuration
25 * parameters that correspond to this platform's Cpu's, Board's, etc.
26 *
27 * The configuration parameters are initialized in this package's
28 * configuration script (package.cfg) and "bound" to the TCOM object
29 * model. Once they are part of the model, these parameters are
30 * queried by a program's configuration script.
31 *
32 * This particular platform has a single Cpu, and therefore, only
33 * declares a single CPU configuration object. Multi-CPU platforms
34 * would declare multiple Cpu configuration parameters (one per
35 * platform CPU).
36 */
37 metaonlymodule Platform inherits xdc.platform.IPlatform
38 {
39 readonlyconfig xdc.platform.IPlatform.Board BOARD = {
40 id: "0",
41 boardName: "sim64Pxx",
42 boardFamily: "sim64Pxx",
43 boardRevision: null,
44 };
45
46 readonlyconfig xdc.platform.IExeContext.Cpu CPU = {
47 id: "0",
48 clockRate: 1000,
49 catalogName: "ti.catalog.c6000",
50 deviceName: "TMS320CTCI6482",
51 revision: "",
52 };
53
54 instance:
55
56 overridereadonlyconfig xdc.platform.IPlatform.Memory
57 externalMemoryMap[string] = [
58 ["DDR", {name: "DDR", base: 0x80000000, len: 0x10000000}],
59 ];
60
61 /*!
62 * ======== deviceName ========
63 * The CPU simulated by this simulator platform.
64 *
65 * This parameter is optional. If it's not set, then the Platform module
66 * parameter CPU.deviceName is used.
67 */
68 config string deviceName;
69
70 /*!
71 * ======== ftpath ========
72 * Installation directory of the Foundational Tools Suite
73 *
74 * The underlying simulation engine used to run executables produced
75 * using this platform is part of the Target Server / Foundational Tools
76 * product (http://www.hou.asp.ti.com/asp/sds/eft/projects/Foundation_Tools/Releases/index.html).
77 */
78 readonlyconfig String ftpath;
79
80 overrideconfig string codeMemory = "DDR";
81
82 overrideconfig string dataMemory = "DDR";
83
84 overrideconfig string stackMemory = "DDR";
85
86 /*
87 * ======== l1PMode ========
88 * Define the amount of L1P RAM used for L1 Program Cache.
89 *
90 * Check the device documentation for valid values.
91 */
92 config String l1PMode = "32k";
93
94 /*
95 * ======== l1DMode ========
96 * Define the amount of L1D RAM used for L1 Data Cache.
97 *
98 * Check the device documentation for valid values.
99 */
100 config String l1DMode = "32k";
101
102 /*
103 * ======== l2Mode ========
104 * Define the amount of L2 RAM used for L2 Cache.
105 *
106 * Check the device documentation for valid values.
107 */
108 config String l2Mode = "0k";
109 };
110 /*
111 * @(#) ti.platforms.sim64Pxx; 1, 0, 0,356; 2-10-2012 12:14:03; /db/ztree/library/trees/platform/platform-n14x/src/
112 */
113