Skip to content

Commit

Permalink
soc/core/vexiiriscv : bring back xilinx support
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolu1990 committed Oct 15, 2024
1 parent 7f04caf commit d5e4f9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion litex/soc/cores/cpu/vexiiriscv/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

from migen import *

from litex.build.efinix.efinity import EfinityToolchain
from litex.gen import *

from litex import get_data_mod
Expand Down Expand Up @@ -514,7 +515,7 @@ def add_soc_components(self, soc):
if soc.get_build_name() == "sim":
self.comb += If(debug_ndmreset_rise, soc.crg.cd_sys.rst.eq(1))
else:
if hasattr(soc.crg.pll, "locked"):
if hasattr(soc.crg.pll, "locked") and isinstance(self.platform.toolchain, EfinityToolchain):
self.comb += If(debug_ndmreset, soc.crg.pll.locked.eq(0))
elif hasattr(soc.crg, "rst"):
self.comb += If(debug_ndmreset_rise, soc.crg.rst.eq(1))
Expand Down

0 comments on commit d5e4f9e

Please sign in to comment.