Skip to content

Commit 3fa0f68

Browse files
authored
Merge pull request #620 from oleg-sin/master
Update sipeed_tang_nano_4k.py
2 parents 3b8c558 + eb43cd3 commit 3fa0f68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

litex_boards/targets/sipeed_tang_nano_4k.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ def __init__(self, toolchain="gowin", sys_clk_freq=27e6,
8686
# Use EMCU's SRAM.
8787
self.bus.add_region("sram", SoCRegion(
8888
origin = self.cpu.mem_map["sram"],
89-
size = 16 * kB,
89+
size = 16 * KILOBYTE,
9090
))
9191
# Use ECMU's FLASH as ROM.
9292
self.bus.add_region("rom", SoCRegion(
9393
origin = self.cpu.mem_map["rom"],
94-
size = 32 * kB,
94+
size = 32 * KILOBYTE,
9595
linker = True,
9696
))
9797
# No Gowin EMCU ----------------------------------------------------------------------------

0 commit comments

Comments
 (0)