rename: share/symbiflow -> share/f4pga

Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
This commit is contained in:
Pawel Czarnecki 2022-07-28 08:22:59 +02:00
parent 4494763474
commit a56e870082
3 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ case "$1" in
;;
share)
(
cd $(dirname "$0")/../share/symbiflow
cd $(dirname "$0")/../share/f4pga
pwd
)
;;

View File

@ -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

View File

@ -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'
)))