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

twentynm_fp_mac_encrypted simulation in questasim

Altera_Forum
Honored Contributor II
1,889 Views

Hi, 

I have some problem with simulaion fpga project with twentynm_fp_mac_encypted component. 

How can I get HDL code for simulation of this component 

or find full information about functions of this componet ? 

Thank you
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
792 Views

I need to run simulation OpenCL FPGA project of neural network (NN) with float point computations. 

Can I generate in Qsys tool HDL code of this NN for simulation ?
0 Kudos
Altera_Forum
Honored Contributor II
792 Views

Hi, 

 

 

--- Quote Start ---  

 

QuestaSim get this error  

Module 'twentynm_fp_mac_encrypted' is not define. 

As per you previous threadhttps://www.alteraforum.com/forum/showthread.php?t=57404 

 

--- Quote End ---  

 

 

Can you edit the msim_setuo.tcl file and check again. 

1.Add below lines in Compile device library files section of msim_setuo.tcl 

eval vlog $USER_DEFINED_COMPILE_OPTIONS "$QUARTUS_INSTALL_DIR/eda/sim_lib/mentor/twentynm_atoms_ncrypt.v" -work twentynm eval vlog $USER_DEFINED_COMPILE_OPTIONS "$QUARTUS_INSTALL_DIR/eda/sim_lib/mentor/twentynm_hssi_atoms_ncrypt.v" -work twentynm_hssi eval vlog $USER_DEFINED_COMPILE_OPTIONS "$QUARTUS_INSTALL_DIR/eda/sim_lib/mentor/twentynm_hip_atoms_ncrypt.v" -work twentynm_hip  

 

Best Regards, 

Anand Raj Shankar 

(This message was posted on behalf of Intel Corporation)
0 Kudos
Altera_Forum
Honored Contributor II
792 Views

 

--- Quote Start ---  

Hi, 

 

 

 

Can you edit the msim_setuo.tcl file and check again. 

1.Add below lines in Compile device library files section of msim_setuo.tcl 

eval vlog $USER_DEFINED_COMPILE_OPTIONS "$QUARTUS_INSTALL_DIR/eda/sim_lib/mentor/twentynm_atoms_ncrypt.v" -work twentynm eval vlog $USER_DEFINED_COMPILE_OPTIONS "$QUARTUS_INSTALL_DIR/eda/sim_lib/mentor/twentynm_hssi_atoms_ncrypt.v" -work twentynm_hssi eval vlog $USER_DEFINED_COMPILE_OPTIONS "$QUARTUS_INSTALL_DIR/eda/sim_lib/mentor/twentynm_hip_atoms_ncrypt.v" -work twentynm_hip  

 

Best Regards, 

Anand Raj Shankar 

(This message was posted on behalf of Intel Corporation) 

--- Quote End ---  

 

 

This is not working. 

Instantitaion of twentynm_fp_mac_encrypted failed. Design unit is not found
0 Kudos
Altera_Forum
Honored Contributor II
792 Views

Hi , 

 

Can you share your msim_setuo.tcl file? 

 

Best Regards, 

Anand Raj Shankar 

(This message was posted on behalf of Intel Corporation)
0 Kudos
Altera_Forum
Honored Contributor II
792 Views

Hi , 

 

You can simulate designs using the encrypted IP but cannot edit them. To simulate the IP, you need to compile the twentyfivenm library. This file can be found in the Quartus intallation directory.  

 

C:\IntelFPG\17.1\quartus\eda\sim_lib 

 

You can compile the twnetyfivenm VHDL /Verilog files into your work library and then recompile and simulate your design.
0 Kudos
Reply