Verification Academy

Search form

My Account Menu

  • Register
  • Log In
  • Topics
  • Courses
  • Forums
  • Patterns Library
  • Cookbooks
  • Events
  • More
  • All Topics
    The Verification Academy offers users multiple entry points to find the information they need. One of these entry points is through Topic collections. These topics are industry standards that all design and verification engineers should recognize. While we continue to add new topics, users are encourage to further refine collection information to meet their specific interests.
    • Languages & Standards

      • Portable Test and Stimulus
      • Functional Safety
      • Design & Verification Languages
    • Methodologies

      • UVM - Universal Verification Methodology
      • UVM Framework
      • UVM Connect
      • FPGA Verification
      • Coverage
    • Techniques & Tools

      • Verification IP
      • Simulation-Based Techniques
      • Planning, Measurement, and Analysis
      • Formal-Based Techniques
      • Debug
      • Clock-Domain Crossing
      • Acceleration
  • All Courses
    The Verification Academy is organized into a collection of free online courses, focusing on various key aspects of advanced functional verification. Each course consists of multiple sessions—allowing the participant to pick and choose specific topics of interest, as well as revisit any specific topics for future reference. After completing a specific course, the participant should be armed with enough knowledge to then understand the necessary steps required for maturing their own organization’s skills and infrastructure on the specific topic of interest. The Verification Academy will provide you with a unique opportunity to develop an understanding of how to mature your organization’s processes so that you can then reap the benefits that advanced functional verification offers.
    • Universal Verification Methodology (UVM)

      • Advanced UVM
      • Basic UVM
      • Introduction to UVM
      • UVM Connect
      • UVM Debug
      • UVMF - One Bite at a Time
    • Featured Courses

      • Introduction to ISO 26262
      • Introduction to DO-254
      • Clock-Domain Crossing Verification
      • Portable Stimulus Basics
      • Power Aware CDC Verification
      • Power Aware Verification
      • SystemVerilog OOP for UVM Verification
    • Additional Courses

      • Assertion-Based Verification
      • An Introduction to Unit Testing with SVUnit
      • Evolving FPGA Verification Capabilities
      • Metrics in SoC Verification
      • SystemVerilog Testbench Acceleration
      • Testbench Co-Emulation: SystemC & TLM-2.0
      • Verification Planning and Management
      • VHDL-2008 Why It Matters
    • Formal-Based Techniques

      • Formal Assertion-Based Verification
      • Formal-Based Technology: Automatic Formal Solutions
      • Formal Coverage
      • Getting Started with Formal-Based Technology
      • Handling Inconclusive Assertions in Formal Verification
      • Sequential Logic Equivalence Checking
    • Analog/Mixed Signal

      • AMS Design Configuration Schemes
      • Improve AMS Verification Performance
      • Improve AMS Verification Quality
  • All Forum Topics
    The Verification Community is eager to answer your UVM, SystemVerilog and Coverage related questions. We encourage you to take an active role in the Forums by answering and commenting to any questions that you are able to.
    • UVM Forum

      • Active Questions
      • Solutions
      • Replies
      • No Replies
      • Search
      • UVM Forum
    • SystemVerilog Forum

      • Active Questions
      • Solutions
      • Replies
      • No Replies
      • Search
      • SystemVerilog Forum
    • Coverage Forum

      • Active Questions
      • Solutions
      • Replies
      • No Replies
      • Search
      • Coverage Forum
    • Additional Forums

      • Announcements
      • Downloads
      • OVM Forum
  • Patterns Library
    The Verification Academy Patterns Library contains a collection of solutions to many of today's verification problems. The patterns contained in the library span across the entire domain of verification (i.e., from specification to methodology to implementation—and across multiple verification engines such as formal, simulation, and emulation).
    • Implementation Patterns

      • Environment Patterns
      • Stimulus Patterns
      • Analysis Patterns
      • All Implementation Patterns
    • Specification Patterns

      • Occurrence Property Patterns
      • Order Property Patterns
      • All Specification Patterns
    • Pattern Resources

      • Start Here - Patterns Library Overview
      • Whitepaper - Taking Reuse to the Next Level
      • Verification Horizons - The Verification Academy Patterns Library
      • Contribute a Pattern to the Library
  • All Cookbooks
    Find all the methodology you need in this comprehensive and vast collection. The UVM and Coverage Cookbooks contain dozens of informative, executable articles covering all aspects of UVM and Coverage.
    • UVM Cookbook

      • UVM Basics
      • Testbench Architecture
      • DUT-Testbench Connections
      • Configuring a Test Environment
      • Analysis Components & Techniques
      • End Of Test Mechanisms
      • Sequences
      • The UVM Messaging System
      • Other Stimulus Techniques
      • Register Abstraction Layer
      • Testbench Acceleration through Co-Emulation
      • Debug of SV and UVM
      • UVM Connect - SV-SystemC interoperability
      • UVM Versions and Compatibility
      • UVM Cookbook
    • Coding Guidelines & Deployment

      • Code Examples
      • UVM Verification Component
      • Package/Organization
      • Questa/Compiling UVM
      • SystemVerilog Guidelines
      • SystemVerilog Performance Guidelines
      • UVM Guidelines
      • UVM Performance Guidelines
    • Coverage Cookbook

      • Introduction
      • What is Coverage?
      • Kinds of Coverage
      • Specification to Testplan
      • Testplan to Functional Coverage
      • Bus Protocol Coverage
      • Block Level Coverage
      • Datapath Coverage
      • SoC Coverage Example
      • Requirements Writing Guidelines
      • Coverage Cookbook
  • All Events
    No one argues that the challenges of verification are growing exponentially. What is needed to meet these challenges are tools, methodologies and processes that can help you transform your verification environment. These recorded seminars from Verification Academy trainers and users provide examples for adoption of new technologies and how to evolve your verification process.
    • Upcoming & Featured Events

      • Low Power Verification - 4/29
      • Fault Campaign for Mixed-Signal - 5/4
      • User2User - 5/26
      • Webinar Calendar
    • On-Demand Webinars

      • CDC+RDC Analysis
      • Basic Abstraction Techniques
      • Safety Analysis Techniques
      • QVIP Workflow and Debug for PCIe
      • Writing a Proxy-driven Testbench
      • Achieving High Defect Coverage
      • Visualizer Features
      • All On-Demand Webinars
    • Recording Archive

      • Siemens EDA 2021 Functional Verification Webinar Series
      • Improving Your SystemVerilog & UVM Skills
      • Should I Kill My Formal Run?
      • Visualizer Debug Environment
      • Industry Data & Surveys
      • All Recordings
    • Conferences

      • DVCon 2021
      • DVCon 2020
      • DAC 2019
      • All Conferences
    • Mentor Learning Center

      • SystemVerilog Fundamentals
      • SystemVerilog UVM
      • View all Learning Paths
  • About Verification Academy
    The Verification Academy will provide you with a unique opportunity to develop an understanding of how to mature your organization's processes so that you can then reap the benefits that advanced functional verification offers.
    • Blog & News

      • Verification Horizons Blog
      • Academy News
      • Academy Newsletter
      • Technical Resources
    • Verification Horizons Publication

      • Verification Horizons - March 2021
      • Verification Horizons - November 2020
      • Verification Horizons - July 2020
      • Issue Archive
    • About Us

      • Verification Academy Overview
      • Subject Matter Experts
      • Contact Us
    • Training

      • Questa Basic
      • Questa Advanced
      • Mastering Questa
