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链接已复制
9 回复数
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..."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 !
--- 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
