- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to generate the SPI (4 Wire Serial) Intel FPGA IP core, but the platform designer fails to generate the HDL. It looks like it could be due to "Info: spi_0: Illegal division by zero at /tools/intelFPGA_lite/23.1std/quartus/../ip/altera/sopc_builder_ip/altera_avalon_spi/em_spi_qsys.pm line 330." Please advise. Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please don't export the clock and reset ports then connect those ports to the clock source.
Thanks,
regards,
Sheng
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you trying to create just the IP to instantiate in your design or are you creating a Platform Designer system that includes this IP? If it's the former, you should be adding it to your Quartus project from the IP Catalog in Quartus itself, not in an empty Platform Designer system like you are showing here.
If you're trying to create a system design that includes the IP, I'm not sure if you're getting the error because the rest of the system is empty, which would be odd.
But better to understand what your use case is here first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply. My use case is actually just the former -- just looking to utilize the standalone IP. However, I have noticed multiple cores are only available in the IP catalog found through the Platform Designer, not the regular IP Catalog in Quartus. The SPI (4 Wire Serial) Intel FPGA IP core happens to be one of these. Attached is a screenshot of SPI results in the regular IP Catalog. Perhaps I am missing something?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What are you trying to connect to with this interface?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am sending data from existing buffers in my design to an external MCU.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you double click the IP to see any error settings configuration?
If got error, it'll not be generated.
Thanks,
Regards,
Sheng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, no errors after configuration before generating HDL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please don't export the clock and reset ports then connect those ports to the clock source.
Thanks,
regards,
Sheng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That worked! Thank you. Why was the clock source needed in this case but not always using other IP cores in Platform Designer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
That SPI IP is always associated with other ip. So please generate it together with other IPs in .qsys system instead of standalone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see. To clarify, I was wondering why this IP requires a clock source, whereas others don't. What makes this one different? Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
reopening the case

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