Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
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.
15539 Discussions

** Error: C:/intelfpga/17.1/quartus/eda/sim_lib/mentor/twentynm_atoms_ncryp

Honored Contributor II


Anyone know what i may be doing wrong or need to do in order to get past this simulation problem? 


** Error: C:/intelfpga/17.1/quartus/eda/sim_lib/mentor/twentynm_atoms_ncrypt.v(38): in protected region 


I get the above error in Mentor's Questasim. I have tried to compile my code base with both Revision 16.1 and 17.1. Both of them report the same error. I use Verilog netlist. 


Thank you. 

Best regards, 

0 Kudos
2 Replies
Honored Contributor II



This type of error may be because of compilation order.Can you elaborate on compilation steps or attach the transcript. 

Refer below link if may help 


Let me know if this has helped resolve the issue you are facing or if you need any further assistance. 


Best Regards, 

Anand Raj Shankar 

(This message was posted on behalf of Intel Corporation)
Honored Contributor II

Thank you for helping. This is what I do - 

1. Create a qsys system with the platform designer in Q17.1 or 16.1 targeting an Arria10GX device. 

2. Create testbench for the system from the Tools menu in the qsys generator. 

3. Go to the <component>_tb/sim/mentor in questasim version 10.7a 

4. Run msim_setup.tcl. Which creates aliases dev_com, com and elab_debug. 

5. I run dev_com, then com and then elab_debug. That’s when I get the error.  

It doesn’t seem to matter what I put in the qsys. For my test case I have a clock, reset and altera’s quad spi flash programmer ip. 


To me it seems like there is something wrong in the verilog version of the encrypted twentynm files. While the problem occurs during elab of twentynm_atoms_encrypt.v the encrypted hip file reports incorrect carriage return warning. It may or may not be related. 


Please help. Cannot go far in creating simulation env if intel provided ip blocks do not work. 

Thank you. 

Best regards