-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Hi I found some problem when built xilinx_zcu104_vcuDec_DP_20221, From
Tools
OS : Ubuntu 18.04
Program : Vitis 2022.1 and Petalinux 2022.1
Detail
I follow from vvas tutorial 2.0 from Xilinx document, But the problem begin on build DPU when "logic optimize process"
[19:58:35] Starting logic optimization..
[19:59:36] Phase 1 Retarget
[19:59:36] Phase 2 Constant propagation
[19:59:36] Phase 3 Sweep
[19:59:36] Phase 4 BUFG optimization
[19:59:36] Phase 5 Shift Register Optimization
[19:59:45] Run vpl: Step impl: Failed
[19:59:46] Phase 6 Post Processing Netlist
[19:59:46] Run vpl: FINISHED. Run Status: impl ERROR
===>The following messages were generated while processing /home/titan/titan/vvas_2022_1/VVAS/vvas-examples/Embedded/multichannel_ml/binary_container_1/link/vivado/vpl/prj/prj.runs/impl_1 :
ERROR: [VPL 47-833] Cannot read RQS Suggestion file /home/titan/titan/vvas_2022_1/VVAS/vvas-examples/Embedded/multichannel_ml/prj_conf/stage1_suggestions.rqs as it has not been generated from the given design: xilinx_zcu104_vcuDec_DP_202210_1_wrapper
ERROR: [VPL 101-2] ERROR: [Common 17-39] 'read_qor_suggestions' failed due to earlier errors.
ERROR: [VPL 101-3] sourcing script /home/titan/titan/vvas_2022_1/VVAS/vvas-examples/Embedded/multichannel_ml/binary_container_1/link/vivado/vpl/scripts/impl_1/_full_place_pre.tcl failed
Debugging
From this problem, I trace the configuration '/VVAS/vvas-examples/Embedded/multichannel_ml/prj_conf/prj_conf'
I'm changing only
sp=DPUCZDX8G_1.M_AXI_HP0:HP0 to sp=DPUCZDX8G_1.M_AXI_HP0:HP2 and
sp=DPUCZDX8G_1.M_AXI_HP2:HP2 to sp=DPUCZDX8G_1.M_AXI_HP2:HP3
because platform generate mem-port is
- Bus SP Tag: HP2
- Bus SP Tag: HP3
- Bus SP Tag: HPC0
- Bus SP Tag: HPC1
- Bus SP Tag: LPD
[clock]
freqHz=300000000:DPUCZDX8G_1.aclk
freqHz=600000000:DPUCZDX8G_1.ap_clk_2
freqHz=300000000:DPUCZDX8G_2.aclk
freqHz=600000000:DPUCZDX8G_2.ap_clk_2
freqHz=300000000:v_multi_scaler_1.ap_clk
[connectivity]
sp=DPUCZDX8G_1.M_AXI_GP0:LPD
sp=DPUCZDX8G_1.M_AXI_HP0:HP2
sp=DPUCZDX8G_1.M_AXI_HP2:HP3
sp=DPUCZDX8G_2.M_AXI_GP0:LPD
sp=DPUCZDX8G_2.M_AXI_HP0:HP3
sp=DPUCZDX8G_2.M_AXI_HP2:HPC1
sp=v_multi_scaler_1.m_axi_mm_video:HPC1
nk=DPUCZDX8G:2
[advanced]
misc=:solution_name=link
param=compiler.addOutputTypes=sd_card
#Following switch will ignore the timing violations during xclbin creation
param=compiler.skipTimingCheckAndFrequencyScaling=1
[vivado]
# Timing closed using 2022.1 Vitis release (SW Build : 3526262,
# IP Build : 3524634). RQS suggestion file is unique to this specific
# Vitis version and may not work with any other version.
prop=run.impl_1.STEPS.PLACE_DESIGN.TCL.PRE=prj_conf/preplace.tcl
prop=run.impl_1.STEPS.OPT_DESIGN.ARGS.DIRECTIVE=Explore
prop=run.impl_1.STEPS.PLACE_DESIGN.ARGS.DIRECTIVE=Explore
prop=run.impl_1.STEPS.PHYS_OPT_DESIGN.IS_ENABLED=true
prop=run.impl_1.STEPS.PHYS_OPT_DESIGN.ARGS.DIRECTIVE=Explore
prop=run.impl_1.STEPS.ROUTE_DESIGN.ARGS.DIRECTIVE=Explore
From the script, i compare to the old version [VVAS_REL_2021], and the 'read_qor_suggestions' is inside process prop=run.impl_1.STEPS.PLACE_DESIGN.TCL.PRE=prj_conf/preplace.tcl
set script_path [ file dirname [ file normalize [ info script ] ] ]
puts $script_path
puts "${script_path}/stage1_suggestions.rqs"
read_qor_suggestions ${script_path}/stage1_suggestions.rqs
It's call 'read_qor_suggestions' to stage1_suggestions.rqs inside same directory. from the error it can't read this binary file stage1_suggestions.rqs. So I compare to the vvas version 2021.1, That version has same file but in '/VVAS/vvas-examples/Embedded/multichannel_ml/prj_conf/prj_conf' in vvas 2022.1 version adding the below description.
Timing closed using 2022.1 Vitis release (SW Build : 3526262,
IP Build : 3524634). RQS suggestion file is unique to this specific
Vitis version and may not work with any other version.
So my tools is 2022.1 exactly but i'm not sure about the updated description RQS suggestion file specific with same 2022.1 version.
The last, I'm try to use same file old version (2021.1) but it didn't work.
Question
- From the problem, Who know about the 'read_qor_suggestions' problem, Please let me to know about your solution, I will appreciate for your suggestion to me.
- I'm study about RQS suggestion from link and I want to know about "How to 'get_qor_suggestion' from this vvas tutorial" for config this build process if i add some HLS about data stream. I will thankful to your suggestion on my question.