cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
704 Views
Registered: ‎03-08-2018

SDx can not route my c++ kernel

Jump to solution

Dear all,

 

My c++ kernel code is simple. But SDx can not generate bit stream.

It seemed an error at "logic routing" step.

Have you some solution or comment, please help me.

 

Error message:

[04:27:39] Phase 11 Depositing Routes


===>The following messages were generated while processing /mnt/ssd/centos7.4/workspace/S20181024_1/System/adder/link/vivado/prj/prj.runs/impl_1 :
ERROR: [VPL 18-1000] Routing results verification failed due to partially-conflicted nets (Up to first 10 of violated nets):  pfm_top_i/dynamic_region/adder_1/inst/adder_gmem0_m_axi_U/bus_read/rs_rdata/data_buffer_15_3_V_14_fu_226_reg[0][0] pfm_top_i/dynamic_region/adder_1/inst/adder_gmem0_m_axi_U/bus_read/rs_rdata/data_buffer_15_3_V_15_fu_230_reg[0][0] pfm_top_i/dynamic_region/adder_1/inst/adder_gmem0_m_axi_U/bus_read/rs_rdata/data_buffer_15_3_V_16_fu_234_reg[0][0] pfm_top_i/dynamic_region/adder_1/inst/adder_gmem0_m_axi_U/bus_read/rs_rdata/data_buffer_15_3_V_20_fu_250_reg[0][0] pfm_top_i/dynamic_region/adder_1/inst/adder_gmem0_m_axi_U/bus_read/rs_rdata/data_buffer_15_3_V_21_fu_254_reg[0][0] pfm_top_i/dynamic_region/adder_1/inst/adder_gmem0_m_axi_U/bus_read/rs_rdata/data_buffer_15_3_V_24_fu_266_reg[0][0] pfm_top_i/dynamic_region/adder_1/inst/adder_gmem0_m_axi_U/bus_read/rs_rdata/data_buffer_15_3_V_28_fu_282_reg[0][0] pfm_top_i/dynamic_region/adder_1/inst/adder_gmem0_m_axi_U/bus_read/rs_rdata/data_buffer_15_3_V_29_fu_286_reg[0][0] pfm_top_i/dynamic_region/adder_1/inst/adder_gmem0_m_axi_U/bus_read/rs_rdata/data_buffer_15_3_V_31_fu_294_reg[0][0] pfm_top_i/dynamic_region/adder_1/inst/adder_gmem0_m_axi_U/bus_read/rs_rdata/data_buffer_15_3_V_34_fu_306_reg[0][0] 
ERROR: [VPL 60-704] Integration error, problem implementing dynamic region, route_design ERROR
make: *** [adder.xclbin] Error 1
ERROR: [VPL 60-806] Failed to finish platform linker
ERROR: [XOCC 60-398] vpl failed
ERROR: [XOCC 60-626] Kernel link failed to complete
ERROR: [XOCC 60-703] Failed to finish linking

My c++ kernel's interface:

#include <hls_stream.h>
#include <ap_int.h>
#include <ap_utils.h>

extern "C" {
void adder(ap_int<512> *in_data, ap_int<512> *debug_data)
{
#pragma HLS INTERFACE m_axi port=in_data offset=slave bundle=gmem0
#pragma HLS INTERFACE m_axi port=debug_data offset=slave bundle=gmem1
#pragma HLS INTERFACE s_axilite port=in_data bundle=control
#pragma HLS INTERFACE s_axilite port=debug_data bundle=control
#pragma HLS INTERFACE s_axilite port=return bundle=control

Thanks,

yilee

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Moderator
Moderator
677 Views
Registered: ‎11-04-2010

Re: SDx can not route my c++ kernel

Jump to solution

Hi, @yilee ,

You can try to open the checkpoint (dcp) generated in Vivado and analyze the unrouted issue with Vivado flow.

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

3 Replies
Highlighted
Moderator
Moderator
678 Views
Registered: ‎11-04-2010

Re: SDx can not route my c++ kernel

Jump to solution

Hi, @yilee ,

You can try to open the checkpoint (dcp) generated in Vivado and analyze the unrouted issue with Vivado flow.

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

Highlighted
Contributor
Contributor
661 Views
Registered: ‎03-08-2018

Re: SDx can not route my c++ kernel

Jump to solution

Hi @hongh,

You mean that SDx can run Vivado IDE with my kernel's system target.

And then I could re-implement and could see issues for analyzing.

Is it correct?

 

Thanks,

yilee

0 Kudos
Highlighted
Moderator
Moderator
655 Views
Registered: ‎11-04-2010

Re: SDx can not route my c++ kernel

Jump to solution

Hi, @yilee ,

Yes, you're correct.

 

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos