Forum Discussion

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

system verilog system functions in quartus integrated Synthesis

Is there ability to use sv system function such as $ceil, $pow etc to caluculate module parameters (localparmeters)?

For example something like that
parameter integer N_COEFF_ACCUM =($ceil(( SUMM1 + SUMM2 - SUMM3) * CLK_FREQUENCY));

SUMM1, SUMM2, SUMM3 are real parameter

2 Replies