警告:(vsim-7) 无法打开自述文件“mem_content_01.dat";在阅读模式 [英] Warning: (vsim-7) Failed to open readmem file "mem_content_01.dat" in read mode

查看:168
本文介绍了警告:(vsim-7) 无法打开自述文件“mem_content_01.dat";在阅读模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 ModelSim 中运行测试模拟,但在标题中出现错误.我已经仔细检查过,该文件与我的项目位于同一位置,并且名称匹配得很好.有谁知道问题可能是什么?如果您需要查看代码的某些部分或类似内容,请告诉我.

I am trying to run a test simulation in ModelSim and am getting the error in the title. I have double checked and the file is in the same location as my project and the names match just fine. Does anyone have any idea what the problem could be? Please let me know if there is some part of the code that you need to see or anything like that.

推荐答案

明白了!好吧,ModelSim 很奇怪.我必须将 .dat 文件放在上面工作的目录中,以便它可以工作.显然它不应该和我的 verilog 代码在同一个地方.

Ah got it! Okay so ModelSim is weird. I had to place the .dat file in the directory above work so that it would work. Apparently it shouldn't be in the same place as my verilog code.

这篇关于警告:(vsim-7) 无法打开自述文件“mem_content_01.dat";在阅读模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