Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to set global include in synplify, like vivado "set global include"

skyworld_cy

Junior Member level 3
Joined
Jun 29, 2011
Messages
31
Helped
0
Reputation
0
Reaction score
1
Trophy points
1,288
Activity points
1,513
Hi,
I have used `define in several verilog files like

Code:
`ifdef FPGA
   ......
`else // FPGA
  ....
`endif // FPGA

I use an .inc file to enable/disable these defines macros. In vivado I can set this inc file as "set global include" so that every verilog file see these define macros. Is there is a way I can implement the same function in synplify? thanks.


regards
skyworld
 
"Global include" is a non-standard Verilog extension in Vivado, not provided by other tools (at least I'm not aware of). If you want portable code, use standard Verilog language means.
 

LaTeX Commands Quick-Menu:

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top