Logic Analyzer Tutorial: Using Agilent 16902B Logic Analysis System | ECE 128, Lab Reports of Electrical and Electronics Engineering

Material Type: Lab; Professor: Farmer; Class: Laboratory; Subject: Electrical & Computer Engring; University: George Washington University; Term: Spring 2009;

Typology: Lab Reports

Pre 2010

Uploaded on 08/18/2009

koofers-user-arb-1
koofers-user-arb-1 🇺🇸

10 documents

1 / 16

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ECE 128 – Logic Analyzer Tutorial: Using the Agilent 16902B Logic Analysis System
Created at GWU by Thomas Farmer
Objectives:
Learn to operate Agilent 16902B Logic Analyzer
Attach simple CMOS chip to Logic Analyzer
Use Logic Analyzer's Pattern Generator to provide stimulus to CMOS chip
Use Logic Analyzer to record results of stimulus from CMOS chip
Download CMOS Chip data from Logic Analyzer to USB device
Assumptions:
Student has been given a demonstration of the Agilent Logic Analyzer prior to working with the system
Note: ALL STUDENTS MUST BE TRAINED BY THE GTA PRIOR TO WORKING ON THIS TUTORIAL
Student has access to the Agilent 16902B Logic Analyzer
Student has checked out the Agilent 16902B Logic Analyzer Cable-set from the Tompkins equipment
room
Introduction:
The ASIC design flow is as follows:
Specification
RTL Coding and Simulation
Logic Synthesis
Optimization
Gate Level Simulation
Static Timing Analysis
Place and Route
Static Timing Analysis
Preliminary Netlist Handoff
Throughout ECE 128 you have worked through the entire ASIC design flow process. After you have placed &
routed a design, performed a timing analysis (tested after place & route with all layout parasitics), you would
send a design out to a foundry to have it fabricated (that is the known as the Netlist Handoff). Once the chip
returns, the next step is to test the chip and see if it operates as you have designed.
In ECE 126 you designed, laid out, and simulated a full-custom ASIC circuit. That circuit has been fabricated by
the foundry aggregation service: MOSIS. It will be returned to GW shortly and you will begin testing and
verifying that it is working as you designed. Since your design was entirely digital, you will use a testing device
known as a Logic Analyzer to test your MOSIS chip.
This lab provides instruction on how to use an Agilent 16902B Logic Analyzer system with a built in pattern
generator. In this lab a simple CMOS 2-input AND gate will be used as an example test circuit. You will be given
two sample CMOS circuits to test and write a small report on as part of this laboratory. This will provide you with
enough experience to test your own ECE 126 chip once it returns from the MOSIS service using the Agilent
Logic Analyzer.
In this lab, we are just after
this step in the ASIC Flow
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Logic Analyzer Tutorial: Using Agilent 16902B Logic Analysis System | ECE 128 and more Lab Reports Electrical and Electronics Engineering in PDF only on Docsity!

ECE 128 – Logic Analyzer Tutorial: Using the Agilent 16902B Logic Analysis System Created at GWU by Thomas Farmer

Objectives:

  • Learn to operate Agilent 16902B Logic Analyzer
  • Attach simple CMOS chip to Logic Analyzer
  • Use Logic Analyzer's Pattern Generator to provide stimulus to CMOS chip
  • Use Logic Analyzer to record results of stimulus from CMOS chip
  • Download CMOS Chip data from Logic Analyzer to USB device

Assumptions :

  • Student has been given a demonstration of the Agilent Logic Analyzer prior to working with the system
  • Note: ALL STUDENTS MUST BE TRAINED BY THE GTA PRIOR TO WORKING ON THIS TUTORIAL
  • Student has access to the Agilent 16902B Logic Analyzer
  • Student has checked out the Agilent 16902B Logic Analyzer Cable-set from the Tompkins equipment room

Introduction:

The ASIC design flow is as follows:

Specification▼

RTL Coding and Simulation▼

Logic Synthesis▼

Optimization▼

Gate Level Simulation▼

Static Timing Analysis▼

