LPM_MODOLUS warning

Hi,

when compiling my project in QuartusII I get the warning:

LPM_MODULUS input value is . It should be within the range of

1 to 2^. Assume no modulus input

In the HELP it is explained like the following:

-------------------------------------------------------------------------------- CAUSE: The LPM_MODULUS is set to value that is not valid. Valid range should be between 1 to 2^LPM_WIDTH. ACTION: Change the LPM_MODULUS value to a value within the valid range.

Can somebody shed some light on it?

In which module do I find that LPM_MODULUS?

Rgds André

Reply to
ALuPin
Loading thread data ...

It's in your "magic" megafunction code:

entity LPM_COUNTER is generic (LPM_WIDTH : positive; LPM_MODULUS: natural := 0; LPM_DIRECTION : string := "UNUSED"; LPM_AVALUE : string := "UNUSED"; LPM_SVALUE : string := "UNUSED"; LPM_PVALUE : string := "UNUSED"; LPM_TYPE: string := "LPM_COUNTER"; LPM_HINT : string := "UNUSED"); For details see:

formatting link

This is the sort of thing that inspires some to banish the wizards and write n ;= n + 1;

-- Mike Treseler

Reply to
mike_treseler

Does it have any effect on my design if I ignore this warning?

Rgds André

Reply to
ALuPin

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.