Using Altera Signal tap

24
Using Altera Signal tap Embedded Logic Analyzer Rafe Husain Thinkom

Transcript of Using Altera Signal tap

Page 1: Using Altera Signal tap

Using Altera Signal tapEmbedded Logic

AnalyzerRafe Husain

Thinkom

Page 2: Using Altera Signal tap

IntroductionThis PPT will walk you through process of using Altera Signal Tap embedded logic analyzer1. Open/restore archived Quartus project2. Add signal tap analyzer3. Set up clocking4. Set up signals to be monitored5. Set up trigger6. Update and build7. Run, Rinse and Repeat

Page 3: Using Altera Signal tap

1. Open/restore archived Quartus project• Goto Project/Restore Archive project

Page 4: Using Altera Signal tap

1. Open/restore archived Quartus project• Select src/destination• This will unzip the sample project and create a new project

Page 5: Using Altera Signal tap

2. Add signal tap analyzer• Goto Tools/Signal Tap II Logic analyzer

Page 6: Using Altera Signal tap

3. Set up clocking• The Analyzer needs a high speed clock• Search the netlist and select a high speed clock, 100mhz+• Click on clock module … (triple dot)

Page 7: Using Altera Signal tap

3. Set up clocking• Search for clock• Select filter as design entry• Set * as Named• Click on list

Page 8: Using Altera Signal tap

3. Set up clocking• The list will show top level signals• The clock we want is in master_timing so click on master_timing• Select clock_400 and click it over to right side• Click ok

Page 9: Using Altera Signal tap

3. Set up clocking• Back in main analyzer menu clk400 should be set

Page 10: Using Altera Signal tap

4. Set up signals to be monitored• Click on setup in main analyzer menu

Page 11: Using Altera Signal tap

4. Set up signals to be monitored• Double click on add nodes

Page 12: Using Altera Signal tap

4. Set up signals to be monitored• Set filter to Design entry• Set Named to *• Click on list button

Page 13: Using Altera Signal tap

4. Set up signals to be monitored• Select Signals to be monitored by highlighting• Then click single arrow in center to move the signals left 4. Set up signals to be monitored

Page 14: Using Altera Signal tap

4. Set up signals to be monitored• Select all the signal on the left and then click on insert

Page 15: Using Altera Signal tap

5. Set up trigger• Right click on trigger signal (EMIF_CS for example)• On drop down menu select 0 Low condition

Page 16: Using Altera Signal tap

5. Set up trigger• Trigger setup shows Basic AND with EMIF_CS as 0

Page 17: Using Altera Signal tap

6. Update and build• Once, clock signals and trig are finished• Use File save to save fpga setup• Then need final build to update Logic analyzer gates inside FPGA.• Click on start button to recompile. May take some time.

Page 18: Using Altera Signal tap

7. Run, Rinse and Repeat• Make sure the Jtag Chain config says Jtag ready• Hardware is correct• And device matches• If any issues go thru setup and re-scan

Page 19: Using Altera Signal tap

7. Run, Rinse and Repeat• Program FPGA with new fpga code (click on Program button)

Page 20: Using Altera Signal tap

7. Run, Rinse and Repeat• Highlight instance and click on run analysis • Or click on auto run (round arrow) to run continuously

Page 21: Using Altera Signal tap

7. Run, Rinse and Repeat• Run sequence to cause trigger • In this case an EMIF_CS=0 read Transaction

Page 22: Using Altera Signal tap

7. Run, Rinse and Repeat• Repeat adding different sequences• If need to modify trigger for example EMIF_WS go to setup and set EMIF_WS=0 (step 5)• If need more pins go to setup and add pins (step 4)• May need to recompile

Page 23: Using Altera Signal tap

7. Run, Rinse and Repeat• Results of Modified trigger• EMIF_WE=0