Place and Route▼

Static Timing Analysis ▼

Preliminary Netlist Handoff

Throughout ECE 128 you have worked through the entire ASIC design flow process. After you have placed & routed a design, performed a timing analysis (tested after place & route with all layout parasitics), you would send a design out to a foundry to have it fabricated (that is the known as the Netlist Handoff ). Once the chip returns, the next step is to test the chip and see if it operates as you have designed.

In ECE 126 you designed, laid out, and simulated a full-custom ASIC circuit. That circuit has been fabricated by the foundry aggregation service: MOSIS. It will be returned to GW shortly and you will begin testing and verifying that it is working as you designed. Since your design was entirely digital, you will use a testing device known as a Logic Analyzer to test your MOSIS chip.

This lab provides instruction on how to use an Agilent 16902B Logic Analyzer system with a built in pattern generator. In this lab a simple CMOS 2-input AND gate will be used as an example test circuit. You will be given two sample CMOS circuits to test and write a small report on as part of this laboratory. This will provide you with enough experience to test your own ECE 126 chip once it returns from the MOSIS service using the Agilent Logic Analyzer.

In this lab, we are just after this step in the ASIC Flow

Part I: Setup Logic Analyzer Hardware

Hardware Overview:

The Agilent 16902B Logic Analyzer at GWU consists of two internal components:

  • 16720A – Pattern Generator Board
  • 16911A – Logic Analyzer Board

The Pattern Generator board allows the user to provide custom stimulus (test input) to his/her Device Under Test (DUT), e.g. - your ECE 126 Chip. The Logic Analyzer board allows the user to 'analyze' the output of the DUT due to the stimulus.

NOTE : You will need to go to the Tompkins Hall equipment room (TOMP 303) and check out the “Agilent logic analyzer 16902B” cable set. This will have various adapters that will adapt the output cables of the logic analyzer to connect to a CMOS chip. You will need to bring your GWU id, sign out the equipment and be responsible for its safety during your use. If anything is missing from the cable-set (you will see a manifest on the box) let the lab staff and GTA know immediately.

  1. Setting up the Pattern Generator Cables/PODS:

The Logic Analyzer has two sets of cables. The first set are “output” cables (numbered 1-6), that belong to the internal pattern generator. The picture in figure 1.1 below shows the output cables that belong to the pattern generator. Notice that there are 7 output cables, the first are labeled 1-6. The seventh cable is labeled “ clk ”.

Fig 1.1 – Cables coming from Internal pattern generator (from inside logic analyzer chasis)

Fig 1.4 – Attaching POD-to-LEAD adapter to a POD, ensuring GND wires are properly attached

d) Now, attach the 10483A/10466A 3-State 3.3V DATA POD ( not CLOCK POD ) to the cable labeled : “1” from the internal pattern generator, as shown in figure 1.5 below.

Fig 1.5 – Attaching POD-to-LEAD adapter to a POD, ensuring GND wires are properly attached

e) Also, attach a POD-to-LEAD adapter to the DATA POD you just attached, ensure GND striped wires are facing upwards as in figure 1.4.

DATA POD 3.3 VOLT / OUTPUT CABLE

11 wire POD-to- LEAD Adapter

1

  1. Setting up the Logic Analyzer Cables/PODS:

We will now hook up the cables leading from the internal logic analyzer. Attached to the logic analyzer, you should see a group of four cables, labeled: Pod 1-4 (see figure 1.6).

Fig 1.6 – Cables coming from Internal logic analyzer (from inside logic analyzer chassis)

  1. In the Logic Analyzer Cable-Set that you checked out from the Tompkins equipment room, look for the cable in figure 1.7, it has 17-wires and is called a: flying leads adapter cable

Fig 1.7 – Logic Analyzer’s Flying Lead Adapter Cable

  1. Attach a flying lead cable to ‘POD #1’ from figure 1.6. These cables are interchangeable, so you may attach flying lead adapter ‘POD 3 Data + L clock’ to POD 1 on the logic analyzer cable.
    • Note, just be sure to attach an adapter cable to POD #
  2. The logic analyzer is now completely setup, we need to attach it to a DUT, proceed to the next section

