cpu/zynq7000: correct address map

This commit is contained in:
Ilia Sergachev 2022-01-19 02:48:13 +01:00
parent 2bc1c3ac99
commit 6a395fa492
1 changed files with 6 additions and 3 deletions

View File

@ -23,17 +23,20 @@ class Zynq7000(CPU):
human_name = "Zynq7000"
data_width = 32
endianness = "little"
reset_address = 0x00000000
reset_address = 0xfc00_0000
gcc_triple = "arm-none-eabi"
gcc_flags = "-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard"
linker_output_format = "elf32-littlearm"
nop = "nop"
io_regions = {0x00000000: 0x100000000} # Origin, Length.
io_regions = {0x4000_0000: 0xbc00_0000} # Origin, Length.
# Memory Mapping.
@property
def mem_map(self):
return {"csr": 0x00000000}
return {
"sram": 0x10_0000, # DDR in fact
"rom": 0xfc00_0000,
}
def __init__(self, platform, variant, *args, **kwargs):
super().__init__(*args, **kwargs)