Forum Discussion

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

incmprehensible error

Hi !!

When i compile my programm, I have these errors :

--- Quote Start ---

Error: Can't pack LABs

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[0]" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|_~397" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[1]" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|_~401" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[2]" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[3]" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|_~405" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[4]" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|_~409" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[5]" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|_~413" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[6]" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|_~417" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[7]" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[8]" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[9]" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[10]" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[11]" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[12]" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[13]" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[14]" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[0]~292" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[0]~296" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[1]~302" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[1]~307" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[2]~313" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[2]~318" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[3]~324" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[3]~329" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[4]~335" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[4]~340" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[5]~346" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[5]~351" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[6]~357" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[6]~362" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[7]~368" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[7]~373" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[8]~379" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[9]~385" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[10]~391" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[10]~393" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[11]~399" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[12]~403" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[13]~409" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[14]~412" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[3]~422" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[0]~124bal" of type max_mcell

Error: Can't place node "lpm_counter:control_2_rtl_0|dffs[0]~125bal" of type max_mcell

Error: Can't find fit

Error: Quartus II Fitter was unsuccessful. 50 errors, 5 warnings

Error: Peak virtual memory: 149 megabytes

Error: Processing ended: Mon Nov 15 21:38:29 2010

Error: Elapsed time: 00:00:05

Error: Total CPU time (on all processors): 00:00:04

Error: Quartus II Full Compilation was unsuccessful. 52 errors, 14 warnings

--- Quote End ---

My programm consists to a variable control_2 (std_logic_vector (15 downto 0)) which count up to a constant value . When this value is egal, control_2 is initialized to 0 and count up a new time, etc...

The constant can be 4 values defined by the position of a commutator (hardware).

Here I don't understand all these errors, and more even if my constant et control_2 is always 16 bits, sometimes i don't have these errors sometimes i have. It depends the value of the constant.

An exemple :

--- Quote Start ---

divide_2 <= "11101010011000000" when choix_frequence = "0001" -- 8Hz

else "011000011010100" when choix_frequence = "0010" -- 80Hz

else "000010011100010" when choix_frequence = "0100" -- 800Hz

else "000000001111101" when choix_frequence = "1000" -- 8000Hz

else "000000000000001";

--- Quote End ---

Here divide_2 is the constant. The values of divide_2 generate or not the compilation errors.

Why if for 8000Hz my value is "000000001101101" I have these errors?

And why for this case if my value is "000000001111101" I don't have errors...? The compilation is ok and my outpout is ok.

Please Help me...:confused:

15 Replies

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

    --- Quote Start ---

    But what i don't undertsand is : why with some values we have some problems and with others I have no problem?

    With 16 bits (0 to 65 535) i can have some compilation problems with the value 35500 but not with 40000 (for an example) or 35501 or 20000... I search the reason of this problem. We have some problems with a type of number? I can't have '1' with the 10th bit etc...

    Thank you for your help ;)

    --- Quote End ---

    Hi,

    is it possible for you to post your source code or could you attach your Quartus project ?

    Kind regards

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

    But what i don't undertsand is : why with some values we have some problems and with others I have no problem?

    With 16 bits (0 to 65 535) i can have some compilation problems with the value 35500 but not with 40000 (for an example) or 35501 or 20000... I search the reason of this problem. We have some problems with a type of number? I can't have '1' with the 10th bit etc...

    Thank you for your help ;)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    Your design is too big to your device. You reach the limits.

    it is not a logic problem (in that case :-) ) , the Qaurtus fitter said that it can not fit (place) your design.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Sorry for my confusing post.

    What I mean, all variables were created with the same bit number. I tested with 15, 16 and 17 bits, I have the same problem.

    For a gived value, I was a compilation problem. For another value (same bit number) i have a compilation problem.

    pletz (http://www.alteraforum.com/forum/member.php?u=1380) => sorry I mixed two test programms for my example.

    To resume : for the 80Hz value the compilation is ok for "111" but not ok for "101". (It's an example, the true problem appears with a 16 bit signal std_logic_vector).
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Hi !!

    When i compile my programm, I have these errors :

    My programm consists to a variable control_2 (std_logic_vector (15 downto 0)) which count up to a constant value . When this value is egal, control_2 is initialized to 0 and count up a new time, etc...

    The constant can be 4 values defined by the position of a commutator (hardware).

    Here I don't understand all these errors, and more even if my constant et control_2 is always 16 bits, sometimes i don't have these errors sometimes i have. It depends the value of the constant.

    An exemple :

    Here divide_2 is the constant. The values of divide_2 generate or not the compilation errors.

    Why if for 8000Hz my value is "000000001101101" I have these errors?

    And why for this case if my value is "000000001111101" I don't have errors...? The compilation is ok and my outpout is ok.

    Please Help me...:confused:

    --- Quote End ---

    Hi,

    your post is also a little bit confusing. You posted that your compilation isn't successful, but later on you wrote that the compilation and your output is ok ?

    BTW: What is the width of your signal, 16 bit ? You compare values are 17 bit or 15 bit ???

    11101010011000000 17 bit

    011000011010100 15 bit

    000010011100010

    000000001111101

    000000000000001

    Kind regards

    GPK