Forum Discussion

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

urgent please help

i am getting the following errors and i can't figure out it's meaning

Error: Out of memory in module quartus_map.exe (2141 megabytes used)

Error: Current module quartus_map ended unexpectedly

7 Replies

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

    You are running MS Windows and Quartus is actually running out of memory. Windows physically limits the amount of memory available to applications at 2GB by default. Even if you have more than 2GB of memory this is the case.

    If you have more physical memory in the system (like 4GB), there is a workaroud: It's called 3GB tuning. Here is the thread from microsoft:

    http://www.microsoft.com/whdc/system/platform/server/pae/paemem.mspx

    Your other options are to switch to a 64-bit OS or Linux.

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

    excuse me but i have got another problem, i am getting this error

    Error (10821): HDL error at .......: can't infer register for "rst_flag" because its behavior does not match any supported register model
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    this is because you havent followed the coding guidlines for a register

    What is the code thats causing problems?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    thank u so much Mr Tricky but i have managed to get rid of this error some how (i don't know how:D) but i need a little help in my project so i have some questions could i ask u?

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

    I have some questions I have a matlab code which i want to convert it to VHDL code.

    The idea in the matlab is using for loop where i compute some matrices by using some vectors I have already constructed.

    for example if I have syst_bit=[1 2 3 4 5 .......], parity1=[1 2 3 4 5......] and parity2=[1 2 3 4 5......] I will use for loop as follows

    for i=1:256

    gamma(i)=syst_bit(i)+parity1(i);-- this is simplification equation

    end;

    for i=1:256

    alpha(i)=syst_bit(i)*gamma(i);-- this is simplification equation

    end;

    for i=1:256

    beta(i)=syst_bit(i)*gamma(i);-- this is simplification equation

    end;

    This should be done for constant number of times on VHDL while receiving the new input to construct new frames (both are done at the same time)

    so my idea is creating the needed adders, multipliers, comparators ......

    and using for loop in VHDL and on each loop I should put the input on the input wires of this blocks for example

    for i in 0 to 255

    wire1<=syst_bit(i);

    wire2<=parity1(i);

    gamma(i)<=wire3;

    end loop;

    is this right or not?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    i am sorry but the link seems to be broken and not working correctly could you please resend it