Changeset 270 for soft/giet_vm/mappings/4c_1p_sort.xml
- Timestamp:
- Jan 13, 2014, 3:33:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/mappings/4c_1p_sort.xml
r262 r270 3 3 <mapping_info signature = "0xdeadbeef" 4 4 name = "4c_1p_sort" 5 cluster_x = "2" 6 cluster_y = "2" 5 x_size = "2" 6 y_size = "2" 7 x_width = "4" 8 y_width = "4" 7 9 vspaces = "1" 8 10 increment = "0x10000" > … … 16 18 <clusterset> 17 19 18 <cluster index= "0" >19 <pseg name = "PSEG_RAM" type = "RAM" base = "0x0000000000" length = "0x00 10000000" />20 <cluster x = "0" y = "0" > 21 <pseg name = "PSEG_RAM" type = "RAM" base = "0x0000000000" length = "0x0001000000" /> 20 22 <pseg name = "PSEG_XCU" type = "PERI" base = "0x00B0000000" length = "0x0000002000" /> 21 23 <pseg name = "PSEG_DMA" type = "PERI" base = "0x00B1000000" length = "0x0000008000" /> … … 56 58 </cluster> 57 59 58 <cluster index= "1" >59 <pseg name = "PSEG_RAM" type = "RAM" base = "0x 4000000000" length = "0x0010000000" />60 <pseg name = "PSEG_XCU" type = "PERI" base = "0x 40B0000000" length = "0x0000002000" />61 <pseg name = "PSEG_DMA" type = "PERI" base = "0x 40B1000000" length = "0x0000008000" />62 <pseg name = "PSEG_MMC" type = "PERI" base = "0x 40B8000000" length = "0x0000001000" />60 <cluster x = "0" y = "1" > 61 <pseg name = "PSEG_RAM" type = "RAM" base = "0x1000000000" length = "0x0001000000" /> 62 <pseg name = "PSEG_XCU" type = "PERI" base = "0x10B0000000" length = "0x0000002000" /> 63 <pseg name = "PSEG_DMA" type = "PERI" base = "0x10B1000000" length = "0x0000008000" /> 64 <pseg name = "PSEG_MMC" type = "PERI" base = "0x10B8000000" length = "0x0000001000" /> 63 65 64 66 <proc index = "0" > … … 72 74 </cluster> 73 75 74 <cluster index = "2" >75 <pseg name = "PSEG_RAM" type = "RAM" base = "0x 8000000000" length = "0x0010000000" />76 <pseg name = "PSEG_XCU" type = "PERI" base = "0x 80B0000000" length = "0x0000002000" />77 <pseg name = "PSEG_DMA" type = "PERI" base = "0x 80B1000000" length = "0x0000008000" />78 <pseg name = "PSEG_MMC" type = "PERI" base = "0x 80B8000000" length = "0x0000001000" />76 <cluster x = "1" y = "0" > 77 <pseg name = "PSEG_RAM" type = "RAM" base = "0x0100000000" length = "0x0001000000" /> 78 <pseg name = "PSEG_XCU" type = "PERI" base = "0x01B0000000" length = "0x0000002000" /> 79 <pseg name = "PSEG_DMA" type = "PERI" base = "0x01B1000000" length = "0x0000008000" /> 80 <pseg name = "PSEG_MMC" type = "PERI" base = "0x01B8000000" length = "0x0000001000" /> 79 81 80 82 <proc index = "0" > … … 88 90 </cluster> 89 91 90 <cluster index = "3" >91 <pseg name = "PSEG_RAM" type = "RAM" base = "0x C000000000" length = "0x0010000000" />92 <pseg name = "PSEG_XCU" type = "PERI" base = "0x C0B0000000" length = "0x0000002000" />93 <pseg name = "PSEG_DMA" type = "PERI" base = "0x C0B1000000" length = "0x0000008000" />94 <pseg name = "PSEG_MMC" type = "PERI" base = "0x C0B8000000" length = "0x0000001000" />92 <cluster x = "1" y = "1" > 93 <pseg name = "PSEG_RAM" type = "RAM" base = "0x1100000000" length = "0x0001000000" /> 94 <pseg name = "PSEG_XCU" type = "PERI" base = "0x11B0000000" length = "0x0000002000" /> 95 <pseg name = "PSEG_DMA" type = "PERI" base = "0x11B1000000" length = "0x0000008000" /> 96 <pseg name = "PSEG_MMC" type = "PERI" base = "0x11B8000000" length = "0x0000001000" /> 95 97 96 98 <proc index = "0" > … … 113 115 - seg_boot_buffer is used by the boot-loader. It can contain a complete .elf file. The content is not reused by the kernel. 114 116 115 <vseg name = "seg_boot_mapping" vbase = "0x00000000" mode = "C_W_" clusterid= "0" psegname = "PSEG_RAM" ident = "1" >117 <vseg name = "seg_boot_mapping" vbase = "0x00000000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" > 116 118 <vobj name = "boot_mapping" type = "BLOB" length = "0x00010000" binpath = "map.bin" /> 117 119 </vseg> 118 <vseg name = "seg_boot_code" vbase = "0x00010000" mode = "CXW_" clusterid= "0" psegname = "PSEG_RAM" ident = "1" >120 <vseg name = "seg_boot_code" vbase = "0x00010000" mode = "CXW_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" > 119 121 <vobj name = "boot_code" type = "BUFFER" length = "0x00020000" /> 120 122 </vseg> 121 <vseg name = "seg_boot_data" vbase = "0x00030000" mode = "C_W_" clusterid= "0" psegname = "PSEG_RAM" ident = "1" >123 <vseg name = "seg_boot_data" vbase = "0x00030000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" > 122 124 <vobj name = "boot_data" type = "BUFFER" length = "0x00010000" /> 123 125 </vseg> 124 <vseg name = "seg_boot_buffer" vbase = "0x00040000" mode = "C_W_" clusterid= "0" psegname = "PSEG_RAM" ident = "1" >126 <vseg name = "seg_boot_buffer" vbase = "0x00040000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" > 125 127 <vobj name = "boot_buffer" type = "BUFFER" length = "0x00020000" /> 126 128 </vseg> 127 <vseg name = "seg_boot_stack" vbase = "0x00060000" mode = "C_W_" clusterid= "0" psegname = "PSEG_RAM" ident = "1" >129 <vseg name = "seg_boot_stack" vbase = "0x00060000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" > 128 130 <vobj name = "boot_stack" type = "BUFFER" length = "0x00090000" /> 129 131 </vseg> … … 131 133 *** Segments used by the kernel / A[31:28] = 0x8 132 134 133 <vseg name = "seg_kernel_code" vbase = "0x80000000" mode = "CXW_" clusterid= "0" psegname = "PSEG_RAM" >135 <vseg name = "seg_kernel_code" vbase = "0x80000000" mode = "CXW_" x = "0" y = "0" psegname = "PSEG_RAM" > 134 136 <vobj name = "kernel_code" type = "ELF" length = "0x00020000" binpath = "build/kernel/kernel.elf" /> 135 137 </vseg> 136 <vseg name = "seg_kernel_data" vbase = "0x80020000" mode = "C_W_" clusterid= "0" psegname = "PSEG_RAM" >138 <vseg name = "seg_kernel_data" vbase = "0x80020000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" > 137 139 <vobj name = "kernel_data" type = "ELF" length = "0x00060000" binpath = "build/kernel/kernel.elf" /> 138 140 </vseg> 139 <vseg name = "seg_kernel_uncdata" vbase = "0x80080000" mode = "__W_" clusterid= "0" psegname = "PSEG_RAM" >141 <vseg name = "seg_kernel_uncdata" vbase = "0x80080000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_RAM" > 140 142 <vobj name = "kernel_uncdata" type = "ELF" length = "0x00040000" binpath = "build/kernel/kernel.elf" /> 141 143 </vseg> 142 <vseg name = "seg_kernel_init" vbase = "0x800C0000" mode = "CXW_" clusterid= "0" psegname = "PSEG_RAM" >144 <vseg name = "seg_kernel_init" vbase = "0x800C0000" mode = "CXW_" x = "0" y = "0" psegname = "PSEG_RAM" > 143 145 <vobj name = "kernel_init" type = "ELF" length = "0x00010000" binpath = "build/kernel/kernel.elf" /> 144 146 </vseg> … … 146 148 *** Segments for non replicated peripherals / A[31:28] = 0xB / Identity mapping 147 149 148 <vseg name = "seg_fbf" vbase = "0xB2000000" mode = "__W_" clusterid= "0" psegname = "PSEG_FBF" ident = "1" >150 <vseg name = "seg_fbf" vbase = "0xB2000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_FBF" ident = "1" > 149 151 <vobj name = "fbf" type = "PERI" length = "0x00004000" /> 150 152 </vseg> 151 <vseg name = "seg_ioc" vbase = "0xB3000000" mode = "__W_" clusterid= "0" psegname = "PSEG_IOC" ident = "1" >153 <vseg name = "seg_ioc" vbase = "0xB3000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_IOC" ident = "1" > 152 154 <vobj name = "ioc" type = "PERI" length = "0x00001000" /> 153 155 </vseg> 154 <vseg name = "seg_tty" vbase = "0xB4000000" mode = "__W_" clusterid= "0" psegname = "PSEG_TTY" ident = "1" >156 <vseg name = "seg_tty" vbase = "0xB4000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_TTY" ident = "1" > 155 157 <vobj name = "tty" type = "PERI" length = "0x00001000" /> 156 158 </vseg> 157 <vseg name = "seg_nic" vbase = "0xB5000000" mode = "__W_" clusterid= "0" psegname = "PSEG_NIC" ident = "1" >159 <vseg name = "seg_nic" vbase = "0xB5000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_NIC" ident = "1" > 158 160 <vobj name = "nic" type = "PERI" length = "0x00080000" /> 159 161 </vseg> 160 <vseg name = "seg_cma" vbase = "0xB6000000" mode = "__W_" clusterid= "0" psegname = "PSEG_CMA" ident = "1" >162 <vseg name = "seg_cma" vbase = "0xB6000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_CMA" ident = "1" > 161 163 <vobj name = "cma" type = "PERI" length = "0x00008000" /> 162 164 </vseg> 163 <vseg name = "seg_rom" vbase = "0xBFC00000" mode = "CXW_" clusterid= "0" psegname = "PSEG_ROM" ident = "1" >165 <vseg name = "seg_rom" vbase = "0xBFC00000" mode = "CXW_" x = "0" y = "0" psegname = "PSEG_ROM" ident = "1" > 164 166 <vobj name = "rom" type = "PERI" length = "0x00004000" /> 165 167 </vseg> … … 167 169 *** Segments for replicated ICUS / A[31:24] = 0xB0 / Increment = 0x10000 / Identity mapping in cluster 0 168 170 169 <vseg name = "seg_icu_0" vbase = "0xB0000000" mode = "__W_" clusterid= "0" psegname = "PSEG_XCU" ident = "1" >171 <vseg name = "seg_icu_0" vbase = "0xB0000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_XCU" ident = "1" > 170 172 <vobj name = "icu_0" type = "PERI" length = "0x00001000" /> 171 173 </vseg> 172 <vseg name = "seg_icu_1" vbase = "0xB0010000" mode = "__W_" clusterid= "1" psegname = "PSEG_XCU" >174 <vseg name = "seg_icu_1" vbase = "0xB0010000" mode = "__W_" x = "0" y = "1" psegname = "PSEG_XCU" > 173 175 <vobj name = "icu_1" type = "PERI" length = "0x00001000" /> 174 176 </vseg> 175 <vseg name = "seg_icu_2" vbase = "0xB0 020000" mode = "__W_" clusterid = "2" psegname = "PSEG_XCU" >177 <vseg name = "seg_icu_2" vbase = "0xB0100000" mode = "__W_" x = "1" y = "0" psegname = "PSEG_XCU" > 176 178 <vobj name = "icu_2" type = "PERI" length = "0x00001000" /> 177 179 </vseg> 178 <vseg name = "seg_icu_3" vbase = "0xB0 030000" mode = "__W_" clusterid = "3" psegname = "PSEG_XCU" >180 <vseg name = "seg_icu_3" vbase = "0xB0110000" mode = "__W_" x = "1" y = "1" psegname = "PSEG_XCU" > 179 181 <vobj name = "icu_3" type = "PERI" length = "0x00001000" /> 180 182 </vseg> 181 183 182 184 *** segments for replicated DMAs / A[31:24] = 0xB1 / Increment = 0x10000 / Tdentity mapping in cluster 0 183 184 <vseg name = "seg_dma_0" vbase = "0xB1000000" mode = "__W_" clusterid = "0" psegname = "PSEG_DMA" ident = "1" > 185 *** The peripheral type must be entirely defined by the 8 virtual address MSB bits (mask_type = 0xFF000000) 186 *** The cluster id must be encoded in the next 8 virtual address bits (cluster_mask = 0x00FF0000) 187 188 <vseg name = "seg_dma_0" vbase = "0xB1000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_DMA" ident = "1" > 185 189 <vobj name = "dma_0" type = "PERI" length = "0x00008000" /> 186 190 </vseg> 187 <vseg name = "seg_dma_1" vbase = "0xB1010000" mode = "__W_" clusterid= "1" psegname = "PSEG_DMA" >191 <vseg name = "seg_dma_1" vbase = "0xB1010000" mode = "__W_" x = "0" y = "1" psegname = "PSEG_DMA" > 188 192 <vobj name = "dma_1" type = "PERI" length = "0x00008000" /> 189 193 </vseg> 190 <vseg name = "seg_dma_2" vbase = "0xB1 020000" mode = "__W_" clusterid = "2" psegname = "PSEG_DMA" >194 <vseg name = "seg_dma_2" vbase = "0xB1100000" mode = "__W_" x = "1" y = "0" psegname = "PSEG_DMA" > 191 195 <vobj name = "dma_2" type = "PERI" length = "0x00008000" /> 192 196 </vseg> 193 <vseg name = "seg_dma_3" vbase = "0xB1 030000" mode = "__W_" clusterid = "3" psegname = "PSEG_DMA" >197 <vseg name = "seg_dma_3" vbase = "0xB1110000" mode = "__W_" x = "1" y = "1" psegname = "PSEG_DMA" > 194 198 <vobj name = "dma_3" type = "PERI" length = "0x00008000" /> 195 199 </vseg> 196 200 197 *** segments for replicated MMC / A[31:24] = 0xB2 / Increment = 0x10000 / Identity mapping in cluster 0 198 199 <vseg name = "seg_memc_0" vbase = "0xB8000000" mode = "__W_" clusterid = "0" psegname = "PSEG_MMC" ident = "1" > 201 *** segments for replicated MMC / A[31:24] = 0xB8 / Increment = 0x10000 / Identity mapping in cluster 0 202 *** The peripheral type must be entirely defined by the 8 virtual address MSB bits (mask_type = 0xFF000000) 203 *** The cluster id must be encoded in the next 8 virtual address bits (cluster_mask = 0x00FF0000) 204 205 <vseg name = "seg_memc_0" vbase = "0xB8000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_MMC" ident = "1" > 200 206 <vobj name = "memc_0" type = "PERI" length = "0x00001000" /> 201 207 </vseg> 202 <vseg name = "seg_memc_1" vbase = "0xB8010000" mode = "__W_" clusterid= "1" psegname = "PSEG_MMC" >208 <vseg name = "seg_memc_1" vbase = "0xB8010000" mode = "__W_" x = "0" y = "1" psegname = "PSEG_MMC" > 203 209 <vobj name = "memc_1" type = "PERI" length = "0x00001000" /> 204 210 </vseg> 205 <vseg name = "seg_memc_2" vbase = "0xB8 020000" mode = "__W_" clusterid = "2" psegname = "PSEG_MMC" >211 <vseg name = "seg_memc_2" vbase = "0xB8100000" mode = "__W_" x = "1" y = "0" psegname = "PSEG_MMC" > 206 212 <vobj name = "memc_2" type = "PERI" length = "0x00001000" /> 207 213 </vseg> 208 <vseg name = "seg_memc_3" vbase = "0xB8 030000" mode = "__W_" clusterid = "3" psegname = "PSEG_MMC" >214 <vseg name = "seg_memc_3" vbase = "0xB8110000" mode = "__W_" x = "1" y = "1" psegname = "PSEG_MMC" > 209 215 <vobj name = "memc_3" type = "PERI" length = "0x00001000" /> 210 216 </vseg> 211 217 212 218 *** segments for replicated schedulers / A[31:28] = 0xF / Increment = 0x10000 213 214 <vseg name = "seg_sched_0" vbase = "0xF0000000" mode = "C_W_" clusterid = "0" psegname = "PSEG_RAM" > 219 *** The type must be entirely defined by the 8 virtual address MSB bits (mask_type = 0xFF000000) 220 *** The cluster id must be encoded in the next 8 virtual address bits (cluster_mask = 0x00FF0000) 221 222 <vseg name = "seg_sched_0" vbase = "0xF0000000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" > 215 223 <vobj name = "sched_0" type = "SCHED" length = "0x00008000" /> 216 224 </vseg> 217 <vseg name = "seg_sched_1" vbase = "0xF0010000" mode = "C_W_" clusterid= "1" psegname = "PSEG_RAM" >225 <vseg name = "seg_sched_1" vbase = "0xF0010000" mode = "C_W_" x = "0" y = "1" psegname = "PSEG_RAM" > 218 226 <vobj name = "sched_1" type = "SCHED" length = "0x00008000" /> 219 227 </vseg> 220 <vseg name = "seg_sched_2" vbase = "0xF0 020000" mode = "C_W_" clusterid = "2" psegname = "PSEG_RAM" >228 <vseg name = "seg_sched_2" vbase = "0xF0100000" mode = "C_W_" x = "1" y = "0" psegname = "PSEG_RAM" > 221 229 <vobj name = "sched_2" type = "SCHED" length = "0x00008000" /> 222 230 </vseg> 223 <vseg name = "seg_sched_3" vbase = "0xF0 030000" mode = "C_W_" clusterid = "3" psegname = "PSEG_RAM" >231 <vseg name = "seg_sched_3" vbase = "0xF0110000" mode = "C_W_" x = "1" y = "1" psegname = "PSEG_RAM" > 224 232 <vobj name = "sched_3" type = "SCHED" length = "0x00008000" /> 225 233 </vseg> … … 236 244 237 245 <vspace name = "sort" startname = "sort_data" > 238 <vseg name = "seg_sort_code" vbase = "0x00400000" mode = "CXWU" clusterid = "3" psegname = "PSEG_RAM" >246 <vseg name = "seg_sort_code" vbase = "0x00400000" mode = "CXWU" x = "1" y = "1" psegname = "PSEG_RAM" > 239 247 <vobj name = "sort_code" type = "ELF" length = "0x00010000" binpath = "build/sort/sort.elf" /> 240 248 </vseg> 241 <vseg name = "seg_sort_data" vbase = "0x00500000" mode = "__WU" clusterid = "3" psegname = "PSEG_RAM" >249 <vseg name = "seg_sort_data" vbase = "0x00500000" mode = "__WU" x = "1" y = "1" psegname = "PSEG_RAM" > 242 250 <vobj name = "sort_data" type = "ELF" length = "0x00010000" binpath = "build/sort/sort.elf" /> 243 251 </vseg> 244 <vseg name = "seg_sort_ptab" vbase = "0x00600000" mode = "C_W_" clusterid = "3" psegname = "PSEG_RAM" >252 <vseg name = "seg_sort_ptab" vbase = "0x00600000" mode = "C_W_" x = "1" y = "1" psegname = "PSEG_RAM" > 245 253 <vobj name = "sort_ptab" type = "PTAB" length = "0x00020000" align = "13" /> 246 254 </vseg> 247 <vseg name = "seg_sort_stack0" vbase = "0x00800000" mode = "C_WU" clusterid= "0" psegname = "PSEG_RAM" >255 <vseg name = "seg_sort_stack0" vbase = "0x00800000" mode = "C_WU" x = "0" y = "0" psegname = "PSEG_RAM" > 248 256 <vobj name = "sort_stack0" type = "BUFFER" length = "0x00010000" /> 249 257 <vobj name = "sort_heap0" type = "BUFFER" length = "0x00010000" /> 250 258 </vseg> 251 <vseg name = "seg_sort_stack1" vbase = "0x00A00000" mode = "C_WU" clusterid= "1" psegname = "PSEG_RAM" >259 <vseg name = "seg_sort_stack1" vbase = "0x00A00000" mode = "C_WU" x = "0" y = "1" psegname = "PSEG_RAM" > 252 260 <vobj name = "sort_stack1" type = "BUFFER" length = "0x00010000" /> 253 261 <vobj name = "sort_heap1" type = "BUFFER" length = "0x00010000" /> 254 262 </vseg> 255 <vseg name = "seg_sort_stack2" vbase = "0x00C00000" mode = "C_WU" clusterid = "2" psegname = "PSEG_RAM" >263 <vseg name = "seg_sort_stack2" vbase = "0x00C00000" mode = "C_WU" x = "1" y = "0" psegname = "PSEG_RAM" > 256 264 <vobj name = "sort_stack2" type = "BUFFER" length = "0x00010000" /> 257 265 <vobj name = "sort_heap2" type = "BUFFER" length = "0x00010000" /> 258 266 </vseg> 259 <vseg name = "seg_sort_stack3" vbase = "0x00E00000" mode = "C_WU" clusterid = "3" psegname = "PSEG_RAM" >267 <vseg name = "seg_sort_stack3" vbase = "0x00E00000" mode = "C_WU" x = "1" y = "1" psegname = "PSEG_RAM" > 260 268 <vobj name = "sort_stack3" type = "BUFFER" length = "0x00010000" /> 261 269 <vobj name = "sort_heap3" type = "BUFFER" length = "0x00010000" /> 262 270 </vseg> 263 271 264 <task name = "sort_0" clusterid= "0" proclocid = "0" stackname = "sort_stack0" heapname = "sort_heap3" startid = "0" usetty = "1" />265 <task name = "sort_1" clusterid= "1" proclocid = "0" stackname = "sort_stack1" heapname = "sort_heap3" startid = "0" usetty = "1" />266 <task name = "sort_2" clusterid = "2" proclocid = "0" stackname = "sort_stack2" heapname = "sort_heap3" startid = "0" usetty = "1" />267 <task name = "sort_3" clusterid = "3" proclocid = "0" stackname = "sort_stack3" heapname = "sort_heap3" startid = "0" usetty = "1" />272 <task name = "sort_0" trdid = "0" x = "0" y = "0" proclocid = "0" stackname = "sort_stack0" heapname = "sort_heap3" startid = "0" usetty = "1" /> 273 <task name = "sort_1" trdid = "1" x = "0" y = "1" proclocid = "0" stackname = "sort_stack1" heapname = "sort_heap3" startid = "0" usetty = "1" /> 274 <task name = "sort_2" trdid = "2" x = "1" y = "0" proclocid = "0" stackname = "sort_stack2" heapname = "sort_heap3" startid = "0" usetty = "1" /> 275 <task name = "sort_3" trdid = "3" x = "1" y = "1" proclocid = "0" stackname = "sort_stack3" heapname = "sort_heap3" startid = "0" usetty = "1" /> 268 276 </vspace> 269 277 </vspaceset>
Note: See TracChangeset
for help on using the changeset viewer.