Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16882 Discussions

Modelsim with VQM file, which used the twentnm_mac, got a error.

TY_Kuo
Beginner
1,299 Views

Hi 

I try to simulate core.vqm at modelsim, got a error massage,

"Module 'twentynm_mac_encrypted' is not defined." at twentynm_atoms.v.

 

The below commands are wrong or need compile more files ?

 

Modelsim command:

vlib altera_ver

vlib work

 

vlog -work altera_ver \

"/home/eda/lnx/Altera_QuartusII/v14.1/quartus/eda/sim_lib/altera_lnsim.sv" \

"/home/eda/lnx/Altera_QuartusII/v14.1/quartus/eda/sim_lib/twentynm_atoms.v" \

"/home/eda/lnx/Altera_QuartusII/v14.1/quartus/eda/sim_lib/sgate.v" \

"/home/eda/lnx/Altera_QuartusII/v14.1/quartus/eda/sim_lib/altera_lpm.v" \

"/home/eda/lnx/Altera_QuartusII/v14.1/quartus/eda/sim_lib/220model.v" \

"/home/eda/lnx/Altera_QuartusII/v14.1/quartus/eda/sim_lib/altera_mf.v" \

"/home/eda/lnx/Altera_QuartusII/v14.1/quartus/eda/sim_lib/altera_primitives.v" \

"/home/eda/lnx/synopSynpPro/fpga_vP-2019.09-SP1/lib/altera/altera.v" \

"/home/eda/lnx/synopSynpPro/fpga_vP-2019.09-SP1/lib/altera/altera_mult_add.v" \

"/home/eda/lnx/synopSynpPro/fpga_vP-2019.09-SP1/lib/vlog/hypermods.v" \

"/home/eda/lnx/synopSynpPro/fpga_vP-2019.09-SP1/lib/vlog/umr_capim.v" \

"/home/eda/lnx/synopSynpPro/fpga_vP-2019.09-SP1/lib/synip/hcei/zceistubs.v" \

"/home/eda/lnx/synopSynpPro/fpga_vP-2019.09-SP1/lib/vlog/scemi_objects.v" \

"/home/eda/lnx/synopSynpPro/fpga_vP-2019.09-SP1/lib/vlog/scemi_pipes.svh" \ -l $1_vlog_com.log

 

vlog -work work -suppress 2902 -vopt +vpi +define+FPGA_ON -timescale "1ns/1ps" -f run.f -l $1_com.log

vsim -L work -L altera_ver work.glbl +vpi -c system < vsim_cmd -l $1.log

 

 

Message:

# ** Note: (vsim-3812) Design is being optimized...

# ** Error: /home/eda/lnx/Altera_QuartusII/v14.1/quartus/eda/sim_lib/twentynm_atoms.v(3622): Module 'twentynm_mac_encrypted' is not defined.

# ** Error: /home/eda/lnx/Altera_QuartusII/v14.1/quartus/eda/sim_lib/twentynm_atoms.v(3622): Module 'twentynm_mac_encrypted' is not defined.

# ** Error: /home/eda/lnx/Altera_QuartusII/v14.1/quartus/eda/sim_lib/twentynm_atoms.v(3622): Module 'twentynm_mac_encrypted' is not defined.

# ** Error: /home/eda/lnx/Altera_QuartusII/v14.1/quartus/eda/sim_lib/twentynm_atoms.v(3622): Module 'twentynm_mac_encrypted' is not defined.

# ** Error: /home/eda/lnx/Altera_QuartusII/v14.1/quartus/eda/sim_lib/twentynm_atoms.v(1132): Module

0 Kudos
2 Replies
Nurina
Employee
1,249 Views

Hi,


Sorry for the late reply. Can you share your qar file of your project?


Nurina


0 Kudos
Nurina
Employee
1,234 Views

Hi,

We did not receive any response to the previous question/reply/answer that I have provided, thus I will put this case to close pending. Please post a response in the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you with your follow-up questions.

Regards,
Nurina

P/S: If you like my comment, feel free to give Kudos. If my comment solved your problem, feel free to accept my comment as solution!

0 Kudos
Reply