









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Lab; Professor: Farmer; Class: Laboratory; Subject: Electrical & Computer Engring; University: George Washington University; Term: Spring 2009;
Typology: Lab Reports
1 / 16
This page cannot be seen from the preview
Don't miss anything!










ECE 128 – Logic Analyzer Tutorial: Using the Agilent 16902B Logic Analysis System Created at GWU by Thomas Farmer
Objectives:
Assumptions :
Introduction:
The ASIC design flow is as follows:
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:
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.
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
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)
Fig 1.7 – Logic Analyzer’s Flying Lead Adapter Cable
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.
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
Part III: Configure Logic Analyzer to Test CMOS device (DUT)
b) If the logic analyzer software does not automatically startup, from the desktop, click on the icon:
CONFIGURING THE PATTERN GENERATOR MODULE:
b) The pattern generator buses/signals setup window will open
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.
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)
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
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
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
Part V: References