1 /* 2 * Copyright (c) 2011 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 * This module implements xdc.IPlatform and defines configuration 16 * parameters that correspond to this platform's Cpu's, Board's, etc. 17 * 18 * The configuration parameters are initialized in this package's 19 * configuration script (package.cfg) and "bound" to the TCOM object 20 * model. Once they are part of the model, these parameters are 21 * queried by a program's configuration script. 22 * 23 * This particular platform has a single Cpu, and therefore, only 24 * declares a single CPU configuration object. Multi-CPU platforms 25 * would declare multiple Cpu configuration parameters (one per 26 * platform CPU). 27 */ 28 29 package ti.platforms.ezdsp2808; 30 31 metaonly module Platform inherits xdc.platform.IPlatform 32 { 33 readonly config xdc.platform.IPlatform.Board BOARD = { 34 id: "0", 35 boardName: "ezdsp2808", 36 boardFamily: "ezdsp2808", 37 boardRevision: null 38 }; 39 40 readonly config xdc.platform.IExeContext.Cpu CPU = { 41 id: "0", 42 clockRate: 100.0, 43 catalogName: "ti.catalog.c2800", 44 deviceName: "TMS320C2808", 45 revision: null 46 }; 47 48 instance: 49 50 override config string codeMemory = "H0SARAM"; 51 52 override config string dataMemory = "LSARAM"; 53 54 override config string stackMemory = "MSARAM"; 55 }; 56 /* 57 * @(#) ti.platforms.ezdsp2808; 1, 0, 0,335; 6-15-2011 13:51:25; /db/ztree/library/trees/platform/platform-m22x/src/ 58 */ 59