1 2 3 4 5 6 7 8
9
10 11 12
13
14 package ti.platforms.dsk6713;
15
16 /*!
17 * ======== Platform ========
18 * Platform support for the dsk6713
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.cfg) 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 /*!
36 * ======== BOARD ========
37 * Board-level properties of this particular platform.
38 */
39 readonly config xdc.platform.IPlatform.Board BOARD = {
40 id: "0",
41 boardName: "dsk6713",
42 boardFamily: "dsk6713",
43 boardRevision: null
44 };
45
46 /*!
47 * ======== CPU ========
48 * The device on this platform
49 */
50 readonly config xdc.platform.IExeContext.Cpu CPU = {
51 id: "0",
52 clockRate: 225.0,
53 catalogName: "ti.catalog.c6000",
54 deviceName: "TMS320C6713",
55 revision: "",
56 };
57
58 instance:
59
60 /*!
61 * ======== externalMemoryMap ========
62 * Default mapping of memory names to memory objects.
63 */
64 override readonly config xdc.platform.IPlatform.Memory
65 externalMemoryMap[string] = [
66 ["SDRAM", {
67 comment:
68 "This object defines 8MB for the DSP's off-chip memory",
69 name: "SDRAM",
70 base: 0x80000000,
71 len: 0x00800000,
72 space: "code/data"
73 }]
74 ];
75
76 /*!
77 * ======== ftpath ========
78 * Installation directory of the Foundational Tools Suite
79 *
80 * The underlying simulation engine used to run executables produced
81 * using this platform is part of the Target Server / Foundational Tools
82 * product (http://www.hou.asp.ti.com/asp/sds/eft/projects/Foundation_Tools/Releases/index.html).
83 */
84 readonly config String ftpath;
85
86 override config string codeMemory = "IRAM";
87
88 override config string dataMemory = "SDRAM";
89
90 override config string stackMemory = "SDRAM";
91 };
92 93 94
95