[go: up one dir, main page]

0% found this document useful (0 votes)
226 views14 pages

Course - Uvm Debug - Session3 Uvm Phases Debug - Tkiley

The document discusses debugging UVM phases. It provides an overview of common UVM phases like build, connect and run. It describes common issues with phases like missing connections and null handles. It explains how to debug phase issues using the built-in UVM phase debug feature and running phases individually in the debugger.

Uploaded by

priyajeejo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
226 views14 pages

Course - Uvm Debug - Session3 Uvm Phases Debug - Tkiley

The document discusses debugging UVM phases. It provides an overview of common UVM phases like build, connect and run. It describes common issues with phases like missing connections and null handles. It explains how to debug phase issues using the built-in UVM phase debug feature and running phases individually in the debugger.

Uploaded by

priyajeejo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

UVM Debug

UVM Phase Debug


Tom Kiley
Verification Technologist

info@verificationacademy.com | www.verificationacademy.com
© 2017 Mentor Graphics Corporation
UVM Phase Debug Overview
• Quick overview of UVM Phases

• Common issues with Phases

• How to debug Phase Issues

• UVM Phase Debug Demo

© 2017 Mentor Graphics Corporation


Most Commonly Used Phases
• build, connect, run, extract,
check, report, and final

• Run phase has twelve sub-


phases

• Focus will be on build, connect,


and run
© 2017 Mentor Graphics Corporation
UVM Phase Overview: Build Phase

Test
Env ScoreBoard

Agent
Monitor

DUT

Sequencer Driver

© 2017 Mentor Graphics Corporation


UVM Phase Overview: Connect Phase

Test
Env ScoreBoard

Agent
Monitor

Virtual Interface DUT

Sequencer Driver

© 2017 Mentor Graphics Corporation


UVM Phase Overview: Connect Phase

Test
Env ScoreBoard

Agent
Monitor

Virtual Interface DUT

Sequencer Driver

© 2017 Mentor Graphics Corporation


UVM Phase Overview: Run Phase

Test
Env ScoreBoard

Agent
Monitor

Virtual Interface DUT

Sequencer Driver

© 2017 Mentor Graphics Corporation


Common Issues with UVM Phases
• Missing connections

• Dereferenced null handles

• uvm_config_db get failure

• Forgetting to call super.<parent>

© 2017 Mentor Graphics Corporation


Zero Time Execution
• The build and connect
phases execute at time 0 Build
• The run phase is started at

Runs in 0 time
time 0
Connect
• We need a way to debug
during time 0
Run

© 2017 Mentor Graphics Corporation


How To Debug UVM Phase Issues
• Built in UVM Phase debug feature
• Run each phase individually
• Run to a the beginning of a UVM Phase

© 2017 Mentor Graphics Corporation


How To Debug UVM Phase Issues
• The UVM hierarchy is available for debug
• Use “UVM next phase (any)” to go to sub phases

© 2017 Mentor Graphics Corporation


Demo: UVM Phase Debug

© 2017 Mentor Graphics Corporation


UVM Phase Debug Summary
• UVM Phasing overview

• Common issues with UVM Phases

• How to debug these issues with Mentor’s


Visualizer™ Debug Environment

© 2017 Mentor Graphics Corporation


UVM Debug
UVM Phase Debug
Tom Kiley
Verification Technologist

info@verificationacademy.com | www.verificationacademy.com
© 2017 Mentor Graphics Corporation

You might also like