mirror of
https://github.com/saymrwulf/litex-boards.git
synced 2026-11-17 08:54:59 +00:00
Update sipeed_tang_nano_4k.py
replace kB to KILOBYTE
This commit is contained in:
parent
3b8c55802f
commit
eb43cd3ca9
1 changed files with 2 additions and 2 deletions
|
|
@ -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 ----------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue