export PATH=$PATH:/home/user/intelFPGA_pro/quartus/bin export QUARTUS_ROOTDIR=/home/user/intelFPGA_pro/quartus export PATH=/home/user/intelFPGA_pro/quartus/bin:$PATH cd /home/user/test/intel-ofs-fim export OFS_ROOTDIR=/home/user/test/intel-ofs-fim export WORKDIR=/home/user/test/intel-ofs-fim admin@admin-OptiPlex-7040:~/test/intel-ofs-fim$ ./ofs-common/scripts/common/syn/build_top.sh -p n6001 work_n6001 Warning: OFS_ROOTDIR is not set Deriving OFS_ROOTDIR from git clone directory... OFS_ROOTDIR now set to: /home/admin/test/intel-ofs-fim >>> OFS Board Path = n6001 >>> OFS Board Core = n6001 Setting up build variables source /home/admin/test/intel-ofs-fim/syn/scripts/build_var_setup.sh BUILD_ROOT_REL is ********************************** ******** ENV SETUP ************* FIM Project: OFS_PROJECT = n6001 OFS_FIM = OFS_BOARD = Q_PROJECT = ofs_top Q_REVISION = ofs_top Fitter SEED = 1 FME id BITSTREAM_ID = 050102029f48c392 BITSTREAM_MD = 0000000002406071 Flow: ENA_CREATE_WORK_DIR = 1 ENA_OPAE_SDK_SETUP_FOR_FIM = 1 ENA_PRE_COMPILE_SCRIPT = 0 ENA_SETUP_IP_LIB_SCRIPT = 1 ENA_FIM_COMPILE = 1 ENA_PR_SETUP = 1 ENA_FLASH = 1 ENA_PR_BUILD_TEMPLATE_GEN = 1 OPAE_SDK: OPAE_SDK_REPO = OPAE_SDK_REPO_BRANCH = File pointers: WORK_SYN_TOP_PATH = /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top CREATE_WORK_DIR_SH_FILE = /home/admin/test/intel-ofs-fim/ofs-common/scripts/common/syn/create_work_dir.sh FME_ID_MIF_FILE = /home/admin/test/intel-ofs-fim/ofs-common/src/common/fme_id_rom/fme_id.mif PMCI_NIOS_HEX_FILE = /home/admin/test/intel-ofs-fim/ipss/pmci/pmci_ss_nios_fw.hex WORK_FME_ID_MIF_FILE = /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/fme_id.mif WORK_PMCI_NIOS_HEX_FILE = /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/pmci_ss_nios_fw.hex REPORT_TIMING_TCL_FILE = /home/admin/test/intel-ofs-fim/ofs-common/scripts/common/syn/report_timing.tcl WORK_BUILD_FLASH_SH_FILE = /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/build_flash/build_flash.sh WORK_PRE_COMPILE_SCRIPT_SH_FILE = /home/admin/test/intel-ofs-fim/work_n6001/ofs-common/scripts/common/syn/pre_compile_script.sh SETUP_OPAE_SDK_SH_FILE = /home/admin/test/intel-ofs-fim/ofs-common/scripts/common/syn/setup_opae_sdk.sh REPO_PATH = /home/admin/test/intel-ofs-fim/external PIM configuration: PIM_PLATFORM_NAME = ofs_agilex_adp PIM_INI_FILE = /home/admin/test/intel-ofs-fim/src/top/ofs_agilex_adp.ini PIM_ROOT_DIR = /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim *** Specified WORK directory: /home/admin/test/intel-ofs-fim/work_n6001 Creating /home/admin/test/intel-ofs-fim/work_n6001 Symlinking files... This may take a couple of minutes... Done setting up work directory (/home/admin/test/intel-ofs-fim/work_n6001) BUILD_ROOT_REL = ../.. WORK_DIR = /home/admin/test/intel-ofs-fim/work_n6001 SETUP_OPAE_SDK_SH_FILE is /home/admin/test/intel-ofs-fim/ofs-common/scripts/common/syn/setup_opae_sdk.sh Setting up OPAE SDK Found OPAE SDK programs on PATH. Not building OPAE SDK. Using cloned OFS_PLATFORM_AFU_BBB=/home/admin/test/intel-ofs-fim/external/ofs-platform-afu-bbb + git clone -b master https://github.com/OFS/ofs-platform-afu-bbb /home/admin/test/intel-ofs-fim/external/ofs-platform-afu-bbb Cloning into '/home/admin/test/intel-ofs-fim/external/ofs-platform-afu-bbb'... /home/admin/test/intel-ofs-fim/external/ofs-platform-afu-bbb/plat_if_develop/ofs_plat_if/scripts/gen_ofs_plat_json:37: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils import dir_util, file_util, text_file Parsing configuration defaults file: /home/admin/test/intel-ofs-fim/external/ofs-platform-afu-bbb/plat_if_develop/ofs_plat_if/src/config/defaults.ini Parsing configuration file: /home/admin/test/intel-ofs-fim/src/top/ofs_agilex_adp.ini Found afu_main Found CCI-P Found local memory + /home/admin/test/intel-ofs-fim/external/ofs-platform-afu-bbb/plat_if_develop/ofs_plat_if/scripts/gen_ofs_plat_if -c /home/admin/test/intel-ofs-fim/src/top/ofs_agilex_adp.ini -v -t /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template/hw/lib/build/platform/ofs_plat_if /home/admin/test/intel-ofs-fim/external/ofs-platform-afu-bbb/plat_if_develop/ofs_plat_if/scripts/gen_ofs_plat_if:37: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils import dir_util, file_util, text_file Parsing configuration defaults file: /home/admin/test/intel-ofs-fim/external/ofs-platform-afu-bbb/plat_if_develop/ofs_plat_if/src/config/defaults.ini Parsing configuration file: /home/admin/test/intel-ofs-fim/src/top/ofs_agilex_adp.ini Creating target directory: /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template/hw/lib/build/platform/ofs_plat_if Reading list of generic sources from /home/admin/test/intel-ofs-fim/external/ofs-platform-afu-bbb/plat_if_develop/ofs_plat_if/src/sources_generic.txt: Copying par Copying rtl/base_ifcs Copying rtl/compat Copying rtl/ofs_plat_if.vh Copying rtl/platform_if.vh Copying rtl/utils Copying sim Generating clocks group 0 (no source) Generating define group 0 (no source) Generating host_chan group 0 using host_chan/native_axis_pcie_tlp: Copying source rtl/ifc_classes/host_chan/native_axis_pcie_tlp to /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template/hw/lib/build/platform/ofs_plat_if/rtl/ifc_classes/host_chan Gasket /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template/hw/lib/build/platform/ofs_plat_if/rtl/ifc_classes/host_chan/prims/gasket_ea_ofs_fim not used (looking for gasket_pcie_ss) Preserving /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template/hw/lib/build/platform/ofs_plat_if/rtl/ifc_classes/host_chan/prims/gasket_pcie_ss Merging AFU interface sources rtl/ifc_classes/host_chan/afu_ifcs Generating ofs_plat_host_chan_map_as_avalon_mem_if.sv from ofs_plat_host_chan_GROUP_map_as_avalon_mem_if.sv Generating ccip_cfg_pkg.sv from ccip_GROUP_cfg_pkg.sv Generating ofs_plat_host_chan_as_axi_mem.sv from ofs_plat_host_chan_GROUP_as_axi_mem.sv Generating ofs_plat_host_chan_map_as_ccip.sv from ofs_plat_host_chan_GROUP_map_as_ccip.sv Generating ofs_plat_host_chan_map_as_axi_mem_if.sv from ofs_plat_host_chan_GROUP_map_as_axi_mem_if.sv Generating ofs_plat_host_chan_fiu_if_tie_off.sv from ofs_plat_host_chan_GROUP_fiu_if_tie_off.sv Generating ofs_plat_host_chan_fiu_if.sv from ofs_plat_host_chan_GROUP_fiu_if.sv Generating ofs_plat_host_chan_as_avalon_mem_rdwr.sv from ofs_plat_host_chan_GROUP_as_avalon_mem_rdwr.sv Generating ofs_plat_host_chan_as_ccip.sv from ofs_plat_host_chan_GROUP_as_ccip.sv Generating ofs_plat_host_chan_map_to_tlps.sv from ofs_plat_host_chan_GROUP_map_to_tlps.sv Generating ofs_plat_host_chan_gen_tlps_pkg.sv from ofs_plat_host_chan_GROUP_gen_tlps_pkg.sv Generating ofs_plat_host_chan_gen_mmio_tlps.sv from ofs_plat_host_chan_GROUP_gen_mmio_tlps.sv Generating ofs_plat_host_chan_gen_wr_tlps.sv from ofs_plat_host_chan_GROUP_gen_wr_tlps.sv Generating ofs_plat_host_chan_gen_rd_tlps.sv from ofs_plat_host_chan_GROUP_gen_rd_tlps.sv Generating ofs_plat_host_chan_fim_gasket_pkg.sv from ofs_plat_host_chan_GROUP_fim_gasket_pkg.sv Generating ofs_plat_host_chan_fim_gasket.sv from ofs_plat_host_chan_GROUP_fim_gasket.sv Generating ofs_plat_host_chan_axis_pcie_tlp_if.sv from ofs_plat_host_chan_GROUP_axis_pcie_tlp_if.sv Generating ofs_plat_host_chan_fim_gasket_tie_off.sv from ofs_plat_host_chan_GROUP_fim_gasket_tie_off.sv Generating ofs_plat_host_chan_axis_pcie_tlp_if.vh from ofs_plat_host_chan_GROUP_axis_pcie_tlp_if.vh Generating ofs_plat_host_chan_fim_gasket_pkg.sv from ofs_plat_host_chan_GROUP_fim_gasket_pkg.sv Generating ofs_plat_host_chan_fim_gasket.sv from ofs_plat_host_chan_GROUP_fim_gasket.sv Generating ofs_plat_host_chan_axis_pcie_tlp_if.sv from ofs_plat_host_chan_GROUP_axis_pcie_tlp_if.sv Generating map_fim_pcie_ss_to_host_chan.sv from map_fim_pcie_ss_to_GROUP_host_chan.sv Generating ofs_plat_host_chan_fim_gasket_tie_off.sv from ofs_plat_host_chan_GROUP_fim_gasket_tie_off.sv Generating ofs_plat_host_chan_axis_pcie_tlp_if.vh from ofs_plat_host_chan_GROUP_axis_pcie_tlp_if.vh Generating ofs_plat_host_chan_align_tx_tlps.sv from ofs_plat_host_chan_GROUP_align_tx_tlps.sv Generating map_fim_pcie_ss_to_pim_axi_stream.sv from map_fim_pcie_ss_to_GROUP_pim_axi_stream.sv Generating ofs_plat_host_chan_align_rx_tlps.sv from ofs_plat_host_chan_GROUP_align_rx_tlps.sv Generating ofs_plat_host_chan_fim_multi_link_afu_dfh.sv from ofs_plat_host_chan_GROUP_fim_multi_link_afu_dfh.sv Generating ofs_plat_host_chan_pkg.sv from ofs_plat_host_chan_GROUP_pkg.sv Generating ofs_plat_host_chan_as_avalon_mem_rdwr.vh from ofs_plat_host_chan_GROUP_as_avalon_mem_rdwr.vh Generating ofs_plat_host_chan_pcie_tlp.vh from ofs_plat_host_chan_GROUP_pcie_tlp.vh Generating ofs_plat_host_chan_pcie_tlp_pkg.sv from ofs_plat_host_chan_GROUP_pcie_tlp_pkg.sv Generating ofs_plat_host_chan_as_axi_mem.vh from ofs_plat_host_chan_GROUP_as_axi_mem.vh Generating hssi group 0 using hssi/native_axis_with_fc: Copying source rtl/ifc_classes/hssi/native_axis_with_fc to /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template/hw/lib/build/platform/ofs_plat_if/rtl/ifc_classes/hssi Generating ofs_plat_hssi_channel_if.sv from ofs_plat_hssi_GROUP_channel_if.sv Generating ofs_plat_hssi_fiu_if_tie_off.sv from ofs_plat_hssi_GROUP_fiu_if_tie_off.sv Generating ofs_plat_hssi_fiu_if.sv from ofs_plat_hssi_GROUP_fiu_if.sv Generating ofs_plat_hssi_as_axi_st.sv from ofs_plat_hssi_GROUP_as_axi_st.sv Generating local_mem group 0 using local_mem/native_axi: Copying source rtl/ifc_classes/local_mem/native_axi to /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template/hw/lib/build/platform/ofs_plat_if/rtl/ifc_classes/local_mem Preserving /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template/hw/lib/build/platform/ofs_plat_if/rtl/ifc_classes/local_mem/prims/gasket_fim_emif_axi_mm Merging AFU interface sources rtl/ifc_classes/local_mem/afu_ifcs Generating local_mem_cfg_pkg.sv from local_mem_GROUP_cfg_pkg.sv Generating ofs_plat_local_mem_fiu_if.sv from ofs_plat_local_mem_GROUP_fiu_if.sv Generating ofs_plat_local_mem_as_avalon_mem.sv from ofs_plat_local_mem_GROUP_as_avalon_mem.sv Generating ofs_plat_local_mem_fiu_if_tie_off.sv from ofs_plat_local_mem_GROUP_fiu_if_tie_off.sv Generating ofs_plat_local_mem_as_axi_mem.sv from ofs_plat_local_mem_GROUP_as_axi_mem.sv Generating ofs_plat_local_mem_avalon_mem.vh from ofs_plat_local_mem_GROUP_avalon_mem.vh Generating ofs_plat_local_mem_axi_mem.vh from ofs_plat_local_mem_GROUP_axi_mem.vh Generating other group 0 using generic_templates/ports: Copying source rtl/ifc_classes/generic_templates/ports to /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template/hw/lib/build/platform/ofs_plat_if/rtl/ifc_classes/other Importing source /home/admin/test/intel-ofs-fim/ofs-common/src/fpga_family/agilex/port_gasket/afu_main_pim/extend_pim to /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template/hw/lib/build/platform/ofs_plat_if/rtl/ifc_classes/other/extend_pim Generating ofs_plat_CLASS_fiu_if.sv from ofs_plat_CLASS_GROUP_fiu_if.sv Generating ofs_plat_other_fiu_if.sv from ofs_plat_CLASS_fiu_if.sv Processing top-level RTL template files from /home/admin/test/intel-ofs-fim/external/ofs-platform-afu-bbb/plat_if_develop/ofs_plat_if/src/rtl: Generating /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template/hw/lib/build/platform/ofs_plat_if/rtl/ofs_plat_if.sv Generating /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template/hw/lib/build/platform/ofs_plat_if/rtl/ofs_plat_if_tie_off_unused.sv Generating /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template/hw/lib/build/platform/ofs_plat_if/rtl/ofs_plat_if_top_config.vh Keep preserved /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template/hw/lib/build/platform/ofs_plat_if/rtl/ifc_classes/local_mem/prims/gasket_fim_emif_axi_mm Remove unused /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template/hw/lib/build/platform/ofs_plat_if/rtl/ifc_classes/host_chan/prims/gasket_ea_ofs_fim Keep preserved /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template/hw/lib/build/platform/ofs_plat_if/rtl/ifc_classes/host_chan/prims/gasket_pcie_ss Generating files to import ofs_plat_if: Emitting simulator include file: /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template/hw/lib/build/platform/ofs_plat_if/sim/platform_if_includes.txt Emitting simulator sources file: /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template/hw/lib/build/platform/ofs_plat_if/sim/platform_if_addenda.txt Emitting Quartus sources file: /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template/hw/lib/build/platform/ofs_plat_if/par/platform_if_addenda.qsf + set +x d is import=../../ofs-common/src/fpga_family/agilex/port_gasket/afu_main_pim/extend_pim/ TGT = /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template IMPORT_SRC_PATH = /home/admin/test/intel-ofs-fim/src/top/../../ofs-common/src/fpga_family/agilex/port_gasket/afu_main_pim/extend_pim/ PIM_ROOT_DIR = /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim + cd /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim + env OPAE_PLATFORM_ROOT=/home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template afu_synth_setup --platform= -s /home/admin/test/intel-ofs-fim/ofs-common/scripts/common/syn/pim/dummy_afu/dummy_afu_files.txt afu Loading platform database: /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template/hw/lib/platform/platform_db/ofs_agilex_adp.json Loading platform-params database: /usr/lib/python3/dist-packages/platmgr/db/platform_db/platform_defaults.json Loading AFU database: /usr/lib/python3/dist-packages/platmgr/db/afu_top_ifc_db/ofs_plat_afu.json Writing platform/platform_afu_top_config.vh Writing platform/platform_if_addenda.qsf Traceback (most recent call last): File "/usr/bin/afu_json_mgr", line 5, in from packager.tools.afu_json_mgr import main File "/usr/lib/python3/dist-packages/packager/tools/afu_json_mgr.py", line 35, in from packager.utils.afu import AFU File "/usr/lib/python3/dist-packages/packager/utils/afu.py", line 37, in from jsonschema import validators ModuleNotFoundError: No module named 'jsonschema' Error: "afu_json_mgr json-info --afu-json=/home/admin/test/intel-ofs-fim/ofs-common/scripts/common/syn/pim/dummy_afu/dummy_afu.json --verilog-hdr=../hw/afu_json_info.vh" failed Copying build from /home/admin/test/intel-ofs-fim/work_n6001/syn/syn_top/afu_with_pim/pim_template/hw/lib/build... Configuring Quartus build directory: afu/build Error running /home/admin/test/intel-ofs-fim/ofs-common/scripts/common/syn/build_fim.sh Exit code: 1