Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16614 Discussions

`ifdef support in quartus

Altera_Forum
Honored Contributor II
1,886 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
839 Views

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

0 Kudos
Reply