Ask a Question
UVM
  • Home
  • Forums
  • UVM
  • what is a uvm_object named "common.run"

what is a uvm_object named "common.run"

UVM 5685
designer007
designer007
Full Access
34 posts
February 07, 2021 at 3:54 am

I get this err when I try to start seq in the main_phase of sequencer , not in the test
# UVM_ERROR @ 10: run [TEST_DONE_NOHIER] A non-hierarchical object, 'common.run' (unknown) was used in a call to uvm_test_done.drop_objection(). For this objection, a sequence or component is required.

Replies

Log In to Reply
dave_59
dave_59
Forum Moderator
8753 posts
February 07, 2021 at 7:57 am

In reply to designer007:
https://verificationacademy.com/forums/uvm/what-common.run-object-and-when-dose-it-try-drop-objection

— Dave Rich, Verification Architect, Siemens EDA

designer007
designer007
Full Access
34 posts
February 07, 2021 at 5:01 pm

I want to build a layer uvc, so I put the seq in sqr to receive item from upper layer driver,
this is just the first step

package my_pkg2;
	import uvm_pkg::*;
	`include "uvm_macros.svh"
 
class a_item extends uvm_sequence_item;
	rand bit [7:0] a_data;
	`uvm_object_utils_begin(a_item)
		`uvm_field_int(a_data,UVM_ALL_ON)
	`uvm_object_utils_end	
	function new(string name="a_item");
		super.new(name);
	endfunction
