- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm trying to simulate the DDR3 along with Micron model in modelsim but no luck. I keep getting this error: # tb.sdramddr3_0.file_io_open: at time 0.0 ns warning: no +model_data option specified, using /tmp.# ** warning: (vsim-3533) [fofiw] - failed to open file "/tmp/tb.sdramddr3_0.open_bank_file.0" for writing.# no such file or directory. (errno = enoent) : e:/user/ddr_sim/ddr3.v(622) ANy help from someone who did it? Thx, Ron- Tags:
- modelsim
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ron,
Have you found a solution? Anyway, I created a "tmp" folder in the simulation directory and I did not get that error anymore. Zeahr- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
No, I did not. Nevertheless, I did something else, which was successful. I took Altera example design, extracted DDR3 component from it, and I used it as an external DDR model. Works great. That way I'm using all Altera files for the model. Ron- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On modelsim's vsim line, you must specify the <folder> that you are going to use for files which are going to store the data that you are writing to DDR3. Following is an example: vsim -novopt +model_data+ddr3_tmp -t ps -L work -L work_lib <rest of your libraties> <testbench_file>.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In this case, the <folder> name is ddr3_tmp. Micron's ddr3.v model reads the vsim command line +option and now has a folder so it won't complain.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page