Forum Discussion
Altera_Forum
Honored Contributor
14 years agoCould not find rtl_work.TB.vhd
Hello, The same process is giving issues once again: # ** Error: (vsim-3170) Could not find 'C:\Users\Alfonso\Desktop\PFC\simulation\modelsim\ rtl_work.TB_PFC_main'.# Error loading design...
Altera_Forum
Honored Contributor
14 years agoHi Alfonso,
--- Quote Start --- I typed: ... vcom -work rtl_work fixed_float_types_c.vhdl and it returned: # Model Technology ModelSim ALTERA vcom 10.0c Compiler 2011.09 Sep 21 2011# ** Error: (vcom-7) Failed to open design unit file "fixed_float_types_c.vhdl" in read mode.# No such file or directory. (errno = ENOENT)# E:/altera/11.1sp2/modelsim_ase/win32aloem/vcom failed. I moved from desktop to D: and tried again but failed with the same code, i try giving them write licence to all project files and folders, also with that failed. --- Quote End --- Try reading the output from Modelsim - it says that it cannot find the file. So where is fixed_float_types_c.vhdl located? If its not in the same directory as Modelsim is currently located, then you have to supply the full path to the file. For example, something like vsim> cd c:/temp vsim> vlib rtl_work vsim> vmap rtl_work rtl_work vsim> vcom -work rtl_work c:/vhdl/ieee_fixed_pkg/fixed_float_types_c.vhdl Cheers, Dave