Tips on using Quartus ModelSim 1. Actions recommended before running simulation for the first time: (a) if not already done, install the Ubuntu package lib32ncurses5 (b) to simulate VHDL code, in Quartus, under Assignments / Settings: in category EDA Tool Settings / Simulation: set Format(s) to VHDL (if different, then button sequence Apply, OK) (c) in Quartus, under Tools / Options: in category EDA Tool Options: copy & paste ModelSim-Altera location to ModelSim location Action (a): thanks to Doron Behar and Qiu from http://stackoverflow.com/questions/31908525/modelsim-altera-error/31947317 In my installattion, action (c) is to be performed every time Quartus is launched. 2. Problem with functional simulation after waveform (.vwf) editing or renaming It may happen that after editing or renaming a waveform, or just after restoring an archived project that has .vwf files among its assignments, functional simulation fails because a properly named .vwf file is missing in the project qsim directory (which may be found in the modelsim directory instead), or similar kind of troubles. To prevent such inconveniencies it's good practice to run each functional simulation after the following sequence of actions in the ModelSim waveform editor: - open the subject .vwf file, if not open already; - open Simulation > Simulation Settings, and there press the bottom buttons Restore Defaults and then Save; - if the .vwf file turns out to be modified, then answer positively the subsequent request whether changes should be saved; - run Simulation > Generate ModelSim Testbench and Script -- Author: Giuseppe Scollo, University of Catania, DMI Version: 3 Date: 30 September 2018