Skip to content

Commit e9e7cd9

Browse files
Merge pull request #2162 from trabucayre/altera_max10_fullmemorywe
build/altera/quartus.py: don't call FullMemoryWE when target is based on max10 FPGA
2 parents 08a6da2 + 08a8b66 commit e9e7cd9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

litex/build/altera/quartus.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ def build(self, platform, fragment,
4040

4141
self._synth_tool = synth_tool
4242

43-
# Apply FullMemoryWE on Design (Quartus does not infer memories correctly otherwise).
44-
FullMemoryWE()(fragment)
43+
if not platform.device.startswith("10M"):
44+
# Apply FullMemoryWE on Design (Quartus does not infer memories correctly otherwise).
45+
FullMemoryWE()(fragment)
4546

4647
return GenericToolchain.build(self, platform, fragment, **kwargs)
4748

0 commit comments

Comments
 (0)