b) Using the “POD-to-LEAD” adapter, attach output wire #1 from the Pattern Adapter’s10483A/10466A DATA POD to PIN #2 on the AND gate DUT, as illustrated in figure 2.

c) Attach the ‘striped’ wire from the POD-to-LEAD adapter from the 10483A/10466A Data POD to the GND pin of your DUT, as illustrated in figure 2.2. Note, all components (the DUT, and all cables) must share a common-ground point. This is true for any testing you do with the logic analyzer.

d) In this example, our DUT does not have a CLK pin. If your DUT has a CLK, you would attach the “POD-to-LEAD” adapter, output wire: CLK from the Pattern Adapter’s 10477A CLOCK POD, to your DUT.

  1. Attach Logic Analyzer to your DUT:

The pattern-generator provides stimulus to your DUT. We now need to attach the logic analyzer cables to your DUT to monitor the output of the pattern generator & the DUT’s response to the stimulus.

a) Attach wire #0 from the “Flying Lead Adapter Cable” attached to “POD #1” on the logic analyzer cable, to PIN #1 on the DUT, as illustrated in figure 2.3.

b) Attach wire #1 from the “Flying Lead Adapter Cable” attached to “POD #1” on the logic analyzer cable, to PIN #2 on the DUT, as illustrated in figure 2.3.

c) Attach wire #2 from the “Flying Lead Adapter Cable” attached to “POD #1” on the logic analyzer cable, to PIN #3 on the DUT, as illustrated in figure 2.3.

d) Attach wire: Gnd from the “Flying Lead Adapter Cable” attached to “POD #1” on the logic analyzer cable, to PIN #7 on the DUT, as illustrated in figure 2.3. (or just wire to power supply’s ground)

By attaching the analyzer to pins 1 & 2, we will be able to see what the pattern generator is producing. The analyzer attached to pin #3 will allow us to see what the DUT is producing.

Fig 2.3 – Logic Analyzer attached to DUT input and output pins

To Logic Analyzer

2 1 0

Gnd

POD # 1

Part III: Configure Logic Analyzer to Test CMOS device (DUT)

  1. If Logic Analyzer is off, turn the system on by pressing the button on the front panel
  2. Once Windows loads, it should automatically login and startup the logic analyzer software a) If it does not login automatically, login using: - username: ece - password: ece

b) If the logic analyzer software does not automatically startup, from the desktop, click on the icon:

  • Agilent Logic Analyzer - GW DEFAULT
  1. Once the logic analyzer software loads, you will see the following screen:
  2. The top 'module' box, labeled: “My 16720A” represents the internal pattern generator card
  • This will provide 'stimulus' or a 'test pattern' to your CHIP
  1. The bottom 'module' box, labeled: “My 16911A-1” represents the internal logic analyzer card
  • This will record output signals from your CHIP in response to the stimulus you create

CONFIGURING THE PATTERN GENERATOR MODULE:

  1. Click on the 'down arrow' icon of the pattern generator module:

a) From the menu, choose: Setup → Bus/Signals

b) The pattern generator buses/signals setup window will open

  1. Again, click on the 'down arrow' icon of the pattern generator module:

a) From the menu, choose: Setup → Sequence

b) This is where you will setup the test vector (or pattern) to stimulate your DUT

c) Under the 'My Bus 1' column, click on the title bar: 'Hex,' change it to be: BINARY d) You will now see that the 'My Bus 1' column has expanded an has two binary #'s as columns e) Right click on Line #4, click 'insert line after' to add another line (repeat to get 4 test rows) f) You can directly type the test patterns in the rows. Or, you can have the software auto-generate a test pattern for you. i. To auto-generate, right Click on the 'My Bus 1' column, click on: 'FILL' ii. Change 'type of fill' to 'count' iii. Change 'starting patterns' to 'binary' iv. Change 'starting line' to # v. Change 'vectors to generate' to 4 vi. Change 'edit mode' to 'overwrite' vii. Click FILL, then CLOSE

