[转]DDR3基本概念5 - DDR仿真中出现的Memory overflow错误的处理

ERROR: Memory overflow. Write to Address 7000fe with data xxxxxxxxxxxxxxxx4634899aabe03499 will be lost        You must increase the MEM_BITS parameter of define MAX_MEM.
出现该问题的原因分析:
    ddr3_parameters.vh文件中的MEM_BITS用于对已写入的数据个数进行计数的memory_used寄存器(在所生成的DDR memory行为级模型ddr_p_eval/models/mem/ddr3.v中,对于Lattice的环境,该文件是美光提供的DDR3仿真模型)的位宽进行设置。默认值为10,则最多仅可写入2^10=1024个数据。
    在ddr3_parameters.vh文件中, 根据需要扩充MEM_BITS参数,比如修改至19。
————————————————

转自:https://blog.csdn.net/tbzj_2000/article/details/88251751

posted on 2020-05-12 13:24  竹韵悠扬  阅读(839)  评论(0编辑  收藏  举报

导航