AR# 46714

13.4 Simulation - Error: <*>.vp(*): Pragma protect keyword expected # **

Description

When I use QuestaSim 6.5a to simulate an AXI BFM protected module for ISE Design Suite 13.4, I receive the following errors:

# ** Warning: (vlib-34) Library already exists at "work".
# QuestaSim vlog 6.5a Compiler 2009.03 Mar 27 2009 # ** Error: ./cdn_axi4_lite_master_bfm.vp(2): Missing '`pragma protect ????_block encoding'
# ** Error: ./cdn_axi4_lite_master_bfm.vp(2): Pragma protect keyword expected # ** Error: ./cdn_axi4_lite_master_bfm.vp(2): Pragma protect keyword expected # ** Error: ./cdn_axi4_lite_master_bfm.vp(4): A key_method must be specified.
# ** Error: ./cdn_axi4_lite_master_bfm.vp(7): key_block cannot be used here.
# ** Error: ./cdn_axi4_lite_master_bfm.vp(7): g is not valid as a keyword of `pragma protect (null) # ** Error: ./cdn_axi4_lite_master_bfm.vp(7): JNZ is not valid as a keyword of `pragma protect (null) # ** Error: ./cdn_axi4_lite_master_bfm.vp(13): near "ERUaM5": syntax error, unexpected "IDENTIFIER", expecting "class"

Solution

This error is due to a QuestaSim version mismatch with the protected module.

For ISE 13.4, the QuestaSim/ModelSim version limit is 6.6d.

Using QuestaSim/ModelSim 6.6d or beyond can resolve the issue.
AR# 46714
Date 11/24/2014
Status Active
Type General Article
Tools