g) Your bus should now look like the following, with vectors filled in from 0 to 3 (in binary):

h) Click “OK” on the bottom of the “Sequence” window, all settings for the pattern generator are now complete.

CONFIGURING THE LOGIC ANALYZER MODULE:

  1. Back on the 'Modules Overview' screen, click on the down-arrows icon on the 'My 16911A-1' logic analyzer module:

a) From the menu, choose: Setup → Buses/Signals

b) On the screen, you'll see 4 PODS. Each one corresponds to the 4 POD wires connected to the logic analyzer board.

c) Each POD has 16 pins, that map to the 16 'flying leads' or wires attached to each POD d) In the Buses/Signals window, check only pins 0, 1, 2 (as show below)

RUNNING THE TEST:

  1. Back on the overview screen, click on the down-arrows icon on the 'My 16911A-1' and choose: New

Window → Waveform

a) Once you see the Waveform window open up, click on the 'run/repetitive' icon. It is the green play button icon at the top of the screen with a 'loop'.

b) The 'LOGIC analyzer 16911A-1' is now listening for output from your DUT

c) Minimize, but do NOT close the waveform window

  1. Launch the pattern generator by going back to the overview screen, click on the 'My 16720A-1', and click on the “Seq” icon

a) Click on the “Run Rep.” green button on the bottom of the sequence window

b) Make certain that your DUT has “VDD” and “GND” properly connected to it from an outside power supply, as discussed earlier in the tutorial

  1. Return to the logic analyzer's waveform window, you will see #'s flying across the screen. a) Click on the red stop button at the top of the screen to stop capturing data b) Expand the 'bus' by clicking on the “+” sign on the left hand side of the screen, you should see the 3 pins you selected when you setup the logic analyzer's input pins

c) Click on the “go to beginning of data” button at the top of the waveform window

d) Click on the “zoom out” button at the top of the waveform window

e) Click on the “zoom out” button at the top of the waveform window, keep clicking until data begins to become visible in the waveform window as follows:

f) The waveforms above show that the AND gate is working. The top two lines represent the output from the pattern generator, and the bottom waveform shows the output from the AND gate. Inputs 00, 10, and 01 produce 0, input 11 produces a 1 (see above graph).

g) On the top of the waveform window, there are markers. You can drag the markers around the data you wish to export in the next portion of the tutorial.

Part IV: Lab Assignment

  • Before testing your MOSIS CMOS chip, from your ECE 126 course, you must test 2 simple CMOS chips
  • If your GTA has not provided them to you, go to the Tompkins Equipment room on the 3rd^ floor. Ask for 2 stock 14-pin CMOS chips:
    1. With combinational logic only (a NAND gate, AND, NOR, etc)
    2. With sequential logic (D-Flip/Flop, counter, etc)
  • Look up and print out the SPEC sheet from the manufacturer’s website
  • Test the DUT using the information from the SPEC (ensure it can work at 3.3V) on the logic analyzer o The SPEC will tell you the PIN mapping o The SPEC will tell you how ‘fast’ the chip can operate, e.g. 10 MHz is typical o The SPEC will tell you about the setup & hold times of any sequential chip
  • Hand in a report on the 2 CMOS chips with the following:
    1. Excerpt from the SPEC sheet showing: type of chip, necessary stimulus
    2. Printout of the waveforms from the logic analyzer, showing the DUT is working as SPEC’ed
    3. Summarize the data from the waveforms in a simple table, so it can easily be verified by GTA
  • Note: if the GTA cannot read the printouts of these waveforms, the student loses all credit
  • This work is due at the beginning of lab, printed, and stapled. No lateness or excuses will be accepted for this work.
  • If you are stuck and do not understand how to do something after reading this tutorial, consult the Agilent 16902B Logic Analyzer Help files that are available on the Logic Analyzer itself before contacting your GTA.
  • This is not group work, each student must submit his/her own

original report.

Part V: References

  • The Agilent 16902B Logic Analysis System Help files were used extensively to create this tutorial