endclass
 
class a_seq extends uvm_sequence;
	`uvm_object_utils(a_seq)
	a_item a_item_h;
	function new(string name="a_seq");
		super.new(name);
	endfunction
 
	virtual task body();
		a_item a_item_h;
		uvm_sequence_item tmp;
		tmp =create_item(a_item::get_type(),m_sequencer,"req");
 
		$cast(a_item_h,tmp);
		 start_item(a_item_h);
		a_item_h.randomize();
		finish_item(a_item_h);
 
	endtask
endclass
 
 
////////////////////////sequencer
class a_sequencer extends uvm_sequencer;
	`uvm_component_utils(a_sequencer)
	function new(string name, uvm_component parent);
		super.new(name,parent);
	endfunction
	task run_phase(uvm_phase phase);
    a_seq a_seq_h;
	  //phase.raise_objection(phase);
	  a_seq_h=new();
	  a_seq_h.start(this);	
		//phase.drop_objection(phase);
	endtask
endclass
 
//////////////////////////driver
class a_driver extends uvm_driver;
	`uvm_component_utils(a_driver)
	uvm_sequence_item tr_q[$];
	function new(string name, uvm_component parent);
		super.new(name,parent);
	endfunction
 
	function void build_phase(uvm_phase phase); 
		super.build_phase(phase);
	endfunction
 
	task main_phase(uvm_phase phase);
		REQ tmp;
		a_item a_item_h;
//		forever begin
			$display("--a_driver_h run0----$$$$$");
			seq_item_port.get_next_item(tmp);
			$cast(a_item_h,tmp);
			`uvm_info(get_name(),$sformatf("%s",a_item_h.sprint()),UVM_LOW)
			$display("--a_driver_h run--2----$$$$$");
			seq_item_port.item_done();	
			$display("--a_driver_h run-----end----$$$$$");
//		end
	endtask
endclass
 
class a_env extends uvm_env;
	`uvm_component_utils(a_env)
	a_driver a_driver_h;
	a_sequencer a_sequencer_h;
	function new(string name,uvm_component parent);
		super.new(name,parent);
	endfunction
	function void build_phase(uvm_phase phase);
		super.build_phase(phase);
		a_driver_h=a_driver::type_id::create("a_driver_h",this);
		a_sequencer_h = a_sequencer::type_id::create("a_sequencer_h",this);
	endfunction
	function void connect_phase(uvm_phase phase);
	 	a_driver_h.seq_item_port.connect(a_sequencer_h.seq_item_export);
	endfunction
endclass
 
 
class a_test extends uvm_test;
	`uvm_component_utils(a_test)
  a_env a_env_h;
	function new(string name,uvm_component parent);
		super.new(name,parent);
	endfunction
 
	function void build_phase(uvm_phase phase);
		super.build_phase(phase);
		a_env_h=a_env::type_id::create("a_env_h",this);
		//uvm_config_db#(uvm_object_wrapper)::set(this,
		//                                  "a_env_h.a_sequencer_h.main_phase",
		//                                  "default_sequence",
		//                                	a_seq::type_id::get());
	endfunction
	//function void connect_phase(uvm_phase phase);
	//endfunction
 
	//task run_phase(uvm_phase phase);
	//	a_seq a_seq_h;
	//	phase.raise_objection(phase);
  //  uvm_top.print_topology();
  ////  factory.print();  //打印override type
	//	a_seq_h =new();
	//	a_seq_h.start(a_env_h.a_sequencer_h);
  ////  #10ns;
	//	phase.drop_objection(phase);
	//endtask
