1 /* 2 * Copyright 2009 by Texas Instruments Incorporated. 3 * 4 * All rights reserved. Property of Texas Instruments Incorporated. 5 * Restricted rights to use, duplicate or disclose this code are 6 * granted through contract. 7 * 8 */ 9 10 /* 11 * ======== Platform.xdc ======== 12 * This module implements xdc.IPlatform and defines configuration 13 * parameters that correspond to this platform's Cpu's, Board's, etc. 14 * 15 * The configuration parameters are initialized in this package's 16 * configuration script (package.cfg) and "bound" to the TCOM object 17 * model. Once they are part of the model, these parameters are 18 * queried by a program's configuration script. 19 * 20 * This particular platform has a single Cpu, and therefore, only 21 * declares a single CPU configuration object. Multi-CPU platforms 22 * would declare multiple Cpu configuration parameters (one per 23 * platform CPU). 24 * 25 */ 26 27 package ti.platforms.ezdsp28335; 28 29 metaonly module Platform inherits xdc.platform.IPlatform 30 { 31 readonly config xdc.platform.IPlatform.Board BOARD = { 32 id: "0", 33 boardName: "ezdsp28335", 34 boardFamily: "ezdsp28335", 35 boardRevision: null 36 }; 37 38 readonly config xdc.platform.IExeContext.Cpu CPU = { 39 id: "0", 40 clockRate: 150.0, 41 catalogName: "ti.catalog.c2800", 42 deviceName: "TMS320C28335", 43 revision: null 44 }; 45 46 instance: 47 48 override readonly config xdc.platform.IPlatform.MemoryMap 49 externalMemoryMap = [ 50 ["SRAM", 51 { 52 name: "SRAM", 53 base: 0x200000, 54 len: 0x020000, 55 page: 1, 56 space: "code/data", 57 } 58 ], 59 ]; 60 61 override config string codeMemory = "SRAM"; 62 63 override config string dataMemory = "SRAM"; 64 65 override config string stackMemory = "L03SARAM"; 66 67 }; 68 /* 69 * @(#) ti.platforms.ezdsp28335; 1, 0, 0,168; 6-4-2009 14:24:38; /db/ztree/library/trees/platform-k10x/src/ 70 */ 71