alexander | 3c79893 | 2021-03-26 21:42:19 +0000 | [diff] [blame^] | 1 | ; |
| 2 | ; Copyright (c) 2021 Arm Limited. All rights reserved. |
| 3 | ; SPDX-License-Identifier: Apache-2.0 |
| 4 | ; |
| 5 | ; Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | ; you may not use this file except in compliance with the License. |
| 7 | ; You may obtain a copy of the License at |
| 8 | ; |
| 9 | ; http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | ; |
| 11 | ; Unless required by applicable law or agreed to in writing, software |
| 12 | ; distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | ; See the License for the specific language governing permissions and |
| 15 | ; limitations under the License. |
| 16 | ; |
| 17 | |
| 18 | ; ----------------------------------------------------------------------------- |
| 19 | ; Vela configuration file |
| 20 | |
| 21 | ; ----------------------------------------------------------------------------- |
| 22 | ; System Configuration |
| 23 | |
| 24 | ; Ethos-U55 Deep Embedded: SRAM (1.6 GB/s) and Flash (0.1 GB/s) |
| 25 | [System_Config.Ethos_U55_Deep_Embedded] |
| 26 | core_clock=200e6 |
| 27 | axi0_port=Sram |
| 28 | axi1_port=OffChipFlash |
| 29 | Sram_clock_scale=1.0 |
| 30 | Sram_burst_length=32 |
| 31 | Sram_read_latency=32 |
| 32 | Sram_write_latency=32 |
| 33 | OffChipFlash_clock_scale=0.0625 |
| 34 | OffChipFlash_burst_length=128 |
| 35 | OffChipFlash_read_latency=64 |
| 36 | OffChipFlash_write_latency=64 |
| 37 | |
| 38 | ; Ethos-U55 High-End Embedded: SRAM (4 GB/s) and Flash (0.5 GB/s) |
| 39 | [System_Config.Ethos_U55_High_End_Embedded] |
| 40 | core_clock=500e6 |
| 41 | axi0_port=Sram |
| 42 | axi1_port=OffChipFlash |
| 43 | Sram_clock_scale=1.0 |
| 44 | Sram_burst_length=32 |
| 45 | Sram_read_latency=32 |
| 46 | Sram_write_latency=32 |
| 47 | OffChipFlash_clock_scale=0.125 |
| 48 | OffChipFlash_burst_length=128 |
| 49 | OffChipFlash_read_latency=64 |
| 50 | OffChipFlash_write_latency=64 |
| 51 | |
| 52 | ; ----------------------------------------------------------------------------- |
| 53 | ; Memory Mode |
| 54 | |
| 55 | ; SRAM Only: only one AXI port is used and the SRAM is used for all storage |
| 56 | [Memory_Mode.Sram_Only] |
| 57 | const_mem_area=Axi0 |
| 58 | arena_mem_area=Axi0 |
| 59 | cache_mem_area=Axi0 |
| 60 | |
| 61 | ; Shared SRAM: the SRAM is shared between the Ethos-U and the Cortex-M software |
| 62 | ; The non-SRAM memory is assumed to be read-only |
| 63 | [Memory_Mode.Shared_Sram] |
| 64 | const_mem_area=Axi1 |
| 65 | arena_mem_area=Axi0 |
| 66 | cache_mem_area=Axi0 |
| 67 | |
| 68 | ; Dedicated SRAM: the SRAM (384KB) is only for use by the Ethos-U |
| 69 | ; The non-SRAM memory is assumed to be read-writeable |
| 70 | [Memory_Mode.Dedicated_Sram] |
| 71 | const_mem_area=Axi1 |
| 72 | arena_mem_area=Axi1 |
| 73 | cache_mem_area=Axi0 |
| 74 | cache_sram_size=393216 |
| 75 | |
| 76 | ; Dedicated SRAM 512KB: the SRAM (512KB) is only for use by the Ethos-U |
| 77 | ; The non-SRAM memory is assumed to be read-writeable |
| 78 | [Memory_Mode.Dedicated_Sram_512KB] |
| 79 | inherit=Memory_Mode.Dedicated_Sram |
| 80 | cache_sram_size=524288 |