MAX10 ADC - getting it to simulate in Modelsim
Hi, I'm setting up a new project - actually a rework of a 7 year old project were we had massive tools problems with the ADC, some of which I think were specific to Quartus 17. I have regenerated the ADC IP in Quartus 18.1. I have manually created the simulation in Modelsim 10.5b. I have added all the ADC files I can find to the Modelsim project, as shown in the attached screenshot. When I run the simulation, all the ADC outputs are floating. Any clues as to what I am going wrong, please? I tried running the msim_setup.tcl from the Modelsim command line, but this made no difference. Searching this forum, I wonder if it has something to do with fiftyfivenm_adcblock_primitive_wrapper.v, but the solution eludes me, since I have compiled this. Attached: screenshot of my modelsim project, the generated IP code, and my vhdl which instantiates the ADC. Thanks, Rob56Views0likes3CommentsQPP 26.1.0 Tools->Generate Simulator Setup Script produces no output
Hello, I have a relatively simple Agilex 3 QPP 26.1.0 project with four IPs on Win 11. Today after adding the latest IP block, running Tools->Generate Simulator Setup Script produces no output when executing the command. I can see from the Quartus log that "--spd" is not passed, and I believe this is the problem. If I run ip-sim-script in the Quartus command line and include the "--spd" option, the correct sim folders and files are produced. I do not see this same problem when working with the same project on Ubuntu Linux. What would cause "--spd" not to be passed? Note that the *.spd files do exist. Thank you.95Views0likes8CommentsModelSim/Questa does not include external IP repo files
Hello Altera Community In Quartus Prime Pro 26.1 I'm doing a Tool -> RTL Simulation, for an Intel AI IP System. Simulation fails with errors like "Module 'dot_bf16' is not defined" These modules exists in my folder "ip_repo", which I placed next to my "quartus" project folder. C:\Users\mads\Desktop\test\ip_repo\altera_ai_ip\verilog\spatial_ip\ The generated top_level.sv instantiates (dot_bf16, relu, strm_wrap). But the simulation compile flow does not include their source files. Quartus simulation flow does not compile them. I tried to editing them into spatial_first_run_msim_rtl_vhdl.do, but quartus regenerates it every run. vlog -sv -work work C:/Users/mads/Desktop/test/ip_repo/altera_ai_ip/verilog/spatial_ip/dot/dot_bf16.sv Platform Designer does not seem to have an "include external hdl" option I also tried to copy the sv files into the simulation folder, but Quartus only compiles what its generated scripts explicitly list. How do I fix this? Thanks in advance.Solved70Views0likes3CommentsFailed to run ip-setup-simulation:
Hello Altera Community. I'm trying to simulate an example generated by the FPGA AI Suite. However I get a list of errors which is attached below in a txt file. In Settings -> IP Simulation CHECKED: Generate IP Sim model FLOW: QRUN SIMULATORS: QuestaSIM It seems like the example is already setup for simulation expect its missing a testbench. I am running Quartus in admin mode. I have installed EDA Lib. I have installed Questa. What should I do to get it working?Solved82Views0likes3CommentsCompile option not saved (reversed to default)
Quartus std 25.1 / Questa Altrera FPGA Ed. 64 2025.2 My project use systemverilog all designs. launch RTL Simulation/Questa from Quartus , Everytime error happen not treated as designs are systemverilog. Opening "Compile->Compile option->verilog" and chage "default" to "systemverilog" then re-load design by "do ***_run_msim_rtl_systemverilog.do" command, no error happens. But next Questa launch, same error happend and "Compile option" reversed to "default" not saved.31Views0likes3CommentsQuesta FPGA Starter Edition: Fatal WLF Error when restarting sim
Simulating some SystemVerilog code (example attached) on Questasim Starter Edition 24.1 or 25.1, when clicking on "restart" on the gui (or typing restart in the console), QuestaSim crashes and gives the following error: ** Error: Fatal WLF Error (2): allocateArchiveNumbers: unknown opcode error: 0 1 I have attached a minimal reproducible example, along with the transcript. On the example, I have found the crash only occurs when passing req_i.b to the "control_decoder" module. Passing req_i.a works fine. Defining type_t with just one member logic b also works. On the Makefile, removing -pedanticerrors also prevents the crash. ThanksSolved56Views0likes5CommentsFIR IP configured for Interpolation
Why does my Altera FIR IP, configured for interpolation by 80, produce the expected outputs when I provide 3 input samples, but fail to produce the expected behavior when I provide 10 input samples? In this case, the FIR IP keeps tready asserted high, but only generates 4 valid outputs. What could be causing this behavior? I am simulating this in Quartus Prime Lite Edition.324Views0likes11CommentsHow to generate a netlist when the design includes encrypted sources
I would like to ship my design to a customer as an encrypted netlist, however I am unable to create the netlist after a successful run, because my design includes encrypted RTL (unable to change this). I am running the following command (after running synthesis and P&R): quartus_eda my_project --simulation --format=vhdl --tool=modelsim -c my_project_revision I get the following error: Error (18580): Cannot generate netlist output files because the design includes encrypted source files: "/path/to/encrypted/rtl/file.vhdp" I see here that this was planned to be possible in "future" Quartus Prime updates, but I am using 26.1 and no such update has been made. I have also attempted to run the following command, with the exact same result: quartus_eda my_project --resynthesis --tool=modelsim Any help would be appreciated; perhaps this is plainly impossible, or perhaps there is some work-around. Thank you!Solved122Views0likes3Comments