fix #848: allow ram initialization in bitstream to enable block ram inference for ROM/RAM with initial value

This commit is contained in:
Hans Baier 2021-03-18 08:41:19 +07:00
parent ef662035b1
commit b7d86df01d
1 changed files with 1 additions and 0 deletions

View File

@ -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 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_CONFIGURATION_PINS OFF")
self.add_platform_command("set_global_assignment -name ENABLE_BOOT_SEL_PIN 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): def create_programmer(self):
return USBBlaster() return USBBlaster()