endclass
 
endpackage
 
 
module top_tb();
	import uvm_pkg::*;
	`include "uvm_macros.svh"
	import my_pkg2::*;
	initial begin
		run_test();
	end
endmodule
rag123
rag123
Full Access
148 posts
February 07, 2021 at 6:33 pm

In reply to designer007:

Changing the argument to raise and drop objections should work.

     a_seq a_seq_h;
      phase.raise_objection(this);
	  a_seq_h=new();
	  a_seq_h.start(this);	
      phase.drop_objection(this);
designer007
designer007
Full Access
34 posts
February 08, 2021 at 2:17 am

In reply to rag123:

I have tried this method , but still the same err;

chr_sue
chr_sue
Full Access
3327 posts
February 08, 2021 at 2:33 am

In reply to designer007:

You should fix your code first.
Please not:
(1) class a_seq extends uvm_sequence; is considered as a virtual sequence, because it is not paramerized with your seq_item.
(2) Your sequencer has to be paramereized also. class a_sequencer extends uvm_sequencer; is only correct for a virtual sequencer.
(3) Your driver is also not parameterized.

Please fix these issues and come back with the status.

designer007
designer007
Full Access
34 posts
February 08, 2021 at 2:56 am

In reply to chr_sue:

Hi chr_sue,
I know what you worried about,
the seq/seqr/driver all use uvm_sequence_item type ,
I used $cast to do the type convert, so the item seq ->sqr-> driver is uvm_sequence_item。
and questsim do not give error about the item type.

chr_sue
chr_sue
Full Access
3327 posts
February 08, 2021 at 8:23 am

In reply to designer007:

This is not a syntactical problem but it might be a functional problem.
Following the basic guidelines is always a benefit.
BTW running your code does not show your error message.
Please remove your work library, recompile and run your code again.

designer007
designer007
Full Access
34 posts
February 09, 2021 at 2:59 am

In reply to chr_sue:

I tried ;
here is my makefile & whole log info

TESTNAME ?=a_test
 
all: work tb sim
 
work:
	vlib work
 
tb:
	vlog -f filelist.f
 
sim:
	@vsim top_tb +UVM_TESTNAME=$(TESTNAME) +UVM_OBJECTION_TRACE -do "run -all;exit" -c -l $(TESTNAME).log -voptargs=+acc
 
clean:
	rm -rf work *.log

vlib work
vlog -f filelist.f
QuestaSim-64 vlog 2020.4_1 Compiler 2020.11 Nov  6 2020
Start time: 18:56:15 on Feb 09,2021
vlog -f filelist.f
-- Compiling package my_pkg2
-- Importing package mtiUvm.uvm_pkg (uvm-1.1d Built-in)
** Note: (vlog-2286) ./my_pkg2.sv(3): Using implicit +incdir+/opt/mentor/questasim/uvm-1.1d/../verilog_src/uvm-1.1d/src from import uvm_pkg
** Warning: ./my_pkg2.sv(29): (vlog-2240) Treating stand-alone use of function 'randomize' as an implicit VOID cast.
-- Compiling module top_tb
-- Importing package my_pkg2
 
Top level modules:
        top_tb
End time: 18:56:16 on Feb 09,2021, Elapsed time: 0:00:01
Errors: 0, Warnings: 1
Reading pref.tcl
 
# 2020.4_1
 
# vsim top_tb "+UVM_TESTNAME=a_test" "+UVM_OBJECTION_TRACE" -do "run -all;exit" -c -l a_test.log -voptargs="+acc"
# Start time: 18:56:18 on Feb 09,2021
# ** Note: (vsim-3812) Design is being optimized...
# ** Warning: ./my_pkg2.sv(29): (vopt-2240) Treating stand-alone use of function 'randomize' as an implicit VOID cast.
# ** Note: (vsim-12126) Error and warning message counts have been restored: Errors=0, Warnings=1.
# //  Questa Sim-64
# //  Version 2020.4_1 linux_x86_64 Nov  6 2020
# //
# //  Copyright 1991-2020 Mentor Graphics Corporation
# //  All Rights Reserved.
# //
# //  QuestaSim and its associated documentation contain trade
# //  secrets and commercial or financial information that are the property of
# //  Mentor Graphics Corporation and are privileged, confidential,
# //  and exempt from disclosure under the Freedom of Information Act,
# //  5 U.S.C. Section 552. Furthermore, this information
# //  is prohibited from disclosure under the Trade Secrets Act,
# //  18 U.S.C. Section 1905.
# //
# Loading sv_std.std
# Loading mtiUvm.uvm_pkg(fast)
# Loading work.my_pkg2(fast)
# Loading mtiUvm.questa_uvm_pkg(fast)
# Loading work.top_tb(fast)
# Loading /opt/mentor/questasim/uvm-1.1d/linux_x86_64/uvm_dpi.so
# run -all
# ----------------------------------------------------------------
# UVM-1.1d
# (C) 2007-2013 Mentor Graphics Corporation
# (C) 2007-2013 Cadence Design Systems, Inc.
# (C) 2006-2013 Synopsys, Inc.
# (C) 2011-2013 Cypress Semiconductor Corp.
# ----------------------------------------------------------------
#
#   ***********       IMPORTANT RELEASE NOTES         ************
#
#   You are using a version of the UVM library that has been compiled
#   with `UVM_NO_DEPRECATED undefined.
#   See <a href="http://www.eda.org/svdb/view.php?id=3313" rel="nofollow">http://www.eda.org/svdb/view.php?id=3313</a> for more details.
#
#   You are using a version of the UVM library that has been compiled
#   with `UVM_OBJECT_MUST_HAVE_CONSTRUCTOR undefined.
#   See <a href="http://www.eda.org/svdb/view.php?id=3770" rel="nofollow">http://www.eda.org/svdb/view.php?id=3770</a> for more details.
#
#       (Specify +UVM_NO_RELNOTES to turn off this notice)
#
# UVM_INFO verilog_src/questa_uvm_pkg-1.2/src/questa_uvm_pkg.sv(277) @ 0: reporter [Questa UVM] QUESTA_UVM-1.2.3
# UVM_INFO verilog_src/questa_uvm_pkg-1.2/src/questa_uvm_pkg.sv(278) @ 0: reporter [Questa UVM]  questa_uvm::init(+struct)
# UVM_INFO @ 0: reporter [RNTST] Running test a_test...
# UVM_ERROR @ 0: run [TEST_DONE_NOHIER] A non-hierarchical object, 'common.run' (<unknown>) was used in a call to uvm_test_done.raise_objection(). For this objection, a sequence or component is required.
# UVM_INFO @ 0: run [OBJTN_TRC] Object common.run raised 1 objection(s): count=1  total=1
# UVM_INFO @ 0: run [OBJTN_TRC] Object uvm_top added 1 objection(s) to its total (raised from source object common.run): count=0  total=1
# --a_driver_h run0----$$$$$
# UVM_INFO ./my_pkg2.sv(70) @ 0: uvm_test_top.a_env_h.a_driver_h [a_driver_h] ---------------------------------------------------------------------------------------
# Name                           Type      Size  Value
# ---------------------------------------------------------------------------------------
# req                            a_item    -     @624
#   a_data                       integral  8     'h65
#   begin_time                   time      64    0
#   depth                        int       32    'd2
#   parent sequence (name)       string    5     a_seq
#   parent sequence (full name)  string    40    uvm_test_top.a_env_h.a_sequencer_h.a_seq
#   sequencer                    string    34    uvm_test_top.a_env_h.a_sequencer_h
# ---------------------------------------------------------------------------------------
#
# --a_driver_h run--2----$$$$$
# --a_driver_h run-----end----$$$$$
# UVM_ERROR @ 0: run [TEST_DONE_NOHIER] A non-hierarchical object, 'common.run' (<unknown>) was used in a call to uvm_test_done.drop_objection(). For this objection, a sequence or component is required.
# UVM_INFO @ 0: run [OBJTN_TRC] Object common.run dropped 1 objection(s): count=0  total=0
# UVM_INFO @ 0: run [OBJTN_TRC] Object common.run all_dropped 1 objection(s): count=0  total=0
# UVM_INFO @ 0: run [OBJTN_TRC] Object uvm_top subtracted 1 objection(s) from its total (dropped from source object common.run): count=0  total=0
# UVM_INFO @ 0: run [OBJTN_TRC] Object uvm_top subtracted 1 objection(s) from its total (all_dropped from source object common.run): count=0  total=0
# UVM_INFO verilog_src/uvm-1.1d/src/base/uvm_objection.svh(1267) @ 0: reporter [TEST_DONE] 'run' phase is ready to proceed to the 'extract' phase
#
# --- UVM Report Summary ---
#
# ** Report counts by severity
# UVM_INFO :   11
# UVM_WARNING :    0
# UVM_ERROR :    2
# UVM_FATAL :    0
# ** Report counts by id
# [OBJTN_TRC]     6
# [Questa UVM]     2
# [RNTST]     1
# [TEST_DONE]     1
# [TEST_DONE_NOHIER]     2
# [a_driver_h]     1
# ** Note: $finish    : /opt/mentor/questasim/linux_x86_64/../verilog_src/uvm-1.1d/src/base/uvm_root.svh(430)
#    Time: 0 ns  Iteration: 226  Instance: /top_tb
# End time: 18:56:26 on Feb 09,2021, Elapsed time: 0:00:08
# Errors: 0, Warnings: 1
chr_sue
chr_sue
Full Access
3327 posts
February 09, 2021 at 6:30 am

