Merge pull request #620 from oleg-sin/master

Update sipeed_tang_nano_4k.py
This commit is contained in:
Gwenhael Goavec-Merou 2024-11-08 12:06:42 +01:00 committed by GitHub
commit 3fa0f6861e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -86,12 +86,12 @@ class BaseSoC(SoCCore):
# Use EMCU's SRAM. # Use EMCU's SRAM.
self.bus.add_region("sram", SoCRegion( self.bus.add_region("sram", SoCRegion(
origin = self.cpu.mem_map["sram"], origin = self.cpu.mem_map["sram"],
size = 16 * kB, size = 16 * KILOBYTE,
)) ))
# Use ECMU's FLASH as ROM. # Use ECMU's FLASH as ROM.
self.bus.add_region("rom", SoCRegion( self.bus.add_region("rom", SoCRegion(
origin = self.cpu.mem_map["rom"], origin = self.cpu.mem_map["rom"],
size = 32 * kB, size = 32 * KILOBYTE,
linker = True, linker = True,
)) ))
# No Gowin EMCU ---------------------------------------------------------------------------- # No Gowin EMCU ----------------------------------------------------------------------------