Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

`ifdef support in quartus

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

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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