cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
zdai_splunk
Visitor
Visitor
431 Views
Registered: ‎02-05-2021

can't read the ip created from HLS ip package

Jump to solution

Hi There,

I have a project that use the Vitis Library IP, more specifically, the zstd_decompress IP. I was able to compile the code into RTL and export a Vivado IP package.

Then I want to instantiate the IP in my own design. Below is a test script I used to create the IP:

##########################################################
# Create the HLS IP .xci file using tcl script.
##########################################################
set HLS_REPO_PATH repo 
set HLS_IP_VLNV   xilinx.com:hls:xilZstdDecompressStream:1.0
set HLS_IP_OUTPUT ip 
set HLS_INST_NAME hls_ip_inst 

create_project -in_memory -part [device_part] -force
set_property ip_repo_paths $HLS_REPO_PATH [current_project]
update_ip_catalog -rebuild
set_property ip_output_repo $HLS_IP_OUTPUT [current_project] 

## make HLS IP Output folder & create the HLS IP
file mkdir $HLS_IP_OUTPUT
create_ip -vlnv $HLS_IP_VLNV \
          -module_name $HLS_INST_NAME \
          -dir $HLS_IP_OUTPUT

generate_target all [get_files $HLS_INST_NAME.xci]

# synth_ip [get_ips xilZstdDecompressStream]

close_project

The ip can be created successfully without issue. However, when I tried to synth_ip or read_ip with the [get_ips] command, it always failed with this WARNING:

# read_ip [ list \
#     [file normalize ./ip/hls_ip_inst/hls_ip_inst.xci]
# ]
WARNING: [Coretcl 2-176] No IPs found

 As a result, my design can't find the IP and then failed.

Note: if I used [get_files *.xci] I was able to synthesize the IP locally, However, my own design still can't find the module:

ERROR: [Synth 8-439] module 'xilZstdDecompressStream' not found 

Any idea?

 

Zefu

0 Kudos
1 Solution

Accepted Solutions
zdai_splunk
Visitor
Visitor
310 Views
Registered: ‎02-05-2021

Hey Aoife,

Thanks for replying. I was able to fix the error by 'set property generate_synth_checkpoint false [getfiles inst.xci]'.

Doing this make the IP global and be recognized correctly.

 

thanks

 

Zefu

View solution in original post

2 Replies
aoifem
Moderator
Moderator
338 Views
Registered: ‎11-21-2018

Hi @zdai_splunk 

You can take a look at the following tutorial which runs through how to successfully export IP from HLS, and a small bit of troubleshooting. 

https://forums.xilinx.com/t5/Design-and-Debug-Techniques-Blog/AXI-Basics-7-Connecting-to-the-PS-using-AXI4-Lite-and-Vitis-HLS/ba-p/1137753

 

Can you make sure the part you selected in HLS is the same part you selected in Vivado? If there is a mismatch, then your IP won't import. 

Aoife
Product Application Engineer - Xilinx Technical Support EMEA


**~ Got a minute? Answer our Vitis HLS survey here! ~**

**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
zdai_splunk
Visitor
Visitor
311 Views
Registered: ‎02-05-2021

Hey Aoife,

Thanks for replying. I was able to fix the error by 'set property generate_synth_checkpoint false [getfiles inst.xci]'.

Doing this make the IP global and be recognized correctly.

 

thanks

 

Zefu

View solution in original post