1 2 3 4 5 6 7 8 9 10 11
12
13 14 15 16
17
18 /*!
19 * ======== TMS320C6454 ========
20 * The 6454 device data sheet module.
21 *
22 * This module implements the ICpuDataSheet interface and is
23 * used by platforms to obtain "data sheet" information about this device.
24 */
25 metaonly module TMS320C6454 inherits ti.catalog.ICpuDataSheet
26 {
27 config long cacheSizeL1[string] = [
28 ["0k", 0x0000],
29 ["4k", 0x1000],
30 ["8k", 0x2000],
31 ["16k", 0x4000],
32 ["32k", 0x8000],
33 ];
34
35 config long cacheSizeL2[string] = [
36 ["0k", 0x00000],
37 ["32k", 0x08000],
38 ["64k", 0x10000],
39 ["128k", 0x20000],
40 ["256k", 0x40000]
41 ];
42
43 readonly config ti.catalog.c6000.ICacheInfo.CacheDesc cacheMap[string] = [
44 ['l1PMode',{desc:"L1P Cache",
45 base: 0xE00000,
46 map : [["0k",0x0000],
47 ["4k",0x1000],
48 ["8k",0x2000],
49 ["16k",0x4000],
50 ["32k",0x8000]],
51 defaultValue: "32k",
52 memorySection: "L1PSRAM"}],
53
54 ['l1DMode',{desc:"L1D Cache",
55 base: 0xF00000,
56 map : [["0k",0x0000],
57 ["4k",0x1000],
58 ["8k",0x2000],
59 ["16k",0x4000],
60 ["32k",0x8000]],
61 defaultValue: "32k",
62 memorySection: "L1DSRAM"}],
63
64 ['l2Mode',{desc:"L2 Cache",
65 base: 0x800000,
66 map : [["0k",0x0000],
67 ["32k",0x8000],
68 ["64k",0x10000],
69 ["128k",0x20000],
70 ["256k",0x40000]],
71 defaultValue: "0k",
72 memorySection: "IRAM"}],
73 ];
74
75 instance:
76
77 override config string cpuCore = "64x+";
78 override config string isa = "64P";
79 override config string cpuCoreRevision = "1.0";
80
81 override config int minProgUnitSize = 1;
82 override config int minDataUnitSize = 1;
83 override config int dataWordSize = 4;
84
85 /*!
86 * ======== memMap ========
87 * The default memory map for this device
88 */
89 config xdc.platform.IPlatform.Memory memMap[string] = [
90 ["IRAM", {
91 comment: "Internal 1MB UMAP0 memory",
92 name: "IRAM",
93 base: 0x800000,
94 len: 0x100000,
95 space: "code/data",
96 access: "RWX"
97 }],
98
99 ["L1PSRAM", {
100 comment: "Internal 32KB RAM/CACHE L1 program memory",
101 name: "L1PSRAM",
102 base: 0xE00000,
103 len: 0x008000,
104 space: "code",
105 access: "RWX"
106 }],
107
108 ["L1DSRAM", {
109 comment: "Internal 32KB RAM/CACHE L1 data memory",
110 name: "L1DSRAM",
111 base: 0xF00000,
112 len: 0x008000,
113 space: "data",
114 access: "RW"
115 }],
116
117 ];
118 };
119 120 121
122