Cadence Verilog Tutorial Windows Vista with Cygwin X Emulation



Similar documents
Mapping ITS s File Server Folder to Mosaic Windows to Publish a Website

Installing and Using No Machine to connect to the Redhawk Cluster. Mac version

PuTTY/Cygwin Tutorial. By Ben Meister Written for CS 23, Winter 2007

Remote Access to Unix Machines

Hallpass Instructions for Connecting to Mac with a Mac

Tutorial Guide to the IS Unix Service

There s a variety of software that can be used, but the approach described here uses freely available Cygwin software: (1) Cygwin/X (2) Cygwin/openssh

User guide. Business

Using Remote Web Workplace Version 1.01

KSC Remote Access Solution

SSH and Basic Commands

NAS 253 Introduction to Backup Plan

ECE232: Hardware Organization and Design. Part 3: Verilog Tutorial. Basic Verilog

Mentor Tools tutorial Bold Browser Design Manager Design Architect Library Components Quicksim Creating and Compiling the VHDL Model.

University of Toronto

CONNECTING TO DEPARTMENT OF COMPUTER SCIENCE SERVERS BOTH FROM ON AND OFF CAMPUS USING TUNNELING, PuTTY, AND VNC Client Utilities

UOG User Guide. Windows

This document was derived from simulation software created by Steve Robbins which was supported by NSF DUE

Windows and MAC User Handbook Remote and Secure Connection Version /19/2013. User Handbook

Introduction to the UNIX Operating System and Open Windows Desktop Environment

OpenVPN over SSH tunneling

Linux Overview. Local facilities. Linux commands. The vi (gvim) editor

Snow Active Directory Discovery

Using Virtual Machines

Lab assignment #2 IPSec and VPN Tunnels (Document version 1.1)

How to find the MAC address of your computer

How to Install Microsoft Windows Server 2008 R2 in VMware ESXi

Accessing SSL VPN with Mac OS X

How to Use Your Office 365 Account

integration tools setup guide SIM 3 Remote Guide to controlling a SIM 3 Audio Analyzer remotely over a network connection from a laptop

General Computing Network (GCN) Guide for Mac OS X

RETRIEVING NMR DATA JB Stothers NMR Facility Materials Science Addition 0216 Department of Chemistry Western University

As you look at an imac you will notice that there are no buttons on the front of the machine as shown in figure 1.

UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences

MiraCosta College now offers two ways to access your student virtual desktop.

Attendance Monitoring. Academics: Accessing your Register. v 0.6, September Masood Syed, Dev Team, ITMS. Masood Syed, Dev Team, ITMS

Uploads from client PC's to mercury are not enabled for security reasons.

ilaw Installation Procedure

Lab 1: Full Adder 0.0

SWCS 4.2 Client Configuration Users Guide Revision /26/2012 Solatech, Inc.

Remote Viewer Recording Backup

If you are planning to work from home or your laptop, there are several things you need to have access to:

MAC OS X 10.5 Mail Setup

Fax User Guide 07/31/2014 USER GUIDE

Remote Access Using The New York Eye & Ear Infirmary of Mount Sinai Secure Web VPN

Determining Your MAC Address in Windows XP

Local Caching Servers (LCS): User Manual

CycleServer Grid Engine Support Install Guide. version 1.25

Installing the Virtual Desktop Application (MAC)

Howto: Changing Password for an Ingate Firewall 1450/1500/1550/1600/1650/1900 or Ingate SIParator 45/50/55/60/65/90

Using ESXi with PowerChute Business Edition

VMWare Workstation 11 Installation MICROSOFT WINDOWS SERVER 2008 R2 STANDARD ENTERPRISE ED.

Introduction to Mac OS X

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

Magaya Software Installation Guide

Introductory Note 711 & 811. Remote Access to Computer Science Linux Files Using Secure Shell Protocols

Accessing RCS IBM Console in Windows Using Linux Virtual Machine

Mississippi Educator Licensure Management System. Single Sign On User Guide

