
MODELSIM VSIM MANUAL
Check out the ModelSim Reference Manual for a comprehensive list of all the options. The vcom command has lots and lots of optional arguments that allow you to control the compilation rules in detail. Let’s create the work library manually using vlib: vlib workĪnd delete it using the vdel command: vdel -all -lib work For example, the compiled code belonging to the work library usually resides in a subfolder named “work”. Unless you specify a different location, each design library will appear as a folder in your project folder. If you create a new VHDL project in the GUI, it will automatically create it for you. But the VHDL code you write must also go into a design library. You’ve probably used libraries like ieee or std in your VHDL code before. vlibĮverything starts with the vlib command, which creates a design library. The location may differ among installations, but in any case, it’s the subfolder that contains the vsim and vcom executables you want to add to the path.
MODELSIM VSIM UPDATE
Some ModelSim installers update the path automatically, while on other systems, you must set it manually. To run a command in batch mode, the program must be in the path of your shell. You can run the commands manually by typing them in the console from within the ModelSim, but you can also run them as standalone programs from a terminal without starting the GUI. The screenshot below shows the command echoed to the transcript window after we click the Compile button. For example, when you click the Compile button in the ModelSim GUI, it runs the vcom command back-end. I regard the graphical user interface (GUI) as a front-end for the commands listed in this article. I think that’s unnecessary because the basic workflow isn’t hard to learn. Many people struggle to understand the ModelSim/QuestaSim VHDL simulator’s workflow.
