From a56e870082a53132e062ce8894bad33be6095abe Mon Sep 17 00:00:00 2001 From: Pawel Czarnecki Date: Thu, 28 Jul 2022 08:22:59 +0200 Subject: [PATCH] rename: share/symbiflow -> share/f4pga Signed-off-by: Pawel Czarnecki --- f4pga-env | 2 +- f4pga/__init__.py | 4 ++-- f4pga/wrappers/sh/__init__.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/f4pga-env b/f4pga-env index 40b5026..c86724c 100755 --- a/f4pga-env +++ b/f4pga-env @@ -11,7 +11,7 @@ case "$1" in ;; share) ( - cd $(dirname "$0")/../share/symbiflow + cd $(dirname "$0")/../share/f4pga pwd ) ;; diff --git a/f4pga/__init__.py b/f4pga/__init__.py index 194742d..49eb36c 100755 --- a/f4pga/__init__.py +++ b/f4pga/__init__.py @@ -79,9 +79,9 @@ bin_dir_path = \ environ.get('F4PGA_BIN_DIR', str(Path(sys_argv[0]).resolve().parent.parent)) share_dir_path = \ environ.get('F4PGA_SHARE_DIR', - str(Path(f'{install_dir}/xc7/install/share/symbiflow').resolve())) + str(Path(f'{install_dir}/xc7/install/share/f4pga').resolve())) if share_dir_path is None: - share_dir_path = str(Path(f'{install_dir}/xc7/install/share/symbiflow').resolve()) + share_dir_path = str(Path(f'{install_dir}/xc7/install/share/f4pga').resolve()) class DependencyNotProducedException(F4PGAException): dep_name: str diff --git a/f4pga/wrappers/sh/__init__.py b/f4pga/wrappers/sh/__init__.py index 22b0321..4beea08 100644 --- a/f4pga/wrappers/sh/__init__.py +++ b/f4pga/wrappers/sh/__init__.py @@ -39,7 +39,7 @@ F4PGA_INSTALL_DIR_PATH = Path(F4PGA_INSTALL_DIR) f4pga_environ['F4PGA_BIN_DIR'] = f4pga_environ.get('F4PGA_BIN_DIR', str(F4PGA_INSTALL_DIR_PATH / FPGA_FAM / 'conda/bin')) f4pga_environ['F4PGA_SHARE_DIR'] = f4pga_environ.get('F4PGA_SHARE_DIR', str(F4PGA_INSTALL_DIR_PATH / FPGA_FAM / ( - 'share' if isQuickLogic else 'install/share/symbiflow' + 'share' if isQuickLogic else 'install/share/f4pga' )))