In reply to designer007:

And this is what I see in the log-file:

vsim top_tb +UVM_TESTNAME=a_test -voptargs=+acc
# vsim top_tb "+UVM_TESTNAME=a_test" -voptargs="+acc" 
# Start time: 17:19:14 on Feb 08,2021
# ** Note: (vsim-8009) Loading existing optimized design _opt2
# Loading sv_std.std
# Loading mtiUvm.uvm_pkg
# Loading work.my_pkg2(fast)
# Loading mtiUvm.questa_uvm_pkg(fast)
# Loading work.top_tb(fast)
# Loading D:/SW/Questa/10.7e-prime/uvm-1.1d\win64\uvm_dpi.dll
run 0
# ----------------------------------------------------------------
# UVM-1.1d
# (C) 2007-2013 Mentor Graphics Corporation
# (C) 2007-2013 Cadence Design Systems, Inc.
# (C) 2006-2013 Synopsys, Inc.
# (C) 2011-2013 Cypress Semiconductor Corp.
# ----------------------------------------------------------------
# 
#   ***********       IMPORTANT RELEASE NOTES         ************
# 
#   You are using a version of the UVM library that has been compiled
#   with `UVM_NO_DEPRECATED undefined.
#   See <a href="http://www.eda.org/svdb/view.php?id=3313" rel="nofollow">http://www.eda.org/svdb/view.php?id=3313</a> for more details.
# 
#   You are using a version of the UVM library that has been compiled
#   with `UVM_OBJECT_MUST_HAVE_CONSTRUCTOR undefined.
#   See <a href="http://www.eda.org/svdb/view.php?id=3770" rel="nofollow">http://www.eda.org/svdb/view.php?id=3770</a> for more details.
# 
#       (Specify +UVM_NO_RELNOTES to turn off this notice)
# 
# UVM_INFO verilog_src/questa_uvm_pkg-1.2/src/questa_uvm_pkg.sv(215) @ 0: reporter [Questa UVM] QUESTA_UVM-1.2.3
# UVM_INFO verilog_src/questa_uvm_pkg-1.2/src/questa_uvm_pkg.sv(216) @ 0: reporter [Questa UVM]  questa_uvm::init(+struct)
# UVM_INFO @ 0: reporter [RNTST] Running test a_test...
# --a_driver_h run0----$$$$$
# UVM_INFO designer007.sv(70) @ 0: uvm_test_top.a_env_h.a_driver_h [a_driver_h] ---------------------------------------------------------------------------------------
# Name                           Type      Size  Value                                   
# ---------------------------------------------------------------------------------------
# req                            a_item    -     @624                                    
#   a_data                       integral  8     'h65                                    
#   begin_time                   time      64    0                                       
#   depth                        int       32    'd2                                     
#   parent sequence (name)       string    5     a_seq                                   
#   parent sequence (full name)  string    40    uvm_test_top.a_env_h.a_sequencer_h.a_seq
#   sequencer                    string    34    uvm_test_top.a_env_h.a_sequencer_h      
# ---------------------------------------------------------------------------------------
# 
# --a_driver_h run--2----$$$$$
# --a_driver_h run-----end----$$$$$
# 
# --- UVM Report Summary ---
# 
# ** Report counts by severity
# UVM_INFO :    4
# UVM_WARNING :    0
# UVM_ERROR :    0
# UVM_FATAL :    0
# ** Report counts by id
# [Questa UVM]     2
# [RNTST]     1
# [a_driver_h]     1
# ** Note: $finish    : D:/SW/Questa/10.7e-prime/win64/../verilog_src/uvm-1.1d/src/base/uvm_root.svh(430)
#    Time: 0 ns  Iteration: 223  Instance: /top_tb
# 1
# Break in Task uvm_pkg/uvm_root::run_test at D:/SW/Questa/10.7e-prime/win64/../verilog_src/uvm-1.1d/src/base/uvm_root.svh line 430

Interesting. I'm running Questa 10.7e (64 bit) on Windows.
designer007
designer007
Full Access
34 posts
February 10, 2021 at 12:17 am

In reply to chr_sue:

I find out that
in sequencer

phase.raise_objection(phase); //err

if change (phase) to (this) then ok, in linux.

but I confuse that (this) means the parameter that of the run_phase args or mean the sequencer?

Solution

Solution

chr_sue
chr_sue
Full Access
3327 posts
February 10, 2021 at 12:44 am

In reply to designer007:
This shows the arguments of the function raise_objection:
virtual function void raise_objection (
uvm_object obj,
string description = "",
int count = 1
)
The 1st arg is never phase. It points to the object where it is called, i.e. 'this'.
If you are calling this in the sequencer it is the sequencer.

Siemens Digital Industries Software

Siemens Digital Industries Software

##TodayMeetsTomorrow

Solutions

  • Cloud
  • Mendix
  • Siemens EDA
  • MindSphere
  • Siemens PLM
  • View all portfolio

Explore

  • Digital Journeys
  • Community
  • Blog
  • Online Store

Siemens

  • About Us
  • Careers
  • Events
  • News and Press
  • Newsletter
  • Customer Stories

Contact Us

USA:

phone-office +1 800 547 3000

See our Worldwide Directory

  • Contact Us
  • Support Center
  • Give us Feedback
©2021 Siemens Digital Industries Software. All Rights Reserved.
Terms of Use Privacy Cookie Policy