Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21256 Discussions

ipgenerate does not generate SPD files - repost

grspbr
New Contributor II
1,583 Views

@ShengN_Intel, I'm reposting this because I am no longer getting a response ... (For some reason I was not automatically subscribed - not getting notifications - to my own post which would be normal in any other forum.)

 

Here is the old post: https://community.intel.com/t5/Programmable-Devices/ipgenerate-does-not-generate-SPD-files/m-p/1393152#M85470

 

Please see the attached console output from our Jenkins build. I tried your command lines and still have a problem.

 

Original message follows:

 

I’ve been working on scripting the batch simulation of our project for quite a few days now and I cannot find a way to generate SPD files when I run the ipgenerate command. I’ve searched extensively and cannot find a solution from any user, on intel’s community or elsewhere. (The SPD files contain a list of files for simulation.)

I’m using these commands but the second command fails indicating that the SPD files do not exist – otherwise all the other files appear to be generated:

 

  • quartus_ipgenerate mcd4 --rev top --generate_project_ip_files --simulation=verilog --clear_ip_generation_dirs
  • /INTELFPGA_PRO_21.2/qsys/bin/ip-setup-simulation --quartus-project=mcd4 --simulator=RIVIERA

 

This is working when I do it manually from the Quartus GUI – i.e. generate IP, then generate the simulation setup files for RIVIERA.

 

 

0 Kudos
1 Solution
ShengN_Intel
Employee
1,508 Views

Hi @grspbr,

 

I don't think the problem is due to SPD are not generated. The SPD file is generated with quartus_ipgenerate command. Please find the attached file. You should see a common SPD file is generated for the whole qsys system called generic_flash_access in generic_flash_access folder and the device family is Agilex. However ip-setup-simulation command still fails (Error: No spd files are included in quartus project) even there is SPD file there. So this indicates Platform Designer folder structure of Agilex isn't supported for ip-setup-simulation as mentioned in KDB https://www.intel.com/content/www/us/en/support/programmable/articles/000086513.html. I think you can target that SPD file of the whole system to generate the setup script using ip-make-simscript command.

 

Thanks,

Best Regards,

Sheng

p/s: If any answer from community or Intel support are helpful, please feel free to mark as solution and give Kudos.

 

View solution in original post

0 Kudos
5 Replies
ShengN_Intel
Employee
1,568 Views

Hi,

 

I found out the reason for causing this issue. Check this previous KDB link https://www.intel.com/content/www/us/en/support/programmable/articles/000086513.html I notice you're using Agilex device family right? As for that you have to use ip-make-simscript command:

ip-make-simscript --spd=<ipA.spd,ipB.spd> --output-directory=<directory> --simulator=<simulator> (Specify one or more .spd files)

ip-make-simscript --system-files=<ipA.ip, ipB.ip> --output-directory=<directory> --simulator=<simulator> (Specify one or more .ip files)

ip-setup-simulation command isn't supported for Agilex device family.

 

Best regards,
Sheng

p/s: If any answer from community or Intel support are helpful, please feel free to mark as solution and give Kudos.

0 Kudos
grspbr
New Contributor II
1,520 Views

Hi @ShengN_Intel 

Thank you for your reply. I saw this command and was surprised and concerned. It seems I have to tediously identify every single IP file we are using, about 200 of them. Is this true? There's no way for Quartus to do this automatically like previously? It's still one click with the GUI even with Agilex.

 

Also, this command appears to require SPD files as input. However, this is the problem, that SPD are not generated in the first place.

 

(Can you tell me why I am not receiving notifications of your replies? I checked my junk mail and see no replies there either.)

 

Best regards,

Greg

 

0 Kudos
Kenny_Tan
Moderator
1,559 Views

Hi,


Thanks for using Intel community forum,


Kindly expect some delay in the reply due to holiday.


Thanks,


0 Kudos
ShengN_Intel
Employee
1,509 Views

Hi @grspbr,

 

I don't think the problem is due to SPD are not generated. The SPD file is generated with quartus_ipgenerate command. Please find the attached file. You should see a common SPD file is generated for the whole qsys system called generic_flash_access in generic_flash_access folder and the device family is Agilex. However ip-setup-simulation command still fails (Error: No spd files are included in quartus project) even there is SPD file there. So this indicates Platform Designer folder structure of Agilex isn't supported for ip-setup-simulation as mentioned in KDB https://www.intel.com/content/www/us/en/support/programmable/articles/000086513.html. I think you can target that SPD file of the whole system to generate the setup script using ip-make-simscript command.

 

Thanks,

Best Regards,

Sheng

p/s: If any answer from community or Intel support are helpful, please feel free to mark as solution and give Kudos.

 

0 Kudos
grspbr
New Contributor II
1,494 Views

Hi @ShengN_Intel 

Right you are! I'm surprised I didn't check that with the "find" but you are correct that the files do exist. I'll use the ip-make-simscript command. Thank you for your help!

 

Best regards,

Greg

 

0 Kudos
Reply