Forum Discussion

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

LPM_MULT, LPM_ADD_SUB Not working correctly with Modelsim v10.1.d

I am using the LPM_MULT and LPM_ADD_SUB for computing the magnitude of the FFT output. I am using scripts. Modelsim compilies everything. The LPM library is listed. However, the "result" output for two LPM_MULTs and one LPM_ADD_SUB are red and stay red.

Any idea of what's wrong?

If I use Quartus (v13.0p1) and invoke Modelsim from Quartus (v13.0sp1) the LPM's work OK.

The script works alright. Typical warnings. No errors. Compiles everything and invokes Modelsim v10.1.d It compiles both LPM's with no errors.

Swimteam

2 Replies

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

    This generally happens when one of your input signals - on which 'result' depends - is not defined. Check the stimulus you're driving in.

    Cheers,

    Alex