handout7cadence

handout7cadence - EE577B CAD Tutorial 2001 Fall, Prof....

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

View Full Document Right Arrow Icon
2001 Fall, Prof. Beerel Created by Jay Moon (jsmoon@usc.edu) Page 1 of 4 EE577B CAD Handout #7 Cadence: Using Verilog-XL Integration (Part 1) History 9/14/2001: Created by Jay Moon Prerequisite None Purpose In this handout, you will get familiar with the Verilog-XL integration user interface for running a simulation. - Copy setup files from ee577 account to your working directory cp ~ee577/ee577bb/setup/.cdsinit . cp ~ee577/ee577bb/setup/.cdsplotinit . cp ~ee577/ee577bb/setup/cds.lib . cp ~ee577/ee577bb/setup/schBindKeys.il . cp ~ee577/ee577bb/setup/display.drf . - Create library “Adder8func” - Create cellview “adder1bit” with view name “functional” (Tool: Verilog-Editor) - Complete adder1bit verilog model as shown below. module adder1bit(Cout, S, A, B, Cin); output Cout, S; input A, B, Cin; reg [1:0] SUM; reg S; reg Cout; wire A, B, Cin; always @(A or B or Cin) begin SUM[1:0]=A+B+ Cin; S = SUM[0]; Cout = SUM[1]; end endmodule - Save the file and quit the editor. You see message in the CIW showing you that a syntax check is being done. A “Done” appears in the
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/19/2008 for the course EE 577B taught by Professor Bhatti during the Spring '08 term at USC.

Page1 / 4

handout7cadence - EE577B CAD Tutorial 2001 Fall, Prof....

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

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