From 6407e54b23af08989e26c77e5a80a659d56db8dd Mon Sep 17 00:00:00 2001 From: Maher0A Date: Fri, 22 May 2026 14:20:27 +0200 Subject: [PATCH] Fix new_project location directory to match the open_project path in 'syn' step The subsequent open_project call used /.prjx which never exists, causing the build to fail at the synthesis step. --- pyfpga/templates/libero.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpga/templates/libero.jinja b/pyfpga/templates/libero.jinja index 71b9afc1..deb97f07 100644 --- a/pyfpga/templates/libero.jinja +++ b/pyfpga/templates/libero.jinja @@ -9,7 +9,7 @@ {% if 'cfg' in steps %}# Project configuration ------------------------------------------------------- if { [ file exists {{ project }} ] } { file delete -force -- {{ project }} } -new_project -name {{ project }} -location libero -hdl VERILOG -family {{ family }} +new_project -name {{ project }} -location {{ project }} -hdl VERILOG -family {{ family }} set_device -family {{ family }} -die {{ device }} -package {{ package}} -speed {{ speed }} -part_range {{ prange }} {% if hooks %}{{ hooks.precfg | join('\n') }}{% endif %}