From b7d86df01d3c6483723c5a9731f60f78d46a1452 Mon Sep 17 00:00:00 2001 From: Hans Baier Date: Thu, 18 Mar 2021 08:41:19 +0700 Subject: [PATCH] fix #848: allow ram initialization in bitstream to enable block ram inference for ROM/RAM with initial value --- litex_boards/platforms/deca.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litex_boards/platforms/deca.py b/litex_boards/platforms/deca.py index 4357cd7..7d62bf9 100644 --- a/litex_boards/platforms/deca.py +++ b/litex_boards/platforms/deca.py @@ -287,6 +287,7 @@ class Platform(AlteraPlatform): self.add_platform_command("set_global_assignment -name AUTO_RESTART_CONFIGURATION ON") self.add_platform_command("set_global_assignment -name ENABLE_CONFIGURATION_PINS OFF") self.add_platform_command("set_global_assignment -name ENABLE_BOOT_SEL_PIN OFF") + self.add_platform_command("set_global_assignment -name INTERNAL_FLASH_UPDATE_MODE \"SINGLE IMAGE WITH ERAM\"") def create_programmer(self): return USBBlaster()