Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Comprehensive list of RTL pragma directive triggers

Tags:

verilog

vhdl

In verilog and VHDL RTL commands to tools can be given as pragma directives as pseudo comments. I want to avoid using any of these pragma directives in my real comments, so what I'd like to have is a comprehensive list of pragma directive triggers. Ones I know about are:

-- pragma
// synthesis
-- synopsys
like image 515
WestHamster Avatar asked Sep 13 '25 05:09

WestHamster


1 Answers

You can find a comprehensive list here:

http://www.sigasi.com/content/list-known-vhdl-metacomment-pragmas

As long as you don't have a comment starting with the trigger, i.e., -- <trigger> ..., you should be safe.

For example, when using Altera Quartus, avoid comments such as

-- altera code below,

while

-- The following is for altera.

would be fine.

like image 165
zennehoy Avatar answered Sep 15 '25 01:09

zennehoy