- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to insert an RTL module into oneAPI, my RTL modules includes multiple avalon ST interface. how can I create a C model and what argument type should I choose correspond to the avalon ST interface?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am working on this issue. I'll check and update you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi hareesh,
I've watched that video, but I think the problem still exists.
1. the video is about OpenCL, not oneAPI, they are the same in most part, but some slightly different in some way like compiling etc.
2. the video is mostly the same as the document and of the oneAPI https://www.intel.com/content/www/us/en/docs/oneapi/programming-guide/2023-1/use-of-rtl-libraries-for-fpga.html and I've tried that, and also tried the corresponding sample provided in https://github.com/oneapi-src/oneAPI-samples/blob/master/DirectProgramming/C%2B%2BSYCL_FPGA/Tutorials/Tools/use_library/README.md
but both of them doesn't mention about how to implement an RTL module with multiple avalonST interfaces as an oneAPI library.
I did some attempt but it doesn't work.
the problem I stcuk is in the fpga_crossgen.
the verilog declaration of my module is like this:
ip_handler_top ip_handler_top_inst (
// Interface: clock (clock end)
.clock ( ), // 1-bit clk input
// Interface: reset (reset end)
.resetn ( ), // 1-bit reset_n input
// Interface: s_axis_raw (avalon_streaming sink)
.s_axis_raw_data ( ), // 640-bit data input
.s_axis_raw_ready ( ), // 1-bit ready output
.s_axis_raw_valid ( ), // 1-bit valid input
// Interface: m_axis_arp (avalon_streaming source)
.m_axis_arp_data ( ), // 640-bit data output
.m_axis_arp_ready ( ), // 1-bit ready input
.m_axis_arp_valid ( ), // 1-bit valid output
// Interface: call (conduit sink)
.start ( ), // 1-bit valid input
.busy ( ), // 1-bit stall output
// Interface: return (conduit source)
.done ( ), // 1-bit valid output
.stall ( ), // 1-bit stall input
// Interface: myIpAddress (conduit sink)
.myIpAddress ( ) // 32-bit data input
);
first time I tried to set the avalone interface as input in the xml file:(snippet below)
<INPUT port="s_axis_raw_data" width="640" />
<OUTPUT port="s_axis_raw_ready" width="1" />
<INPUT port="s_axis_raw_valid" width="1" />
<OUTPUT port="m_axis_arp_data" width="640" />
<INPUT port="m_axis_arp_ready" width="1" />
<OUTPUT port="m_axis_arp_valid" width="1" />
<OUTPUT port="m_axis_icmp_data" width="640" />
it return error says
Errors in HDL component specification file:Error in './ip_handler_ip.xml', line 21
Expected element <OUTPUT> to appear exactly once.
and if change the type to avalon, seems no luck to me.
is there any possible way to do this, that is to use a RTL module with avalonST interface as a oneAPI library?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
let me check. about this. i am trying to find an example design.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
sorry for taking the time. actually, I am discussing it with the team. It may take some more time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I can't find out the example design. so, we are trying to create a new design please give me some tome.
Thank you,
Hareesh B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
please follow this page. this information only we have. i trying to find some more information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
any update on your issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi harresh,
This problem is basically from the website you provided.
as illustrated in the document, I need to execute the following command
fpga_crossgen lib_rtl_spec.xml --emulation_model lib_rtl_model.cpp --source sycl --target sycl -o lib_rtl.o
and the error above occurs.
could you please find some more information ? thanks a lot.
B.R
jia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
please go through this page it has a complete tutorial of oneAPI. please check this.
Thank you,
Hareesh B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As we do not receive any response from you on the previous question/reply/answer that we have provided. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page