import_files -library {work} -hdl_source {./src/hdl/buffer.v}
import_files -library {work} -hdl_source {./src/hdl/HOLOLINK_top_wrapper.v}
import_files -library {work} -hdl_source {./src/hdl/Holoscan_IP_enc2510.v}
import_files -library {work} -hdl_source {./src/hdl/HSB_AXIS.v}
import_files -library {work} -hdl_source {./src/hdl/MAC_to_AXIS.v}
import_files -library {work} -hdl_source {./src/hdl/pps_stretch.v}
import_files -library {work} -hdl_source {./src/hdl/HOLOLINK_def.svh}
source ./src/components/CORE10GMAC_C0.tcl
source ./src/components/COREABC_C0.tcl
source ./src/components/CoreAPB3_C0.tcl
source ./src/components/CoreAPB3_C1.tcl
source ./src/components/CORERESET_PF_C1.tcl
source ./src/components/mipicsi2rxdecoderPF_C0.tcl
source ./src/components/MIPI_TRAINING_LITE_C0.tcl
source ./src/components/MIPI_TRAINING_LITE_C1.tcl
source ./src/components/MIPI_TRAINING_LITE_C2.tcl
source ./src/components/MIPI_TRAINING_LITE_C3.tcl
source ./src/components/PF_CCC_C1.tcl
source ./src/components/PF_CCC_C2.tcl
source ./src/components/PF_INIT_MONITOR_C0.tcl
source ./src/components/PF_IOD_GENERIC_RX_C1.tcl
source ./src/components/PF_SYSTEM_SERVICES_C0.tcl
source ./src/components/PF_TX_PLL_C0.tcl
source ./src/components/PF_XCVR_ERM_C0.tcl
source ./src/components/PF_XCVR_REF_CLK_C0.tcl
 build_design_hierarchy
source ./src/components/HOLOLINK_top_wrapper.tcl
source ./src/components/HSB_AXIS.tcl
source ./src/components/MAC_to_AXIS.tcl
source ./src/components/CAM_IOD_TIP_TOP.tcl
 build_design_hierarchy
source ./src/components/HoloLink_SD.tcl
 build_design_hierarchy
source ./src/components/IMX477_IF_TOP.tcl
 build_design_hierarchy
source ./src/components/MAC_BaseR.tcl
 build_design_hierarchy
source ./src/components/MAC_Hololink.tcl
 build_design_hierarchy
source ./src/components/top.tcl
 build_design_hierarchy
set_root -module {top::work} 
save_project
puts "Design generated successfully
"
