Forum Discussion
Help for generate simulator script
- 4 years ago
after few days struggle, I figured out that when edit the ip, set the simulation file as copy from the synthesize. then regenerate the ip testbench. it will solve this problem.
thanks,
David
Dear Quartus Support/Expert,
Continue with the last question. will I run Tool -> Generate Simulator setup script for IP.
I got error message like this
-----------------------------------------------------------------------------------------------------------------------------
Error: 2021.11.24.21:43:31 Error: SPD file C:/FPGA/TSW14J57_pro/copy3/ip/ip/jesd204b/jesd204b_dec_data_capture_0\jesd204b_dec_data_capture_0.spd not found. Please generate simulation files for IP file C:/FPGA/TSW14J57_pro/copy3/ip/ip/jesd204b/jesd204b_dec_data_capture_0.ip before generating simulator setup scripts.
-----------------------------------------------------------------------------------------------------------------------------
I checked the directory and search path, there is a file called jesd204b_dec_data_capture_0.ip at C:\FPGA\TSW14J57_pro\copy3\ip\ip\jesd204b
the file is there, and the Quartus Pro 21.3 can compile the project without any problem. I couldn't figure out why when I open this IP with Platform Designer, the tools complain that couldn't find it.
seems to me that the Quartus compiler and the Platform Designer follow different library searching path.
after click Select and Open, I got the following pop up
I hope after I execute this command will fix the problem. but I don't think I can just duplicate the same line as the command, please give some hint/instruction how to set a correct command.
Thanks you,
David
Question Related to the same issue.
I try to regenerate the IPs. here are the Error message for some modules.
Error: reg_ctrl_0: reg_ctrl does not support generation for Verilog Simulation. Generation is available for: Quartus Synthesis.
Error: qsys-generate failed with exit code 1: 1 Error, 0 Warnings
Error: SPD file was not generated: C:\FPGA\TSW14J57_pro\copy3\ip\ip\jesd204b\jesd204b_reg_ctrl_0\jesd204b_reg_ctrl_0.spd
Error: Could not generate simulation scripts
in this situation, if a module .spd file couldn't be generated, then the Generate simulation setup script can't execute successfully. how can I create a simulation environment for the project?
is there a command that can exclude the modules that not supported for the spd file generation? then added to the whole project manually.
thanks,
David
- dsun014 years ago
Contributor
after few days struggle, I figured out that when edit the ip, set the simulation file as copy from the synthesize. then regenerate the ip testbench. it will solve this problem.
thanks,
David