Forum Discussion
Altera_Forum
Honored Contributor
15 years agodivision 2 integer value and output to the output reg
Hi, Is it can not direct using the division '/' in verilog?.. I notice that the result of division between two integers number and stored in the out reg gives red color words shown in Signal Ta...
Altera_Forum
Honored Contributor
15 years agoYou want to implement division in floating point format (ALTFP_DIV does that)? Then, naturally, your options are 32-bit (single precision) or 64 bit (double precision) only. For fixed point format use LPM_DIVIDE megafunction and choose how many bits of precision you want.