LECTURE IV MODELSIM. Go to the link listed below for a demonstration of how to begin working with Modelsim. The video shows you how to write a Verilog.

Slides:



Advertisements
Similar presentations
MICS Data Processing Workshop
Advertisements

Window Movie Maker Presented by Mr. Bran.
JustinMind: Dynamic Panels
Whats New in Office 2010?. Major Changes in Office 2010 The Office Ribbon, which first made its appearance in Office 2007, now appears in all Office 2010.
Mouse Tutorial for Win XP In this tutorial you will learn to: Move the mouse Click and double click Make selections Manage windows Use menus Click the.
This form was created as a post-assessment to this session.
Assessment Storyboard. Using this presentation Used to indicate a note on the UI flow A question that is yet to be clarified.This requires inputs from.
Refresher Instruction Guide Strategic Planning and Assessment Module
X-Media V2.0 Healthcare Training Jayex Technology Limited X-Media V2.0 March 2010 v
Chapter 3: Editing and Debugging SAS Programs. Some useful tips of using Program Editor Add line number: In the Command Box, type num, enter. Save SAS.
ECE 272 Xilinx Tutorial. Workshop Goals Learn how to use Xilinx to: Draw a schematic Create a symbol Generate a testbench Simulate your circuit.
CUSTOM TOOLBAR MANAGER--- REVISITED Brenda Wesner from Janis Rodriguez 2004 RUG May 9, 2015.
ECE – 329 Fall 2007 Lab Manual for Xilinx Example: Design and simulation of a Half Adder Instructor: Dr.Botros.
Window Movie Maker PRESENTED BY MARTIN SEBERA What is Windows Movie Maker?  Windows Movie Maker is a fun and easy to use video editing program that.
How to Use The Borland C++ Compiler Version 5
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
Compliance Assist Refresher Instruction Guide Adding or Editing Unit/College Strategic Goals.
Welcome to the Southeastern Louisiana University’s Online Employment Site Applicant Tutorial!
SAG Infotech Private Limited Soft solutions for those can not afford to make errors. How to Update New changes in Our Softwares?
Google Training By: Amy Shannon and Dave Auwerda.
Github & Arduino How To: Post On Github How To: Download from Github How To: Upload Code Downloaded from Github to Arduino Tommy Sanchez EE400D Spring.
Advanced SAGE Formative Adding Your Own Resources Using Common Assessments Creating Educator Groups.
How to make an interactive PowerPoint in which you will….. Add hyperlinks to move to different parts of the presentationAdd hyperlinks to move to different.
MPA Online Entering Solos, Ensembles, and Bands. The first step is to log into MPA Online at: You will need.
Moodle (Course Management Systems). Assignments 1 Assignments are a refreshingly simple method for collecting student work. They are a simple and flexible.
When you start Photo Story the title screen gives you three options. The following slides will illustrate the directions when “Begin a new story” has been.
Mentor Tools tutorial Bold Browser Design Manager Design Architect Library Components Quicksim Creating and Compiling the VHDL Model.
MagicInfo Pro Scheduler Now that a template has been created from content imported into the Library, the user is ready to begin scheduling content to.
Let’s show, “How the People in Our Community use Weather Forecasts” by creating a Concept Map ! Step-by-step instructions for creating a concept map using.
6 th Annual Focus Users’ Conference 6 th Annual Focus Users’ Conference Discipline Referrals Presented by: Christine Lee Presented by: Christine Lee.
Teacher’s Assessment Assistant Worksheet Builder Starting the Program
Creating a backup file Downloading a backup file Uploading a backup file Resetting or restoring your course from a backup file.
USING WORDPRESS TO CREATE A WEBSITE (RATHER THAN A BLOG) STEP-BY-STEP INSTRUCTIONS.
Google Calendar Review 1. Go to 2. Your calendar should look something like this. 3 Click the arrow to continuehttp://
11/25/2015Slide 1 Scripts are short programs that repeat sequences of SPSS commands. SPSS includes a computer language called Sax Basic for the creation.
CS320n –Visual Programming More LabVIEW Foundations.
LECTURE III INTRODUCTION TO HDL/VERILOG. HDL: Hardware Description Languages (Verilog for this class) are a way in which digital circuits can be described.
Adding a wave file to a slide Adding a wave file to a slide (1 of 7) 1. Click on Insert. 2. Click Movies and Sounds. 3. Click Sound from file
Using Digital Dashboards. Viewing the Sample Dashboard To view the sample dashboard: 1.In the upper-left corner of the Welcome page, click Administration.
The Basics of Microsoft Word Getting Started and Formatting your paper.
You will need Dev C++ to help you with this project. If you do not already have this programming tool on your device you can visit
HTML Concepts and Techniques Fifth Edition Chapter 3 Creating Web Pages with Links, Images, and Formatted Text.
Creating and Editing a Web Page
Create new project or open existing project (here, we will create a new project)
CREATING A NEW LESSON. First, click the Teacher Lesson Planner link to the left of the page.
Set Word Option to Reopen a Document in Draft View 1. Click here. 3. Check this box 2. Click here. A document saved in Draft view will not reopen in Draft.
LECTURE V TEST BENCHES. As your projects become more complex and multiple modules are employed, it will no longer be possible to simulate them as we did.
1 VHDL & Verilog Simulator. Modelsim. 2 Change the directory to where your files exist (All of the files must be in a same folder). Modelsim.
If you don’t have Google Earth downloaded already, you can go to to get it.
Copyright © 2007 by Pearson Education 1 UNIT 6A COMBINATIONAL CIRCUIT DESIGN WITH VHDL by Gregory L. Moss Click hyperlink below to select: Tutorial for.
In cataloging module in the 01 Library, go to Services menu; choose “Retrieve Catalog Records” by highlighting it; then choose “Retrieve Catalog Records.
Texas Skyward User Group Conference Helpful Hints Jennifer Speulda.
Chapter 8 Using Document Collaboration, Integration, and Charting Tools Microsoft Word 2013.
Excel Tutorial 8 Developing an Excel Application
INTRO to PIXLR.com.
Introduction to Programming
5.6 Adding more modules to a page
Introduction to Programming
TeammateTime Manager Training
Download and Installation of code::blocks
How to PostPower Point Presentations
UCSD ECE 111 Prof. Farinaz Koushanfar Fall 2017
Learning the Basics of Microsoft Word 2010 for Microsoft Windows
Running a Java Program using Blue Jay.
How To Photoshop Intro.
Navigating Excel.
Chapter 8 Using Document Collaboration and Integration Tools
SAG Infotech Private Limited
Building a healthy nation is what we do. Sidra Supplier Bid Submission.
Presentation transcript:

LECTURE IV MODELSIM

Go to the link listed below for a demonstration of how to begin working with Modelsim. The video shows you how to write a Verilog project which creates an Inverter logic gate, compiles the program and then simulates it. Note that there are a variety of ways to accomplish the same thing in Verilog. For example, his module statement could have been placed on a single line. Either way works. You will find that this is the often the case in Verilog.

Try running the sample project that was written in Lecture 3: module Simple_Circuit (A,B,C,D,E); outputD,E; inputA,B,C; wirew1; andG1 (w1,A,B); // Optional gate instance name notG2 (E,C); orG3 (D,w1,E); endmodule

1) Begin by opening Modelsim 2) Click "Jumpstart" in the opening box 3) Click on "Create a Project" 4) Give the project a name and click "OK" 5) Click "Create New File" 6) Give the file a name (I usually use the same one used for the project name. VERY IMPORTANT: Under "Add file as type" click the arrow and select "Verilog" and now click "OK”.

7) Now click on the "Close" button in the "Add items to the Project" box 8) You should now see a.v file in the upper left corner 9) Right click in this file and then click "Edit" 10) You should now see the text editor box to the right. Either rewrite the project mentioned above or cut and paste it into this area. 11) IMPORTANT: You must now save your project before proceeding! Click on the floppy disc icon to do so. (Don't know what a floppy disc is? Ask your parents.)

12) AFTER saving the file, you are now ready compile the project. 13) Right click on the file and hover over "Compile". Click on Compile Selected" 14) If you have written your project correctly, a check mark will appear after the file name and a message stating that the compile was successful will appear in the Transcript box. If these two things don't happen, a compiler error has occurred. To get a hint as to what is wrong, right click on the file name, hover over "Compile" and click on "Compile Report". A message will appear giving you some indication as to what caused the project to fail to compile. Note: sometimes these messages are quite clear and point directly to the problem and then there are other times when they seem to make no sense. Good luck. (A good idea is to very carefully examine your syntax)

15) Once you have successfully compiled your project you are now ready to simulate it. 16) Right click on the project name in the Library and click on Simulate. 17) Now click on Wave (lower center of screen). Notice the changes on the screen. You should see a blank area called "Wave Default" and to the right of that, something that looks like a logic analyzer with a time scale at the bottom. ( If you don't know what a logic analyzer is, try Google.) 18) Click and drag the inputs and outputs that you want to observe from the "Objects" box to the "Wave- Default" box.

19) Now you need to set the inputs to some initial value. Do this by right clicking on one of the inputs and then click on "Force". find the "Value" box and replace its contents with either a 1 or a 0. Repeat for the rest of the Inputs. 20) Once you have set all of the inputs to the desired values, you can now run the simulation. Do so by clicking on the "Run" box located at the top of the screen just right of the "Run Length" box which should read "100 ns". 21) Force the inputs to different values and click on the "Run" box again. You should observe a different waveform which corresponds to the values you forced the inputs to be.