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 ago --- Quote Start --- Please, can anyone help me? --- Quote End --- The VHDL code is trying to use a component compiled into the rtl_work library. You can either compile your code into rtl_work via; vsim> vlib rtl_work vsim> vmap rtl_work [pwd]/rtl_work vsim> vcom -work rtl_work <your VHDL files> or you can simply map the rtl_work library to the same location as the work directory, eg., assuming you have created your work directory in the same folder you are working in via vsim> vlib work vsim> vmap work [pwd]/work then you can tell Modelsim to look in the work directory for the rtl_work components too by mapping it via vsim> vmap rtl_work [pwd]/work (You don't need the [pwd] statement if you don't want to use absolute paths in your .ini or .mpf file). Cheers, Dave