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 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 renaming an edited waveform, or just after restoring an archived project which has .vwf files among its assignments, functional simulation fails because a prperly 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 let each functional simulation by first opening the subject .vwf in the ModelSim waveform editor, then 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 to the subsequent request whether changes should be saved. -- Author: Giuseppe Scollo, University of Catania, DMI Version: 1 Date: 15 October 2017