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