11.07.2015 Views

ModelSim SE Tutorial

ModelSim SE Tutorial

ModelSim SE Tutorial

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

T-34 Lesson 3 - <strong>ModelSim</strong> projectsAdding objects to the projectOnce you click OK to accept the new project settings, you will see a blank Projecttab in the workspace area of the Main window and the Add items to the Projectdialog will appear (Figure 15). From this dialog you can create a new design file,add an existing file, add a folder for organization purposes, or create a simulationconfiguration (discussed below).1 Add two existing files.a Click Add Existing File.This opens the Add file to Project dialog (Figure 16). This dialog lets youbrowse to find files, specify the file type, specify which folder to add thefile to, and identify whether to leave the file in its current location or tocopy it to the project directory.b Click Browse.c Open the examples directory in your <strong>ModelSim</strong> installation tree.d Verilog: Select counter.v, hold the key down, and then selecttcounter.v.VHDL: Select counter.vhd, hold the key down, and then selecttcounter.vhd.e Click Open and then OK.f Click Close to dismiss the Add items to the Project dialog.Figure 15: Adding new items to a projectFigure 16: The Add file to Project dialog1a1b<strong>ModelSim</strong> <strong>SE</strong> <strong>Tutorial</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!