ModelSim-Tutorial

ModelSim-Tutorial - Introduction to ModelSim (QuestaSim)...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
1 Introduction to ModelSim (QuestaSim) VHDL Simulator ________________________________________________________________________ Table of contents Page I. Basic Unix commands 1 II. Getting Started 1 III. ModelSim basics 1 A. Creating a new project 2 B. Creating and adding files into a project 2 C. Compiling a project 2 IV. Simulating with ModelSim 3 A. Creating test files for the simulator 3 B. Displaying the waveform and running the simulator 4 V. The Waveform 5 VI. The Listing Form 6 ________________________________________________________________________ I. Basic Unix Commands These are some basic commands that will be used in this manual. mkdir dirname Creates a directory ls –options dirname Lists the contents of a directory Options: l – long listing a – all files (including hidden) rm –options file/dir Remove directory or files Options: r – recursively remove directories f – force a yes answer to all prompts cd dirname Change into the directory For further information of Unix commands, in the shell type: man command_name . ________________________________________________________________________ II. Getting Started First, create a new directory for the VHDL project files: mkdir vhdl cd vhdl mkdir lab0 cd lab0 Now, begin the ModelSim simulator by typing:
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 (The ‘&’ tells Unix to run the process in the background leaving the terminal reusable) ________________________________________________________________________ III. ModelSim Basics A. Creating a New Project Once ModelSim has been started, create a new project: File > New > Project… Name the project fa (full adder) , click OK. A new window should appear to add new files
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/06/2010 for the course EECC 0306-351 taught by Professor Marcinlukowiak during the Winter '10 term at RIT.

Page1 / 6

ModelSim-Tutorial - Introduction to ModelSim (QuestaSim)...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online