From 08a8b666f8ddc8104b167e3adb81bcc16d92fd43 Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Thu, 16 Jan 2025 14:08:00 +0100 Subject: [PATCH] build/altera/quartus.py: don't call FullMemoryWE when target is based on max10 FPGA --- litex/build/altera/quartus.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/litex/build/altera/quartus.py b/litex/build/altera/quartus.py index 8225bf3a7b..16e6fa9810 100644 --- a/litex/build/altera/quartus.py +++ b/litex/build/altera/quartus.py @@ -40,8 +40,9 @@ def build(self, platform, fragment, self._synth_tool = synth_tool - # Apply FullMemoryWE on Design (Quartus does not infer memories correctly otherwise). - FullMemoryWE()(fragment) + if not platform.device.startswith("10M"): + # Apply FullMemoryWE on Design (Quartus does not infer memories correctly otherwise). + FullMemoryWE()(fragment) return GenericToolchain.build(self, platform, fragment, **kwargs)