Comments (7)
Hello @vt-lib-support ,
Sure thing, I've attached an example core. The function of the core is to apply erosion on an input stream of data and send it to an output steam.
As you can see in line 9 of "wrapper.hpp" file, I've included the <ap_axi_sdata.h> file. Additionally I've removed the #include "xf_axi_sdata.hpp" line in the /common/xf_infra.hpp file and added #include <ap_axi_sdata.h> instead. So that the structs in this file use the code in the correct file.
Now if you do the opposite and include "xf_axi_sdata.hpp" instead of <ap_axi_sdata.h> in both wrapper.hpp and xf_infra.hpp, you will see that the RTL Ports and number of their Bits in the Interface section of the Synthesis details Report change to false values, just like the values in the image I showed in my previous comment.
erosion_example.zip
from vitis_libraries.
Hello @Ali-Flt,
Can you please provide any testcase so that we can further investigate?
from vitis_libraries.
I can confirm the described behaviour with current development master branch. Using <ap_axi_sdatah.h> brings the desired axi stream ports while xf_axi_sdata.hpp does not.
I can understand why Xilinx currently inverts a lot of resources in the conversion of the HLS libraries to AXI memory mapped accesses, because it is easier and more universal to use with an OS. Nevertheless I think that the AXI streaming interfaces play an important role, because they use exactly the properties of an FPGA (pixel streaming). I really hope that Xilinx will fix this problem soon.
from vitis_libraries.
@Ali-Flt , @millertheripper
xf_axi_sdata.hpp file has been removed and ap_axi_sdata.h is used wherever necessary, in the current released code.
But, co-simulation doesn't pass because of a known Vitis-HLS issue. It is being resolved and a code update will be posted soon. Thanks.
from vitis_libraries.
Thank you. I can confirm that the issue with the axi stream parameters is now solved. But in fact the co-simulation fails. Do you know if this is an issue related to the vitis libraries or is it caused by the tool itself (Vivado/Vitis 2020.1)?
Regards
from vitis_libraries.
Co-sim issue has been fixed with the recent code update.
from vitis_libraries.
Please reopen if you find any more issues with this function.
from vitis_libraries.
Related Issues (20)
- [Vitis Vision] xfcvDataMover Tiler/Stitcher Hangs on Wait HOT 1
- [Vitis Vision] xfcvDataMover Tiler/Stitcher AIE_VECTORIZATION_FACTOR? HOT 2
- [Vitis Vision Library] Kalman Filter Kernel documentation is misleading and incomplete
- Data compression kernel with data width > 8 bits?
- [Vitis Graph] test_cosineSimilaritySSDense Bug: Segmentation fault (core dumped)
- Security lib performance: RSA + HMAC-SHA256
- Co-Simulation error while running after successful synthesis HOT 8
- CFB76::calculatePaddedNumElements HOT 1
- Build errors during C simulation and C synthesis in Vitis unified IDE 2023.2
- Motor control [field weakening]
- NPPC2 (2 pixels per clock) or NPPC4 (4 pixels per clock) support for Sobel Filter
- BLAS multikernel benchmark example doesn't work on U250 platform HOT 1
- [2023.2] CONFIG_FILE and CONFIG_TMPL variables in makefile of examples HOT 1
- [VISION]REQUEST SAMPLE FOR LK_SPARSE_PYR_OP
- [BLAS, L2 GeMM] Throughput decreases for specific matrix sizes
- Where is example of using L2 FFT2D & IFFT2D?
- ultrasound library displaing images problem
- WARNING: [HLS 200-1998] cannot find relative file path '"${XF_PROJ_ROOT}/L1/include"' in directory(s): C:/Users/Arnav/Downloads/Vitis_Libraries-ee8db02919347b208dbf952156fc37a75b24ed15/vision/L1/examples/isppipeline/hls_component HOT 1
- cv2.findContours() in Vitis vision Library HOT 1
- Vitis Vision Compatibility with xcku035 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vitis_libraries.