Getting vlog error - Compiler directive not processed

Hi,

I See the below vlog error during simulation:

==================
** Error: /proj/gpfs/jagetmp2/jagetmp2_s8hbtmc_dev_6/mmsrss_frs8/rtl/mmsrss_hack/s8nvlatchfp_8x8.v(55): Compiler directive ‘`begin_keywords “1364-2001”’ not processed.
– Compiling module s8nvlatchfp_8x8

** Error: /proj/gpfs/jagetmp2/jagetmp2_s8hbtmc_dev_6/mmsrss_frs8/rtl/mmsrss_hack/s8nvlatchfp_8x8.v(1117): (vlog-2188) Unmatched `end_keywords directive

The compiler directive usage seem to be correct. What can be the reason for seeing vlog error still. How can we get rid of them.

Thanks,
Sandhya

In reply to San:
Because `begin_keywords is a SystemVerilog construct that you are using in a file with a *.v file extension. Most tools recognize files with that extension as being written in Verilog 1364-2001.

So unless your file contains SystemVerilog code, you should remove these compiler directives.
If the file does contain some SystemVerilog code, then change the file extension to *.sv