- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm creating a native verilog module for use within an OpenCL kernel.
I was wondering if it is possible to create SDC constraints for my native module. The openCL compiler does not accept .sdc files, as it only accepts .v, .vhd, and memory files. Is there a different area where I can specify my constraints?
In particular I wish to create a false path constraint to optimize a near-constant value used throughout the design.
Any ideas?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @LennartVH,
Thank you for posting in Intel community forum and hope all is well.
Unfortunately per my understanding SDC should be added in the quartus project level.
Hence you will need to proceed to quartus design to do so.
Please do let us know if I misunderstand the situation.
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for replying,
The issue is that working with OpenCL, I cannot edit the generated Quartus Project itself. It is generated by aoc in the process of an OpenCL compile, from an xml file that describes the module. In that xml I must specify the files that are needed for my module: verilog files, vhd files, memory files, etc. And then when it compiles it just copies the necessary files to a fresh Quartus Project and executes the necessary tcl scripts for OpenCL compilation. The thing is that it's really picky about the accepted file types, accepting only these files, and not for example .qip files or .sdc files. I was just looking to see if there's a workaround I can use, even perhaps going as far as using filesystem events to detect and edit the generated top.sdc before quartus reads it.
Kind regards,
Lennart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @LennartVH,
Apologies for the delayed in response, and noted on the explanation.
My guess is you can use the customization flow which utilize and include the modified reference platforms.
Here is a link to the build flow which will guide you through.
- https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/an/archives/an780-18-1.pdf
Hope that clarify.
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, @BoonBengT_Intel
We've been able to solve the issue in a different way, where we transmit the constant over two wires to shift register receivers all across the FPGA. That saves us a lot of routing resources as well.
In any case thank you for the linked document, if the need comes up again we'll definitely consult it.
Kind regards,
Lennart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @LennartVH,
Good to know that you managed workaround the issues and appreciate the sharing of the steps. Sure please feel free to get in touch with us for any clarification. As there is no further clarification on this thread, we will no longer monitor this thread.
Thank you for the questions and as always pleasure having you here.
Best Wishes
BB

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page