Forum Discussion
Altera_Forum
Honored Contributor
10 years agoThank you for your reply :)
I changed line 14 and it looks like: --- Quote Start --- vlog -work ./altera_mf_ver D:/Program Files (x86)/Altera/13.1/quartus/eda/sim_lib/altera_mf.v --- Quote End --- I also changed line 17L --- Quote Start --- vlog -work ./work D:/MainFiles/Projekty Altera/Project/TestBench.v --- Quote End --- and i deleted line 3: cd {C:\project\sim} i solved this problem, you could leave this section and go to edit: The result is empty "work" and "altera_mf_ver" folders and Two errors: --- Quote Start --- # Modifying modelsim.ini# Adding library # ** Warning: (vlib-34) Library already exists at "altera_mf_ver".# # Modifying modelsim.ini# Compiling library # Model Technology ModelSim ALTERA vlog 10.1d Compiler 2012.11 Nov 2 2012 # ** error: (vlog-7) failed to open design unit file "d:/program" in read mode.# # No such file or directory. (errno = ENOENT) # ** error: d:/program files (x86)/altera/13.1/modelsim_ase/win32aloem/vlog failed. # error in macro d:\mainfiles\projekty altera\project\simulation\modelsim\go.tcl line 14# D:/Program Files (x86)/Altera/13.1/modelsim_ase/win32aloem/vlog failed.# while executing# "vlog -work ./altera_mf_ver D:/Program Files (x86)/Altera/13.1/quartus/eda/sim_lib/altera_mf.v" --- Quote End --- It looks a little bit, like it could not open folder with 'space' in name. edit:I wrote paths in qutation marks and there is no more errors. Now i have to only come up with how to put all my files to work folder or how to set my default work folder as this one in macro :). Of course i could set every file like in line 17, but that make a lot of problems when project is quite big and have for eample 20 files. When I start modelsim, default work folder is set to: --- Quote Start --- D:/MainFiles/Projekty Altera/Project/simulation/modelsim/rtl_work --- Quote End ---