Error! Unknown INTENDED_DEVICE_FAMILY=Stratix IV during Arria 10 PCIe hip simulation
I have generated an Arria 10 PCI Express testbench system using Platform Designer in ACDS 24.3.
When I come to simulate this system using the generated msim_setup.tcl script, I see this sort of message from each scfifo and ram:
# Time: 0 Instance: ellesmere_tb.ellesmere_inst.ellesmere_pcie.ellesmere_pcie.g_avmm.g_avmm.avalon_bridge.tx.genblk1.wrdat_fifo
# Error! Unknown INTENDED_DEVICE_FAMILY=Stratix IV.
The generated altpciexpav_stif_tx.v file sets intended_device_family to Stratix IV as shown in the snip below (I have also attached this file).
The function IS_VALID_FAMILY; in the altera_mf.v file from $QUARTUS_INSTALL_DIR/eda/sim_lib doesn't include "Stratix IV" in the list of valid devices.
altpciexpav_stif_tx.v:
begin scfifo wrdat_fifo ( .rdreq (wrdat_fifo_rdreq), .clock (Clk_i), .wrreq (wrdat_fifo_wrreq), .data (TxWriteData_i), .usedw (wrdat_fifo_usedw), .empty (), .q (wr_datout), .full () , .aclr (~Rstn_i), .almost_empty (), .almost_full (), .sclr () ); defparam wrdat_fifo.add_ram_output_register = "ON", wrdat_fifo.intended_device_family = "Stratix IV", wrdat_fifo.lpm_numwords = 64, wrdat_fifo.lpm_showahead = "OFF", wrdat_fifo.lpm_type = "scfifo", wrdat_fifo.lpm_width = 64, wrdat_fifo.lpm_widthu = 6, wrdat_fifo.overflow_checking = "ON", wrdat_fifo.underflow_checking = "ON", wrdat_fifo.use_eab = "ON"; end
Hi gavin5342,
My apologies for the late reply.
Thank you for attaching the .ip file.
I have generated the simulation files from the .ip file given and run the simulation in Questa Intel FPGA Edition-64 2024.1. I can replicate the error messages that you observed.
Based on my findings, there are 7 instances that returned the comment of "# Error! Unknown INTENDED_DEVICE_FAMILY=Stratix IV.". This is reported because the INTENDED_DEVICE_FAMILY parameter was defined as Stratix IV, but it is not found in the IS_VALID_FAMILY function's list of device families.
So, when the code performs a check on this function using the parameter INTENDED_DEVICE_FAMILY for the 7 instances, the error message is reported. I think our IP design team will reuse some proven RTL for the next generation of devices. Hence, your observation is expected.
Additionally, with the message "# SUCCESS: Simulation stopped due to successful completion!", this indicates a successful simulation. Therefore, I think you can safely ignore the error comment.
I hope this addresses your question. Please let me know if you have any further inquiries.
Thanks.
Best Regards,
ventt