targets/digilent_arty_z7: add flash region

This commit is contained in:
Gwenhael Goavec-Merou 2022-10-13 19:48:41 +02:00
parent 3b339ba9a3
commit e44e63f65d
1 changed files with 1 additions and 0 deletions

View File

@ -84,6 +84,7 @@ class BaseSoC(SoCCore):
wishbone = wb_gp0, wishbone = wb_gp0,
base_address = self.mem_map["csr"]) base_address = self.mem_map["csr"])
self.bus.add_master(master=wb_gp0) self.bus.add_master(master=wb_gp0)
self.bus.add_region("flash", SoCRegion(origin=0xFC00_0000, size=0x4_0000, mode="rwx"))
# Leds ------------------------------------------------------------------------------------- # Leds -------------------------------------------------------------------------------------
if with_led_chaser: if with_led_chaser: