eproduct Designer A Simple Design and Simulation Tutorial

Similar documents
UNIVERSITY OF CALIFORNIA, DAVIS Department of Electrical and Computer Engineering. EEC180A DIGITAL SYSTEMS I Winter 2015

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science. EECS 150 Spring 2000

UNIVERSITI MALAYSIA PERLIS

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science

How to Get Started. Figure 3

LAB 2: INTRODUCTION TO LOGIC GATE AND ITS BEHAVIOUR

Introduction to Computer Engineering (E114)

EE261 Computer Project 1: Using Mentor Graphics for Digital Simulation

FPGA Introductory Tutorial: Part 1

The Fundamentals. Document Basics

Altera Quartus II Tutorial ECE 552

and 32 bit for 32 bit. If you don t pay attention to this, there will be unexpected behavior in the ISE software and thing may not work properly!

University of Florida EEL 3701 Dr. Eric M. Schwartz Madison Emas, TA Department of Electrical & Computer Engineering Revision 1 5-Jun-17

ELEC451 Integrated Circuit Engineering Using Cadence's Virtuoso Layout Editing Tool

Boise State University Digital Systems Laboratory

EE 1315 DIGITAL LOGIC LAB EE Dept, UMD

SMART Recorder. Record. Pause. Stop

Lesson 12: Preparing for Post Processing

Exercise 1. Section 2. Working in Capture

Start Active-HDL. Create a new workspace TUTORIAL #1 CREATING AND SIMULATING SIMPLE SCHEMATICS

University of Florida EEL 3701 Dr. Eric M. Schwartz Department of Electrical & Computer Engineering Revision 0 12-Jun-16

Using the ispxpga Floorplanner

SCHEMATIC DESIGN IN QUARTUS

TUTORIAL SESSION Technical Group Hoda Najafi & Sunita Bhide

ECSE-323 Digital System Design. Lab #1 Using the Altera Quartus II Software Fall 2008

PSpice Tutorial. Physics 160 Spring 2006

Creating a PCB Design with OrCAD PCB Editor

Design a three-input, two-output sequential digital circuit which functions as a digital locking mechanism. LOCK ALARM

EDITING AN EXISTING REPORT

Contents. Appendix B HDL Entry Tutorial 2 Page 1 of 14

Chapter 3 Using Styles and Templates

2 nd Year Laboratory. Experiment: FPGA Design with Verilog. Department of Electrical & Electronic Engineering. Imperial College London.

EE121 Foundation Review Session Page 1 of 16 Winter Learning to Love Xilinx Foundation 4.1i in 40 Easy Steps

Using Microsoft Word. Tables

Quick Tutorial for Quartus II & ModelSim Altera

Revision: February 27, E Main Suite D Pullman, WA (509) Voice and Fax

Using Flash Animation Basics

EMT1250 LABORATORY EXPERIMENT. EXPERIMENT # 6: Quartus II Tutorial and Practice. Name: Date:

Tips and Tricks for Photos

CPLD Experiment 4. XOR and XNOR Gates with Applications

Changing Button Images in Microsoft Office

To practice combinational logic on Logisim and Xilinx ISE tools. ...

Chapter 3 Using Styles and Templates

Introduction to MS Word XP 2002: An Overview

What will I learn today?

Print Station. Point-and-Click Printing WHITE PAPER

PowerPoint 2016 Building a Presentation

2008 년안산일대디지털정보통신학과 CAD 강의용자료 PADS 2007

Lesson 17: Building a Hierarchical Design

Chapter 3 Using Styles and Templates

Section 1 Microsoft Excel Overview

Windows XP. A Quick Tour of Windows XP Features

Miami s Quick Start Guide for Using. Snap 9 Professional. to Create a Paper Keyed Survey. Miami s Survey Solutions

Getting Started Guide. Chapter 3 Using Styles and Templates

Tutorial for Verilog Synthesis Lab (Part 2)

College of Pharmacy Windows 10

Chapter11 practice file folder. For more information, see Download the practice files in this book s Introduction.

Computer Basics: Step-by-Step Guide (Session 2)

PRELAB! Read the entire lab, and complete the prelab questions (Q1-Q3) on the answer sheet before coming to the laboratory.

InDesign Part II. Create a Library by selecting File, New, Library. Save the library with a unique file name.

Lesson 19: Processing a Hierarchical Design

Chapter 3 Using Styles and Templates

CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup

Easy Windows Working with Disks, Folders, - and Files

DataPro Quick Start Guide

Quick Crash Scene Tutorial

Barchard Introduction to SPSS Marks

Lesson 9: Processing a Schematic Design

XnView Image Viewer. a ZOOMERS guide

XnView 1.9. a ZOOMERS guide. Introduction...2 Browser Mode... 5 Image View Mode...15 Printing Image Editing...28 Configuration...

TUTORIAL #2 HIERARCHICAL DESIGNS AND TEST FIXTURES

EE 330 Laboratory 3 Layout, DRC, and LVS

Tutorial on Quartus II Introduction Using Verilog Code

Windows Me Navigating

Using Microsoft Word. Text Editing

Libraries. Multi-Touch. Aero Peek. Sema Foundation 10 Classes 2 nd Exam Review ICT Department 5/22/ Lesson - 15

Discovering Computers & Microsoft Office Office 2010 and Windows 7: Essential Concepts and Skills

This is the opening view of blender.

Project. The project file contains the following information:

Contents. Batch & Import Guide. Batch Overview 2. Import 157. Batch and Import: The Big Picture 2 Batch Configuration 11 Batch Entry 131

DW DIGs Model Windows Tricks

NOTE: This tutorial contains many large illustrations. Page breaks have been added to keep images on the same page as the step that they represent.

Microsoft PowerPoint 2013 Beginning

Engineering 1630 Fall Simulating XC9572XL s on the ENGN1630 CPLD-II Board

In this lab, you will build and execute a simple message flow. A message flow is like a program but is developed using a visual paradigm.

Quick Start Guide - Contents. Opening Word Locating Big Lottery Fund Templates The Word 2013 Screen... 3

Assistant Professor Computer Science. Introduction to Human-Computer Interaction

Introduction to Electronics Workbench

EE 330 Laboratory 3 Layout, DRC, and LVS Fall 2015

Copyright 2018 MakeUseOf. All Rights Reserved.

Enterprise Application Systems

Moving to Altium Designer from PADS Layout and OrCAD capture. Contents

PADS-PowerPCB 4 Tutorial (with Blazeroute)

CS755 CAD TOOL TUTORIAL

EE 210 Lab Assignment #2: Intro to PSPICE

Handout Objectives: a. b. c. d. 3. a. b. c. d. e a. b. 6. a. b. c. d. Overview:

Al Mustansiriyah University / College of Medicine. Computer Science for First Year

The board is powered by the USB connection, so to turn it on or off you plug it in or unplug it, respectively.

Creating electrical designs

10-MINUTE TUTORIAL DIGITAL LOGIC CIRCUIT MODELING AND SIMULATION WITH MULTISIM

Transcription:

eproduct Designer A Simple Design and Simulation Tutorial Written by Bahram Dahi Fall 2003 Updated Spring 2007

Dashboard Project management tool 1. In the main window, click on the File menu and select New Project. 2. In the Create Project dialog box, set a directory for your class project. Click OK. Use the name ITCS3183 (or the current class you are taking) in the root directory of your H drive. If you save the project folder on the C drive, it will be erased after you log out. As well, do not use punctuation, special characters or whitespaces in any naming for this program. You will only need one project file. It will contain all of your schematics that you are going to create in the semester. 3. In the main window, select the project you have just created ( ITCS3183 in our example ). Right click Set as the Active Project. Now the project should turn green and (active) should appear to the right of the name. 4. Expand the project by clicking on the small + sign on the left side of the project title. You can see several default directories in the project. Right click on the Libraries and select Add Library.

5. In the Properties dialog box, use the following path to get the installed libraries on the system: C:\ProgramFiles\MentorGraphics\Library. Use the Browse button ( ) to browse through the directories to find the libraries needed for the project. The two libraries used most are built-in ( /builtin ) and Motorola 74f ( /74f ). Note: Both libraries are needed. The builtin library is used when creating circuitry in an ideal world with no delays. This can be used to make sure the logic of combinational circuits is correct. Motorola 74f add delays to the gates. This is used to simulate more realistic scenarios (allowing one to check for timing issues) and is typically what is used in a final product. As well, if one is using sequential logic one must use only Motorola 74f since the design of such logic rely on delays in the design. Important: Double-click on the folders to go inside a library folder and then click on Select. If you do not see the yellow R sign after selecting the library, or the R sign is crossed out, do it again. 6. Your project is ready now. In the Folders view, expand Toolboxes and choose Board-level (PCB) Design. 7. Double-click on DxDesigner to go to the schematic design environment.

DxDesigner Schematic design tool Here is a step-by-step method to build a custom XOR component: 8. In the main window, go to File New 9. Select Schematic and choose a name for it. In our example the name of the project is c-xor21. Click OK. A blank schematic will come up. Tips: There will be two toolbars that appear on the schematic. The toolbar on the left are mostly commands from the Add menu and the toolbar on the right corresponds to the View menu. There are also shortcuts for each of the commands that we are going to talk about. You can use either of the methods. 10. Select the Component button from the left toolbar (or Add Component or press the lowercase i ). 11. In the Add Component dialog box, choose the library you are going to use. In our example we use the builtin library. 12. You will get the names of the components in the middle section.

Note: The number at the end of the names means the number of inputs. For example and2.1 means the component is an AND component with 2 inputs..1 is simply the extension for the file. Do not use this convention in your own custom components as it uses a. in the name. Tips: You might have noticed that our component is called c-xor21. The prefix c shows that it s a custom built component, 2 means that this component has 2 inputs and 1 indicates it had 1 output. If you would like, follow the same naming convention for your custom components. It may make them easier to find them in the future. Do not however use the convention sometimes seen in the library components that involved using a. in the name. Never use punctuation, special characters or whitespaces in the names of anything involving this program. 13. Choose and2.1 and drag it into your schematic page (hold the left mouse button while selecting the component, move the component to the schematic and release the button). 14. Also, drag one or2.1 and one not.1 using the procedure above. Now you have at least one copy of all the components you will need to make an XOR. 15. Make a copy of your and2.1 and not.1 components by dragging them to a blank space of the schematic while holding the Ctrl key. Now you have two not.1, two and2.1 and one or2.1. Arrange them in the following order:

16. Now is the time to add the input and output components of the schematic. Our c-xor21 component has two inputs A and B and one output Q. Follow the steps above to add two in.1 and one out.1 components to the schematic. 17. Now label your inputs and outputs by double-clicking on each input and output component. In our c-xor21 component, we name them A, B and Q. 18. After you labeled your input and output components, you need to connect the components you have just dragged to your schematic using nets. Point the mouse pointer to pin A of the top AND component and press n. Move the mouse pointer to the Q pin of the top NOT component and click. You can see a red line drawn connecting the two pins. 19. Connect the rest of the pins using the map below.

Tips: Try to put the components at a reasonable distance from each other. Two pins that are very close together are hard to distinguish and connect separately. They also have a tendency to get connected automatically. On the other hand, components that are too far apart make the schematic look bad. 20. The schematic is now ready. Use File Save + Check in the menus to save your schematic and check for any errors. If there are any errors, a window will pop up to notify you. 21. Next, create a symbol for the custom component. On the left panel, right-click on the c-xor21 and select Open Symbol 22. Make a symbol using lines, arcs, rectangles and texts. Be creative! 23. To add pins to your component, click on the pin icon on the design toolbar. Pins are your components inputs and outputs. The number of input and output pins in your symbol should be the same as the number of input and output components in your schematic, respectively. 24. As a standard, we try to put all the inputs on the left side of the symbol and all the outputs on the right side. Add two inputs and one output for the symbol. Label them by double-clicking on each pin. Make sure your labels match with the schematic labels (A, B, and Q in our example)

25. Save the symbol. You will see a page showing the information about the symbol you have just made. Simply close it. Note: Schematics, Symbols and the information pages like above are all of type window. Don t get confused when you see your schematic is gone and a white page is there instead! You can easily close unnecessary windows, or switch between all the open windows using the Window menu. 26. Now create the digital netlist files for the schematic. Go to Tools Create Digital Netlist (common) and click on the Create Netlist button. It automatically calls another program in eproduct Designer to create one set of files necessary for the simulation. 27. Look to see if your schematic has any errors or warnings. You are done with the design part! VWaves Simulation Tool You can find this program in the Digital Simulation toolbox in the Dashboard. However, for simple projects you don t need to call the program separately. Here is a simpler way to call VWaves and simulate your schematic: 28. When your schematic is open in the DxDesigner program, go to Tools Create Digital Netlist (common). This time, notice that there is a check box called Simulate After Netlisting. It calls several programs after the Netlisting program to check and make binary files. In the end, it calls VWaves to simulate your schematic based on a Command File that you provide in the textbox below the checkbox. 29. We need to create a Command File before we can continue with the simulation. A command file is like a batch file that tells the simulator what the value of each input pin is at each clock cycle. To begin, open Notepad to a blank text file. 30. Write the following lines in the new text file: restart wave c-xor21.wfm A B Q pattern A 0 0 1 1 pattern B 0 1 0 1 run

The first line simply tells the simulator to start the simulation from the beginning. The second line identifies the compiled schematic and all the inputs and outputs that you want to see in your simulation. The third and forth lines in our example are the patterns for the inputs. They tell the simulator to use A = 0, B = 0 in the first cycle, A = 0, B = 1 for the second cycle and so on. Finally, the last line tells the simulator to run the command file. An alternative command could be cycle, which repeats the simulation and is more useful for systems with feedbacks. Note: For small schematics, all the possible combinations for inputs are usually tested (like in the example above), however in larger schematics it is impractical to test all the combinations. Instead, we find a reasonable number of combinations that can accurately test our schematic (usually about 16 combinations is sufficient for up to 10 input pins). 31. Save the file as c-xor21.cmd in your project folder. 32. Go back to Tools Create Digital Netlist (common). Check the Simulate After Netlisting checkbox and click on Browse to find the c-xor21.cmd command file that you just created. 33. Click on Create Netlist and wait for the simulation results (multiple windows will open, the last being the simulation results). 34. Your schematic for our example should look like this: The main window shows the cycle period as well as the value of each input and output pin during the simulation. As you can see, in the first cycle A and B are both zero (the simulation line is low) and so is Q the output for our XOR. However in the second cycle, A = 0 and B = 1 (the line is raised) and Q = 1. If the schematic is correct, with the given inputs, this simulation should contain the same results as the XOR truth table.

35. You can now close the simulation program and the other four windows that opened with it during the simulation process. Note: Closing the windows after simulation too quickly may cause the application to freeze up. As well, simulating with circuits open in DxDesigner can cause freezing. In case of freezing, do not restart the computer. This will cause the application to not be able to unlock files that are in use and may destroy your project folder (and all your work in the class). If this happened go to a TA in the lab for help. Note: If files do become locked while using the application. First try restarting the program. If this doesn t work, turn off the program and in the project folder look at properties of the file related to the locked circuits. The file can be unlocked from the properties window for the file (found be right clicking on the file and selecting properties). Manipulating files manually without the use of the MentorGraphics is not recommended. Any manipulation to the internal files of the project without the use of the program is done at your own risk.

Other Useful Information How to print your schematic: Use Zoom/Pan to zoom your schematic to full window size. This is to make sure that you get the largest print possible on one page. Add your name to the schematic by going to Add Text, and click on the schematic where you want the text placed. Go to File Print Setup and select Landscape. Click OK. Go to File Print and select window instead of page. Choose the desired printer. Use Preview to verify what you are printing. Click on Print. How to print your simulation/command file: Simply use File Print to print the simulation. The command file can be easily printed using the Text Editor print option. Try to be environmentally friendly and keep the number of printed pages to the minimum! Using the custom components in other schematics: It is possible to use the custom symbols with their respective components in other projects just as we used the built-in components before. Simply use Add Component and choose your component from the project folder rather than a builtin component. Make sure you make a symbol for every custom component you create. If changes are made to any components used in a schematic, after the internal component is saved, you will notice a pink border around all the symbols in the schematic that are affected by this change. In order to update your schematic to use the newest version of the component, right-click on the component(s) with the pink border in your schematic, choose Component Update (selected) Apply All Symbol Updates.

restart wave c-xor21.wfm A B Q pattern A 0 0 1 1 pattern B 0 1 0 1 run Expected Results: Q 0 1 1 0

Component Inputs Outputs Name of component builtin 74f input pin --- --- in.1 use builtin output pin --- --- out.1 use builtin and 2 1 and2.1 08.1 and 3 1 and3.1 11.1 and 4 1 and4.1 21.1 nand 2 1 nand2.1 37.1 nand 3 1 nand3.1 10.1 nand 4 1 nand4.1 20.1 nor 2 1 nor2.1 02.1 nor 3 1 nor3.1 --- nor 4 1 nor4.1 --- not 1 1 not.1 04.1 or 2 1 or2.1 32.1 or 3 1 or3.1 --- or 4 1 or4.1 ---