blob: 94ab4fae7d5d11cda7da6f81866f90fa12e97c5c [file] [log] [blame]
Tim Hall1bd531d2020-11-01 20:59:36 +00001; Copyright (C) 2020 Arm Limited or its affiliates. All rights reserved.
2;
3; SPDX-License-Identifier: Apache-2.0
4;
5; Licensed under the Apache License, Version 2.0 (the License); you may
6; not use this file except in compliance with the License.
7; You may obtain a copy of the License at
8;
9; 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, WITHOUT
13; 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; Vela configuration file
19
20; -----------------------------------------------------------------------------
21; System Configuration
22
23; Ethos-U55 Deep Embedded: SRAM (1.6 GB/s) and Flash (0.1 GB/s)
24[System_Config.Ethos_U55_Deep_Embedded]
25core_clock=200e6
26axi0_port=Sram
27axi1_port=OffChipFlash
28Sram_clock_scale=1.0
29OffChipFlash_clock_scale=0.0625
30
31; Ethos-U55 High-End Embedded: SRAM (4 GB/s) and Flash (0.5 GB/s)
32[System_Config.Ethos_U55_High_End_Embedded]
33core_clock=500e6
34axi0_port=Sram
35axi1_port=OffChipFlash
36Sram_clock_scale=1.0
37OffChipFlash_clock_scale=0.125
38
39; Ethos-U65 Embedded: SRAM (8 GB/s) and Flash (0.5 GB/s)
40[System_Config.Ethos_U65_Embedded]
41core_clock=500e6
42axi0_port=Sram
43axi1_port=OffChipFlash
44Sram_clock_scale=1.0
45OffChipFlash_clock_scale=0.0625
46
47; Ethos-U65 Mid-End: SRAM (8 GB/s) and DRAM (3.75 GB/s)
48[System_Config.Ethos_U65_Mid_End]
49core_clock=500e6
50axi0_port=Sram
51axi1_port=Dram
52Sram_clock_scale=1.0
53Dram_clock_scale=0.46875
54
55; Ethos-U65 High-End: SRAM (16 GB/s) and DRAM (3.75 GB/s)
56[System_Config.Ethos_U65_High_End]
57core_clock=1e9
58axi0_port=Sram
59axi1_port=Dram
60Sram_clock_scale=1.0
61Dram_clock_scale=0.234375
62
63; Ethos-U65 Client-Server: SRAM (16 GB/s) and DRAM (12 GB/s)
64[System_Config.Ethos_U65_Client_Server]
65core_clock=1e9
66axi0_port=Sram
67axi1_port=Dram
68Sram_clock_scale=1.0
69Dram_clock_scale=0.75
70
71; -----------------------------------------------------------------------------
72; Memory Mode
73
74; SRAM Only: only one AXI port is used and the SRAM is used for all storage
75[Memory_Mode.Sram_Only]
76const_mem_area=Axi0
77arena_mem_area=Axi0
78cache_mem_area=Axi0
79
80; Shared SRAM: the SRAM is shared between the Ethos-U and the Cortex-M software.
81; The non-SRAM memory is assumed to be read-only
82[Memory_Mode.Shared_Sram]
83const_mem_area=Axi1
84arena_mem_area=Axi0
85cache_mem_area=Axi0
86
87; Dedicated SRAM: the SRAM (384KB) is only for use by the Ethos-U
88; The non-SRAM memory is assumed to be read-writeable
89[Memory_Mode.Dedicated_Sram]
90const_mem_area=Axi1
91arena_mem_area=Axi1
92cache_mem_area=Axi0
93cache_sram_size=393216
94
95; Dedicated SRAM 512KB: the SRAM (512KB) is only for use by the Ethos-U
96; The non-SRAM memory is assumed to be read-writeable
97[Memory_Mode.Dedicated_Sram_512KB]
98inherit=Memory_Mode.Dedicated_Sram
99cache_sram_size=524288