Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Super Contributor
brilas
Posts: 102
Registered: ‎07-13-2010
0
Accepted Solution

DDR3 simulation using "MAX_MEM" mode fails

Hello,

Simulation can't start when "MAX_MEM" mode is enabled. Warning and error pops out:

Device_TB_top.\MEM_INST3.u_mem_c3 .file_io_open: at time 0 WARNING: no +model_data option specified, using /tmp.

WARNING: at 0 fs: file /tmp/Device_TB_top.\MEM_INST3.u_mem_c3 .0 could not be opened

 

 

 

Device_TB_top.\MEM_INST3.u_mem_c3 .open_bank_file: at time 0 ERROR: failed to open /tmp/Device_TB_top.\MEM_INST3.u_mem_c3 .0.

 

The OS is Windows and as robinliuy indicated "tmp_model_dir is defined to a incorrect path for Windows".

Which file has +model_data option? Or in which file I need to specify it? 

 

Ignas

Expert Contributor
rcingham
Posts: 2,010
Registered: ‎09-09-2010
0

Re: DDR3 simulation using "MAX_MEM" mode fails

Which FPGA?
Which version of ISE?
Which version of Windoze?

------------------------------------------
"If it don't work in simulation, it won't work on the board."
Super Contributor
brilas
Posts: 102
Registered: ‎07-13-2010
0

Re: DDR3 simulation using "MAX_MEM" mode fails

I'm sorry for forgeting such important things.

 

FPGA:Spartan 6, LX45T. (SP605 board)

ISE version: 13.2

OS:Win 7, 64bit.

 

 

 

Expert Contributor
robinliuy
Posts: 337
Registered: ‎05-21-2008
0

Re: DDR3 simulation using "MAX_MEM" mode fails

Find it in "ddr3_model_c*.v" in sim folder.
Xilinx Employee
dann
Posts: 48
Registered: ‎03-23-2010
0

Re: DDR3 simulation using "MAX_MEM" mode fails

you may need to adjust the size of the max mem perhaps?
Super Contributor
brilas
Posts: 102
Registered: ‎07-13-2010
0

Re: DDR3 simulation using "MAX_MEM" mode fails

[ Edited ]

"Find it in "ddr3_model_c*.v" in sim folder."
I know that the path for +model_data needs to be specified in this (ddr3_model_c*.v) file, but I actually couldn't find which file needs to have this option specified (consequently I couldn't specify a path for that file).
Could someone please indicate where +model_data option needs to be specified?

Gosh, it seems that at the first time I checked ddr3_model_parameters_c3.v file I happened to overlook the second MEM_BITS parameter which actually needs to be changed to use more available space of DDR3 instead of defining MAX_MEM. I can now use 2^15 bursts in my simulation :))

Thanks to you guys,
Ignas