From eb43cd3ca9eaefab53e97d6cdfd2cd3b385c9a37 Mon Sep 17 00:00:00 2001 From: Oleg Libin Date: Fri, 8 Nov 2024 15:54:00 +0500 Subject: [PATCH] Update sipeed_tang_nano_4k.py replace kB to KILOBYTE --- litex_boards/targets/sipeed_tang_nano_4k.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex_boards/targets/sipeed_tang_nano_4k.py b/litex_boards/targets/sipeed_tang_nano_4k.py index afb9f6a..69e6d1a 100755 --- a/litex_boards/targets/sipeed_tang_nano_4k.py +++ b/litex_boards/targets/sipeed_tang_nano_4k.py @@ -86,12 +86,12 @@ class BaseSoC(SoCCore): # Use EMCU's SRAM. self.bus.add_region("sram", SoCRegion( origin = self.cpu.mem_map["sram"], - size = 16 * kB, + size = 16 * KILOBYTE, )) # Use ECMU's FLASH as ROM. self.bus.add_region("rom", SoCRegion( origin = self.cpu.mem_map["rom"], - size = 32 * kB, + size = 32 * KILOBYTE, linker = True, )) # No Gowin EMCU ----------------------------------------------------------------------------