Creating New Project / File
Created by
Madhava Vemuri, Ph.D.
Madhava Vemuri, Ph.D.
Open the ModelSim software. You should see the following window
To create a new project, go to the toolbar File > New > Project. A window opens up like the one below. Ensure you always create a new folder or directory other than the default location to ensure files are not corrupted with the previous files. For this example, a new directory with the name "project1" is created inside the parent directory "BEE528". A project with the title "project1" is created inside this directory.
A new window will pop up, and you should see the following options. The main ones are listed below, which are relevant to the current tutorial
Create a New File: This option lets you create a file of choice.
Add Existing File: This option references the existing files to the current project. It does not copy them. It is recommended to copy the existing files to the current project directory and then "Add Existing File" them to preserve version copy of the project
For this tutorial, we are creating a new VHDL file with the name "project_spec". The file will be listed on the project file list like below.
Now close the "Add items to the project" window and double-click on the newly created file "project_spec.vhd" in the workspace. It will open an empty file in the editor.