Forum Discussion

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

altsyncram simulation problem, please help

I have made a RAM using Altera liberary

The declear is like this altsyncram#(.OPERATION_MODE("ROM"),.WIDTH_A(10),.WIDTHAD_A(5),.OUTDATA_ACLR_A("UNUSED"),.INIT_FILE("da_data.mif")) read_da_data (.q_a(buff_DA_data[9:0]),.address_a(count_out[4:0]),.clock0(clk));

and when I use ModelSim to simulate, such error comes out: Module parameter 'WIDTH_A' not found for override.

all the parameter I set have this error,

Module parameter 'OUTDATA_ACLR_A' not found for override.

Module parameter 'OPERATION_MODE' not found for override.

Module parameter 'INIT_FILE' not found for override.

Please Help me about it ,Thanks.

2 Replies

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

    Try writing parameter names in lowercase (operation_mode, width_a, etc.).

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

    Thanks ,the problem solved, indeed write in lowercase, the simulation can operate well.

    Thank you for your reply, it helps me a lot.