Forum Discussion

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

some basic questions about altera

hi everone, i am new to altera, and i have some basic questions about altera

1. if i use verilog, can quartus synthesis multipliation and division?

2. if i use VHDL, can quartus synthesis multipliation and division?

3. i find the altera synthesis cookbook.pdf, it contain a lot useful codes, does it have vhdl version?

thanks!

8 Replies

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

    You mean you have questions about quartus

    1. 2. Yes of course ! You have just to write '*' or '/' :-). But kep in mind that divisions can consume lots of resources and maybe you have to pipeline.

    For division, you can also use LPM Division (see megawizard). A good advice : Divisions by a power of two are very very very very efficient ;-).
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Megafunction, not megawizard, is the correct term.

    --- Quote End ---

    Yes and since Quartus 14 the former Megawizard functionality is accessed through the IP Catalog.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    hi, perhaps you can attend the online course provided by Altera which can gives you the basic skills to design with Altera FPGAs.

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

    Multipliers and dividers often get mapped to DSP blocks which run way faster than the lookup table logic. assign foo = a * b; or assign foo = a / b; work fine in Quartus. You can check the fitter resource summary to see if lookup tables or DSP embedded multiplier blocks are being used.