blob: bcc3357389decf4f014ff41650f258625df97150 [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
Diqing Zhongf842b692020-12-11 13:07:37 +010029Sram_burst_length=32
30Sram_read_latency=32
31Sram_write_latency=32
Tim Hall1bd531d2020-11-01 20:59:36 +000032OffChipFlash_clock_scale=0.0625
Diqing Zhongf842b692020-12-11 13:07:37 +010033OffChipFlash_burst_length=128
34OffChipFlash_read_latency=64
35OffChipFlash_write_latency=64
Tim Hall1bd531d2020-11-01 20:59:36 +000036
37; Ethos-U55 High-End Embedded: SRAM (4 GB/s) and Flash (0.5 GB/s)
38[System_Config.Ethos_U55_High_End_Embedded]
39core_clock=500e6
40axi0_port=Sram
41axi1_port=OffChipFlash
42Sram_clock_scale=1.0
Diqing Zhongf842b692020-12-11 13:07:37 +010043Sram_burst_length=32
44Sram_read_latency=32
45Sram_write_latency=32
Tim Hall1bd531d2020-11-01 20:59:36 +000046OffChipFlash_clock_scale=0.125
Diqing Zhongf842b692020-12-11 13:07:37 +010047OffChipFlash_burst_length=128
48OffChipFlash_read_latency=64
49OffChipFlash_write_latency=64
Tim Hall1bd531d2020-11-01 20:59:36 +000050
51; Ethos-U65 Embedded: SRAM (8 GB/s) and Flash (0.5 GB/s)
52[System_Config.Ethos_U65_Embedded]
53core_clock=500e6
54axi0_port=Sram
55axi1_port=OffChipFlash
56Sram_clock_scale=1.0
Diqing Zhongf842b692020-12-11 13:07:37 +010057Sram_burst_length=32
58Sram_read_latency=32
59Sram_write_latency=32
Tim Hall1bd531d2020-11-01 20:59:36 +000060OffChipFlash_clock_scale=0.0625
Diqing Zhongf842b692020-12-11 13:07:37 +010061OffChipFlash_burst_length=128
62OffChipFlash_read_latency=64
63OffChipFlash_write_latency=64
Tim Hall1bd531d2020-11-01 20:59:36 +000064
65; Ethos-U65 Mid-End: SRAM (8 GB/s) and DRAM (3.75 GB/s)
66[System_Config.Ethos_U65_Mid_End]
67core_clock=500e6
68axi0_port=Sram
69axi1_port=Dram
70Sram_clock_scale=1.0
Diqing Zhongf842b692020-12-11 13:07:37 +010071Sram_burst_length=32
72Sram_read_latency=32
73Sram_write_latency=32
Tim Hall1bd531d2020-11-01 20:59:36 +000074Dram_clock_scale=0.46875
Diqing Zhongf842b692020-12-11 13:07:37 +010075Dram_burst_length=128
76Dram_read_latency=500
77Dram_write_latency=250
Tim Hall1bd531d2020-11-01 20:59:36 +000078
79; Ethos-U65 High-End: SRAM (16 GB/s) and DRAM (3.75 GB/s)
80[System_Config.Ethos_U65_High_End]
81core_clock=1e9
82axi0_port=Sram
83axi1_port=Dram
84Sram_clock_scale=1.0
Diqing Zhongf842b692020-12-11 13:07:37 +010085Sram_burst_length=32
86Sram_read_latency=32
87Sram_write_latency=32
Tim Hall1bd531d2020-11-01 20:59:36 +000088Dram_clock_scale=0.234375
Diqing Zhongf842b692020-12-11 13:07:37 +010089Dram_burst_length=128
90Dram_read_latency=500
91Dram_write_latency=250
Tim Hall1bd531d2020-11-01 20:59:36 +000092
93; Ethos-U65 Client-Server: SRAM (16 GB/s) and DRAM (12 GB/s)
94[System_Config.Ethos_U65_Client_Server]
95core_clock=1e9
96axi0_port=Sram
97axi1_port=Dram
98Sram_clock_scale=1.0
Diqing Zhongf842b692020-12-11 13:07:37 +010099Sram_burst_length=32
100Sram_read_latency=32
101Sram_write_latency=32
Tim Hall1bd531d2020-11-01 20:59:36 +0000102Dram_clock_scale=0.75
Diqing Zhongf842b692020-12-11 13:07:37 +0100103Dram_burst_length=128
104Dram_read_latency=500
105Dram_write_latency=250
Tim Hall1bd531d2020-11-01 20:59:36 +0000106
107; -----------------------------------------------------------------------------
108; Memory Mode
109
110; SRAM Only: only one AXI port is used and the SRAM is used for all storage
111[Memory_Mode.Sram_Only]
112const_mem_area=Axi0
113arena_mem_area=Axi0
114cache_mem_area=Axi0
115
Tim Hall70b71a52020-12-22 11:47:54 +0000116; Shared SRAM: the SRAM is shared between the Ethos-U and the Cortex-M software
Tim Hall1bd531d2020-11-01 20:59:36 +0000117; The non-SRAM memory is assumed to be read-only
118[Memory_Mode.Shared_Sram]
119const_mem_area=Axi1
120arena_mem_area=Axi0
121cache_mem_area=Axi0
122
123; Dedicated SRAM: the SRAM (384KB) is only for use by the Ethos-U
124; The non-SRAM memory is assumed to be read-writeable
125[Memory_Mode.Dedicated_Sram]
126const_mem_area=Axi1
127arena_mem_area=Axi1
128cache_mem_area=Axi0
Tim Halld8339a72021-05-27 18:49:40 +0100129arena_cache_size=393216
Tim Hall1bd531d2020-11-01 20:59:36 +0000130
131; Dedicated SRAM 512KB: the SRAM (512KB) is only for use by the Ethos-U
132; The non-SRAM memory is assumed to be read-writeable
133[Memory_Mode.Dedicated_Sram_512KB]
134inherit=Memory_Mode.Dedicated_Sram
Tim Halld8339a72021-05-27 18:49:40 +0100135arena_cache_size=524288