Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16606 Discussions

ModelSim and filename length limit

Altera_Forum
Honored Contributor II
3,556 Views

Hi, 

 

I'm currently trying to simulate the Hard memory controller example, and the files in "vhdl/submodules" are very long. For some reason modelsim fails to read any of the files with filenames greater than 83 characters !?? I'm running Quartus/modelsim under Windows XP 64 bit, a work colleague has Windows 7 64 bit, and modelsim has no problems reading the same files ! 

 

Any help would be much appreciated 

 

Thanks 

 

Lee
0 Kudos
9 Replies
Altera_Forum
Honored Contributor II
1,688 Views

put your project into a subfolder directly over a HDD for example D:\ms

0 Kudos
Altera_Forum
Honored Contributor II
1,688 Views

 

--- Quote Start ---  

put your project into a subfolder directly over a HDD for example D:\ms\ 

--- Quote End ---  

 

 

Hi, just tried that, still the same. 

 

Lee
0 Kudos
Altera_Forum
Honored Contributor II
1,688 Views

Transcript is :- 

 

# -- Loading package STANDARD 

# -- Loading package TEXTIO 

# -- Loading package std_logic_1164 

# -- Compiling entity ddr_uniphy_hc_example_sim_e0_if0_id_router 

# -- Compiling architecture RTL of ddr_uniphy_hc_example_sim_e0_if0_id_router 

# Model Technology ModelSim ALTERA vcom 10.1d Compiler 2012.11 Nov 2 2012 

# -- Loading package STANDARD 

# -- Loading package TEXTIO 

# -- Loading package std_logic_1164 

# -- Compiling entity ddr_uniphy_hc_example_sim_e0_if0_addr_router 

# -- Compiling architecture RTL of ddr_uniphy_hc_example_sim_e0_if0_addr_router 

# Model Technology ModelSim ALTERA vcom 10.1d Compiler 2012.11 Nov 2 2012 

# ** Error: (vcom-7) Failed to open design unit file "./..//submodules/ddr_uniphy_hc_example_sim_e0_if0_c0_csr_translator_avalon_universal_slave_0_agent_rdata_fifo.vho" in read mode. 

#  

# No such file or directory. (errno = ENOENT) 

# ** Error: C:/altera/13.0/modelsim_ase/win32aloem/vcom failed. 

# Error in macro ./run.do line 11 

# C:/altera/13.0/modelsim_ase/win32aloem/vcom failed. 

# while executing 

# "vcom "$QSYS_SIMDIR/submodules/ddr_uniphy_hc_example_sim_e0_if0_c0_csr_translator_avalon_universal_slave_0_agent_rdata_fifo.vho" " 

# ("eval" body line 42) 

# invoked from within 

# "com" 

# invoked from within 

# "if {[file exists msim_setup.tcl]} { 

# source msim_setup.tcl 

# dev_com 

# com 

# # the "elab_debug" macro avoids optimizations which preserves signals so tha..."
0 Kudos
Altera_Forum
Honored Contributor II
1,688 Views

If I shorten "ddr_uniphy_hc_example_sim_e0_if0_c0_csr_translator _avalon_universal_slave_0_agent_rdata_fifo.vho" to "ddr_uniphy_hc_example_sim_e0_if0_c0_csr_translator _avalon_universal_slave_0_agent_r.vho" (83 characters) it finds it !

0 Kudos
Altera_Forum
Honored Contributor II
1,688 Views

Windows XP has a limit on the total pathname length of 250 chars, not on the filename length. The pathname includes the starting "C:\" and null and the end of the path.

0 Kudos
Altera_Forum
Honored Contributor II
1,688 Views

 

--- Quote Start ---  

Windows XP has a limit on the total pathname length of 250 chars, not on the filename length. The pathname includes the starting "C:\" and null and the end of the path. 

--- Quote End ---  

 

 

Thanks to both you (dave_59) and Taz1984, I forgot to rename the vho file back to its original name, after doing this all files are now found if I move the sim project to say c:\ms\ to minimise total pathname length :-) 

 

Many Thanks 

 

Lee
0 Kudos
Altera_Forum
Honored Contributor II
1,688 Views
0 Kudos
Altera_Forum
Honored Contributor II
1,688 Views

Thanks, made interesting reading, same problem I had, I also can't believe the filenames have to be so long either !

0 Kudos
Altera_Forum
Honored Contributor II
1,688 Views

Yep, not only did they leave their brains at home on the day that they created those long filenames but there was an astonishing lack of testing.

0 Kudos
Reply