Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20689 Discussions

some basic questions about altera

Altera_Forum
Honored Contributor II
1,723 Views

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!
0 Kudos
8 Replies
Altera_Forum
Honored Contributor II
589 Views

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 ;-).
0 Kudos
Altera_Forum
Honored Contributor II
589 Views

Megafunction, not megawizard, is the correct term.

0 Kudos
Altera_Forum
Honored Contributor II
589 Views

 

--- 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.
0 Kudos
Altera_Forum
Honored Contributor II
589 Views

thanks! 

i got it!
0 Kudos
Altera_Forum
Honored Contributor II
589 Views

Hi, 

 

Perhaps you can attend the online training course which provided by Altera as below: 

http://wl.altera.com/education/training/courses/odswbecome 

 

Thank you
0 Kudos
Altera_Forum
Honored Contributor II
589 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
589 Views

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.

0 Kudos
Reply