Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

`ifdef support in quartus

Altera_Forum
Honored Contributor II
2,467 Views

I have a code like: 

`ifdef FPGA 

//for FPGA 

`else 

//for ASIC 

`endif 

 

How do i make the tool take the FPGA code for synthesis
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
1,420 Views

then have a `define in a file that you only include in the FPGA project.

0 Kudos
Reply