From b8be9545cc9df790c1038b0b030f0058e0466095 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 18 Oct 2018 09:25:34 +0200 Subject: [PATCH] build/xilinx/vivado: enable xpm libraries --- litex/build/xilinx/vivado.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litex/build/xilinx/vivado.py b/litex/build/xilinx/vivado.py index 3d40e9be..10a795bd 100644 --- a/litex/build/xilinx/vivado.py +++ b/litex/build/xilinx/vivado.py @@ -109,6 +109,7 @@ class XilinxVivadoToolchain: def _build_batch(self, platform, sources, edifs, ips, build_name): tcl = [] tcl.append("create_project -force -name {} -part {}".format(build_name, platform.device)) + tcl.append("set_property XPM_LIBRARIES {XPM_CDC XPM_MEMORY} [current_project]") for filename, language, library in sources: filename_tcl = "{" + filename + "}" tcl.append("add_files " + filename_tcl) -- 2.30.2