Skip to content

Commit

Permalink
Merge pull request #2140 from piotro888/ethernet-full-mem-we-quartus
Browse files Browse the repository at this point in the history
soc/ethernet: enable full_memory_we by default for Quartus toolchain
  • Loading branch information
enjoy-digital authored Jan 6, 2025
2 parents 74ea99a + 118bd62 commit c55086f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions litex/build/altera/quartus.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from shutil import which

from migen.fhdl.structure import _Fragment
from migen.fhdl.simplify import FullMemoryWE

from litex.build.generic_platform import Pins, IOStandard, Misc
from litex.build.generic_toolchain import GenericToolchain
Expand All @@ -39,6 +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)

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

# IO/Placement Constraints (.qsf) --------------------------------------------------------------
Expand Down

0 comments on commit c55086f

Please sign in to comment.