Search code examples
vhdlmodelsim

How to delete libraries in ModelSim/QuestaSim?


I’ve done many projects on this software and I want to delete a big ammount of libraries that are useless and now are giving me errors to simulate my new projects I think the best option is to delete old files(libraries).


Solution

  • You can either:

    • delete the matching directories on disk and edit the modelsim.ini file(s) by hand, or
    • use vdel.exe.

    Usage of vdel:

    PS> .\vdel.exe -h
    Usage: vdel -help
           vdel [-lib <path>] [-modelsimini <ini_filepath>] [-verbose] { -all | <primary> [<secondary>] | -allsystemc |  [-dpiobj [<platform>|<compiler>| <platform_compiler> |all] ]  [-obj [<platform>|<compiler>|<platform_compiler>|all] ]}