Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15331 Discussions

twentynm_fp_mac_encrypted simulation in questasim

Altera_Forum
Honored Contributor II
1,250 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
153 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 ?
Altera_Forum
Honored Contributor II
153 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)
Altera_Forum
Honored Contributor II
153 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
Altera_Forum
Honored Contributor II
153 Views

Hi , 

 

Can you share your msim_setuo.tcl file? 

 

Best Regards, 

Anand Raj Shankar 

(This message was posted on behalf of Intel Corporation)
Altera_Forum
Honored Contributor II
153 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.
Reply