UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor davidjensen
Visitor
213 Views
Registered: ‎12-13-2018

Floating point multiplier.

Hi HLS users.

I am trying to make a IP core. This is a floating point simple multiplier. I have made it in Vivado HLS 2017.2 and exported it a verilog. Then i added it into Vivado 2017.2 and can see seen as named flotPrototypec_0 in screenshot below.

Untitled.jpg

After adding it and updating the hardware i could see it was added to xparameters.h. But i am unsure how to interact with it. I have used the GPIO before and that worked, well but i can't figure out how to interact with my new ip core.

Any help would be greatly appreciated 

This is my ip core

floatPrototype.h

https://pastebin.com/GTrpAU7h?fbclid=IwAR2_Xlzc1OfscwaN6l4XdkHy1_SGkPh78UcfQt0pIG7SsGAsOOXCMirlOgU


floatPrototype.cpp

https://pastebin.com/4x4MC5py?fbclid=IwAR2RnZN00tVhN3-7Ir7l-8gdglvZqmsohveo1TS8n3kvKrkcGju_5lNJA6Y

 EDIT also added the systemC file

https://pastebin.com/XkhJDUAq?fbclid=IwAR2JnMnlBDPw3iFhHboWM5rqw4Dp1Bt6uCIbmVtm66kU5hJ5whdGpRpCMHE

This is the xparameters.h for it

 

/* Definitions for peripheral FLOATPROTOTYPEC_0 */
#define XPAR_FLOATPROTOTYPEC_0_S_AXI_SLV0_BASEADDR 0x43C00000
#define XPAR_FLOATPROTOTYPEC_0_S_AXI_SLV0_HIGHADDR 0x43C0FFFF

 

The entire file xparameters. This also have the GPIO that i have working

https://pastebin.com/w8iCCt5u?fbclid=IwAR1kXPWDGz37RcrbsFc71CNLZpbj6sd2l0b1coC_uV25wto5CLLWKzrPOLc

0 Kudos
1 Reply
Moderator
Moderator
79 Views
Registered: ‎06-24-2015

Re: Floating point multiplier.

@davidjensen

 

Follow steps similar to those given on lab 10 page 240 of https://www.xilinx.com/support/documentation/sw_manuals/xilinx2018_2/ug871-vivado-high-level-synthesis-tutorial.pdf

Thanks,
Nupur
--------------------------------------------------------------------------------------------
Google your question before posting. If someone's post answers your question, mark the post as answer with "Accept as solution". If you see a particularly good and informative post, consider giving it Kudos (click on the 'thumbs-up' button).
0 Kudos