Setting Up Power POS in Windows 95/98

Connecting to the Terminal Server

2. PMP New Computer Installation. & Networking Instructions

Apple Mail Setup Guide (POP3)

FrontDesk Installation And Configuration

Zoho CRM and Google Apps Synchronization

WinSCP PuTTY as an alternative to F-Secure July 11, 2006

Adding A Student Course Survey Link For Fully Online Courses Into A Canvas Course

How to use Google Cloud Print

ACTIVE DIRECTORY DEPLOYMENT

Browser Client 2.0 Admin Guide

Connecting to the King s College VPN with Windows 7

a) Network connection problems (check these for existing installations)

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

LSGMI REMOTE DESKTOP SERVICES.

Lesson 1 - Creating a Project

Database Program Instructions

Citrix ICA UNIX Client Quick Reference Card

Accessing vlabs using the VMware Horizon View Client for OSX

How To Install The Snow Active Directory Discovery Service On Windows (Windows) (Windows 7) (Powerbook) (For Windows) (Amd64) (Apple) (Macintosh) (Netbook) And (Windows

JAVS Scheduled Publishing. Installation/Configuration... 4 Manual Operation... 6 Automating Scheduled Publishing... 7 Windows XP... 7 Windows 7...

Fundamentals of UNIX Lab Networking Commands (Estimated time: 45 min.)

Working with your NTU off campus

FTP: Transferring Files to and from Home and UCS

Mac OS X. A Brief Introduction for New Radiance Users. Andrew McNeil & Giulio Antonutto

VCL Access. VCL provides access to Linux and Windows 7 Virtual Machines. Users will only see those images that they are authorized to access.

Introduction to Operating Systems

IBM Tivoli Network Manager 3.8

ProjectWise Explorer V8i User Manual for Subconsultants & Team Members

We make it quick and simple for you to electronically review and sign your documents in one simple and convenient process.

Setting Up VNC, SSH Tunnels, and RDP

Installing HSPICE on UNIX, Linux or Windows Platforms

OFFICE 365 SELF- CONFIGURATION GUIDE

Upgrading Redwood Engine Software. Version 2.0.x to 3.1.0

RSA SecurID Token User Guide February 12, 2015

Send Video Recordings from the DVR to a FTP Server on your PC

Source Code Management for Continuous Integration and Deployment. Version 1.0 DO NOT DISTRIBUTE

From a Finder window choose Applications (shown circled in red) and then double click the Tether icon (shown circled in green).

Transcription:

Cadence Verilog Tutorial Windows Vista with Cygwin X Emulation This tutorial will serve as an introduction to the use of the Cadence Verilog simulation environment and as a design tool. The Cadence design tool suite is installed on the Linux servers on our network. We will use be using the GUI interface which will allow us to view waveforms in a timing diagram. This also requires the use of X windows, meaning that you should run the program from a Linux workstation or X-terminal, or alternatively, from a PC with an X-terminal emulator installed such as Exceed or Cygwin. The first part of this experiment will involve entering and simulating the example circuit discussed in class. This will allow you to become familiar with the Cadence Verilog environment. It will be assumed that you are working on a PC running the Windows Vista OS that has the Cygwin X-terminal emulator installed and is connected to the engr.smu.edu network. First, you will need to run a batch file on the engr.smu.edu server that configures Cygwin for your machine. To do this, map a network drive to your PC called: \\cifs\cygwin Right click on the Computer icon and select Map Network Drive. When you do this, the following window will open:

After entering \\cifs\cygwin in the Folder portion of the window, click on the Finish button at the bottom. This will cause the following window to open: From this window, click on the cygwin-nodesktop batch file to run it. This will open a cmd window and you should see the following:

Next, MINIMIZE the cmd do not exit the cmd window. At his point, you are ready to connect to a linux compute server using the PuTTY application. From the list of installed programs on your Windows Vista main menu (All Program), select the PuTTY application and run it. This should open a window that looks like this: Before connecting to a linux machine, you must configure the SSH to accept X windows data. To do this expand the SSH option on the left side of the PuTTY menu by clicking on the + option. This should open the following:

Now click on the X11 option on the menu on the left. This should change the PuTTY window and you should click on Enable X11 Forwarding :

Next, click on the Session option on the left side of the PuTTY window and enter the hostname of a linux server:

In this example, I entered the hostname genuse1.engr.smu.edu ; however there are many other servers you may use. A complete list can be found on the webpage: http://lyle.smu.edu/co/unix.html Click on the Open button on the bottom of the PuTTY window and a new command window will open prompting you for your login and password for the linux server you selected:

After logging in from this window, you need to start an X-terminal session, by entering the command: xterm &

When you type this command, the X-terminal window will open as shown below. You are now emulating an X session on windows and can now run the Cadence application. At this point, create a working subdirectory and cd into it. The next step is to create the verilog source file that you intend to simulate. You will use any text editor you desire to create this in your UNIX account (such as vi, emacs, pico, nedit, etc.). Create a file called example.v (Verilog source files traditionally have an extension type of.v) containing the following lines of code: // Stimulus for simple circuit module stimcrct; reg A, B, C; wire x, y; circuit_with_delay cwd (A, B, C, x, y); initial begin $stop; A=1 b0; B=1 b0; C=1 b0; #100 A=1 b1; B=1 b1; C=1 b1; #100 $stop; end endmodule // Description of circuit with delay module circuit_with_delay (A,B,C,x,y);

input A,B,C; output x,y; wire e; and #(30) g1(e,a,b); not #(10) g2(y,c); or #(20) g3(x,e,y); endmodule There are some important differences in this file as compared to the one we studied in the class. Instead of $finish we are using $stop. $finish instructs the simulation tool to exit as soon as the simulation is complete. Because we are interested in looking at waveforms, we want the simulation to stop after 200 time units have elapsed but we do not want the tool to close. We are now ready to simulate the Verilog file. From the xterm command line, enter the following command: verilog +gui example.v & The following two windows will open and the verilog file will be simulated (if no errors are found). If errors are found, you should note the message and exit the simulator and fix your source file.

From the SimVision Console Window, you may choose the Open Source File option under the File menu to view your Verilog code and modify it if you wish.

There are several things to note on Design Browser window. An important button is the one in the upper right-hand corner labeled Help. Clicking on this button will open the Cadence help utility and display a list of topics on the use of the Verilog tools. Notice that the SimVision Console window indicates that the simulation has stopped at time 0. This is because we used a $stop that was scheduled to occur at time 0 in the source file. This was inserted in the course file on purpose so that we can define the signals that we wish to display on the waveform viewer before the entire module is simulated. Next, we want to view the waveforms. To do this, we will use the SimVision Design Browser window and we will click on the + next to stimcrct in the left-hand portion of the window. This will cause cwd to be displayed underneath stimcrct. Click on the + next to cwd and you will see g1, g2, and g3 displayed. Finally click on cwd, this will cause all signals to be displayed in the right-hand side of the window as shown below:

Next, the waveform viewer must be opened. Click on the small icon at the top of the Design Browser Window with square waves on it. You should see a window that looks like the following:

Now, we can finish the simulation. To do so, click on the small triangular run button just above the red squares in the above figure. This will tell the simulator to resume and waveforms will be recorded on the waveform window. It should look like the following:

Notice that x and y are red lines during the first of the simulation. This is because they are set to the value x because the simulator cannot determine a logic level until the gate delays have been accounted for. Another interesting feature is the Schematic Tracer feature. To invoke this, click on the icon on the waveform viewer window that has the small gates (two icons to the right of the waveform icon). You should see a window that looks like: This window shows a schematic symbol representing the cwd instantiation. In order to view the internal content of the cwd instantiation, click on the second icon from the left at the top of the menu that looks like small interconnected blocks. You should see a window that looks like the following:

To exit the verilog tool, use the pulldown menu on any of these windows labeled File and choose Exit SimVision.