Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DPU-TRD build failure #106

Closed
spaceotter opened this issue May 21, 2020 · 6 comments
Closed

DPU-TRD build failure #106

spaceotter opened this issue May 21, 2020 · 6 comments

Comments

@spaceotter
Copy link

I built the official platform from source, which seemed to work, and the image boots.
After running:

 2012  cd ~/src/Vitis-AI/
 2014  cd DPU-TRD/
 2024  export TRD_HOME=$(pwd)
 2027  cd prj/Vitis/
 2028  export SDX_PLATFORM=~/src/Vitis_Embedded_Platform_Source/Xilinx_Official_Platforms/zcu104_dpu/platform_repo/zcu104_dpu/export/zcu104_dpu/zcu104_dpu.xpfm 
 2029  make KERNEL=DPU_SM DEVICE=zcu104

I get the following error:

===>The following messages were generated while processing src/Vitis-AI/DPU-TRD/prj/Vitis/binary_container_1/link/vivado/vpl/prj/prj.runs/impl_1 :
ERROR: [VPL UTLZ-1] Resource utilization: RAMB18 and RAMB36/FIFO over-utilized in Top Level Design (This design requires more RAMB18 and RAMB36/FIFO cells than are available in the target device. This design requires 1054 of such cell types but only 624 compatible sites are available in the target device. Please analyze your synthesis results and constraints to ensure the design is mapped to Xilinx primitives as expected. If so, please consider targeting a larger device.)
ERROR: [VPL UTLZ-1] Resource utilization: RAMB36/FIFO over-utilized in Top Level Design (This design requires more RAMB36/FIFO cells than are available in the target device. This design requires 492 of such cell types but only 312 compatible sites are available in the target device. Please analyze your synthesis results and constraints to ensure the design is mapped to Xilinx primitives as expected. If so, please consider targeting a larger device.)
ERROR: [VPL UTLZ-1] Resource utilization: RAMB36E2 over-utilized in Top Level Design (This design requires more RAMB36E2 cells than are available in the target device. This design requires 492 of such cell types but only 312 compatible sites are available in the target device. Please analyze your synthesis results and constraints to ensure the design is mapped to Xilinx primitives as expected. If so, please consider targeting a larger device.)
ERROR: [VPL 4-23] Error(s) found during DRC. Placer not run.
WARNING: [VPL 60-732] Link warning: No monitor points found for BD automation.
ERROR: [VPL 60-704] Integration error, problem implementing dynamic region, place_design ERROR, please look at the run log file 'src/Vitis-AI/DPU-TRD/prj/Vitis/binary_container_1/link/vivado/vpl/prj/prj.runs/impl_1/runme.log' for more information
ERROR: [VPL 60-1328] Vpl run 'vpl' failed
ERROR: [VPL 60-806] Failed to finish platform linker
INFO: [v++ 60-1442] [14:58:33] Run run_link: Step vpl: Failed
Time (s): cpu = 00:00:12 ; elapsed = 00:27:36 . Memory (MB): peak = 677.277 ; gain = 0.000 ; free physical = 10257 ; free virtual = 81449
ERROR: [v++ 60-661] v++ link run 'run_link' failed
ERROR: [v++ 60-626] Kernel link failed to complete
ERROR: [v++ 60-703] Failed to finish linking
Makefile:69: recipe for target 'binary_container_1/dpu.xclbin' failed
make: *** [binary_container_1/dpu.xclbin] Error 1

@wilderfield
Copy link
Contributor

@spaceotter It is not crystal clear, but did you follow the steps mentioned here: https://github.com/Xilinx/Vitis-AI/blob/master/DPU-TRD/prj/Vitis/README.md#552-configue-the-zcu104-released-project

You need to specify a few verilog defines to control the generation of the DPU IP.

Hopefully this is the problem.

@spaceotter
Copy link
Author

I guess the defaults don't work for zcu104.
Setting URAM_ENABLE appears to have helped, but:

===>The following messages were generated while  Compiling (bitstream) accelerator binary: dpu Log file: /home/eric/src/Vitis-AI/DPU-TRD/prj/Vitis/binary_container_1/link/vivado/vpl/prj/prj.runs/impl_1/runme.log  :
ERROR: [VPL-4] design did not meet timing - hold violation
WARNING: [VPL 60-732] Link warning: No monitor points found for BD automation.
ERROR: [VPL 60-704] Integration error, problem implementing dynamic region, route_design ERROR, please look at the run log file '/home/eric/src/Vitis-AI/DPU-TRD/prj/Vitis/binary_container_1/link/vivado/vpl/prj/prj.runs/impl_1/runme.log' for more information
ERROR: [VPL 60-1328] Vpl run 'vpl' failed
ERROR: [VPL 60-806] Failed to finish platform linker
INFO: [v++ 60-1442] [18:28:09] Run run_link: Step vpl: Failed
Time (s): cpu = 00:01:44 ; elapsed = 03:02:59 . Memory (MB): peak = 677.277 ; gain = 0.000 ; free physical = 4809 ; free virtual = 80741
ERROR: [v++ 60-661] v++ link run 'run_link' failed
ERROR: [v++ 60-626] Kernel link failed to complete
ERROR: [v++ 60-703] Failed to finish linking
Makefile:69: recipe for target 'binary_container_1/dpu.xclbin' failed
make: *** [binary_container_1/dpu.xclbin] Error 1

@wilderfield
Copy link
Contributor

wilderfield commented May 22, 2020 via email

@qianglin-xlnx
Copy link
Contributor

@spaceotter It seems that it still use the zcu102 config. could you please check the following.

image

@jimheaton
Copy link

jimheaton commented May 22, 2020 via email

@spaceotter
Copy link
Author

The build completed with the suggested changes.
Thanks!

andyluo7 pushed a commit that referenced this issue Dec 17, 2020
examples/DPU-CADX8G/tensorflow/run.sh: Update path to arch_json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants