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

ASMI P2 model simulation

guenaule
Beginner
405 Views

hi,

 

i have a trouble when i want to simulate model ASMI P2

 

my version version modelsim is 2020.4

and quartus is 20.1

 

on windows10 , the problem with vsim is :

vsim -L work_lib -L avst_fifo -L asmi2_qspi_interface_0 -L asmi2_cmd_generator_0 -L multiplexer -L merlin_demultiplexer_0 -L xip_controller -L csr_controller -L rst_controller -L asmi2_addr_adaption -L asmi2_core -L asmi_parallel2_top_0 -L altera_ver -L lpm_ver -L sgate_ver -L altera_mf_ver -L altera_lnsim_ver -L cyclonev_ver -L cyclonev_hssi_ver -L cyclonev_pcie_hip_ver -L altera -L lpm -L sgate -L altera_mf -L altera_lnsim -L cyclonev work.testbench_fpga
# Start time: 09:51:44 on Aug 31,2022
# ** Note: (vsim-3812) Design is being optimized...
# ** Error: C:/intelfpga_lite/20.1/quartus/eda/sim_lib/mentor/cyclonev_atoms_ncrypt.v(38): in protected region
# Optimization failed 

 

 

and with script msim_setup.tcl , this component has a warning

vlog -reportprogress 300 C:/intelfpga_lite/20.1/quartus/eda/sim_lib/mentor/cyclonev_atoms_ncrypt.v -work cyclonev
# ** Warning: (vlog-2083) <protected>(<protected>): Carriage return (0x0D) is not followed by a newline (0x0A).
# ** Warning: (vlog-2083) <protected>(<protected>): Carriage return (0x0D) is not followed by a newline (0x0A).
# ** Warning: (vlog-2083) <protected>(<protected>): Carriage return (0x0D) is not followed by a newline (0x0A).
# ** Warning: (vlog-2083) <protected>(<protected>): Carriage return (0x0D) is not followed by a newline (0x0A).
# ** Warning: (vlog-2083) <protected>(<protected>): Carriage return (0x0D) is not followed by a newline (0x0A).
# ** Warning: (vlog-2083) <protected>(<protected>): Carriage return (0x0D) is not followed by a newline (0x0A).
# ** Warning: (vlog-2083) <protected>(<protected>): Carriage return (0x0D) is not followed by a newline (0x0A).
# ** Warning: (vlog-2083) <protected>(<protected>): Carriage return (0x0D) is not followed by a newline (0x0A).
# ** Warning: (vlog-2083) <protected>(<protected>): Carriage return (0x0D) is not followed by a newline (0x0A).
# ** Warning: (vlog-2083) <protected>(<protected>): Carriage return (0x0D) is not followed by a newline (0x0A).

 

 

 

on linux, it's better but there are again a problem, parameter generic between vhdl and systemverilog have a trouble

 

vsim -vopt -c -t ps -L avst_fifo -L asmi2_qspi_interface_0 -L asmi2_cmd_generator_0 -L multiplexer -L merlin_demultiplexer_0 -L xip_controller -L csr_controller -L rst_controller -L asmi2_addr_adaption -L asmi2_core -L asmi_parallel2_top_0 -L altera_ver -L lpm_ver -L s
gate_ver -L altera_mf_ver -L cyclonev -do "set IterationLimit 10000;do i:/projects/onixi/source/asmi_p2/simu/wave.do;run -all;quit" -lib lib_work tb_asmi_p2 -gSCENARIO=TU_TELEDIAG_ASMI_P2 -gMODE=fnc
# Start time: 08:43:28 on Aug 31,2022
# ** Note: (vsim-3812) Design is being optimized...
# ** Error (suppressible): ../libs/altera/sources/submodules/asmi_p2_asmi_parallel2_top_0_asmi2_core.vhd(405): (vopt-1271) Bad default binding for component instance "xip_controller: altera_asmi2_xip_controller".
# (Component generic "ADDR_WIDTH" is not on the entity.)
# ** Error (suppressible): ../libs/altera/sources/submodules/asmi_p2_asmi_parallel2_top_0_asmi2_core.vhd(511): (vopt-1271) Bad default binding for component instance "asmi2_qspi_interface_0: asmi_p2_asmi_parallel2_top_0_asmi2_core_asmi2_qspi_interface_0".
# (Component generic "ENABLE_SIM_MODEL" is not on the entity.)
# ** Error (suppressible): ../libs/altera/sources/submodules/asmi_p2_asmi_parallel2_top_0_asmi2_core.vhd(576): (vopt-1271) Bad default binding for component instance "rst_controller: altera_reset_controller".
# (Component generic "ADAPT_RESET_REQUEST" is not on the entity.)
# ** Error (suppressible): ../libs/altera/sources/submodules/asmi_p2_asmi_parallel2_top_0.vhd(234): (vopt-1271) Bad default binding for component instance "asmi2_addr_adaption: avl_mem_addr_adaption".
# (Component generic "ASMI_ADDR_WIDTH" is not on the entity.)
# ** Error (suppressible): ../libs/altera/sources/submodules/asmi_p2_asmi_parallel2_top_0.vhd(299): (vopt-1271) Bad default binding for component instance "rst_controller: altera_reset_controller".
# (Component generic "ADAPT_RESET_REQUEST" is not on the entity.)
# Optimization failed
# ** Note: (vsim-12126) Error and warning message counts have been restored: Errors=5, Warnings=0.
# Error loading design
Error loading design
# End time: 08:43:28 on Aug 31,2022, Elapsed time: 0:00:00
# Errors: 5, Warnings: 0

 

 

 

 

 

0 Kudos
3 Replies
Farabi
Employee
395 Views

Hello,


Do you have the testcase for this error? we need this to replicate at our side. if there is a bug, we can report this bug to engineering.


regards,

Farabi


0 Kudos
Ash_R_Intel
Employee
390 Views

Hi,

I see that currently the simulator is trying to optimize the design. Can you try adding -novopt to the vsim command and try?

vsim -novopt -L work_lib -L avst_fifo -L asmi2_qspi_interface_0............


Regards


0 Kudos
Ash_R_Intel
Employee
374 Views

Hi Yann.

Any update on the case?


Regards


0 Kudos
Reply