Skip to content

Commit

Permalink
OSCI-WG Updates for issues accellera-official#6 and accellera-official#9
Browse files Browse the repository at this point in the history


Signed-off-by: Justin Refice <jrefice@nvidia.com>
  • Loading branch information
jrefice committed May 9, 2024
1 parent b5f8562 commit 3e1319d
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 2,541 deletions.
15 changes: 8 additions & 7 deletions src/base/uvm_cmdline_report.svh
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@ class uvm_cmdline_verbosity extends uvm_cmdline_setting_base;
// Instance Methods/Variables
int verbosity;
enum {STANDARD, NON_STANDARD, ILLEGAL} src;

localparam string prefix = "+UVM_VERBOSITY=";

// Static Methods/Variables
static const string prefix = "+UVM_VERBOSITY=";
static uvm_cmdline_verbosity settings[$];


// Function --NODOCS-- init
// Initializes the ~settings~ queue with the command line verbosity settings.
//
Expand Down Expand Up @@ -179,8 +178,8 @@ class uvm_cmdline_set_verbosity extends uvm_cmdline_setting_base;
string phase;
time offset;

// Static Methods/Variables
static const string prefix = "+uvm_set_verbosity=";
localparam string prefix = "+uvm_set_verbosity=";
// Static Methods/Variables
static uvm_cmdline_set_verbosity settings[$]; // Processed command line settings


Expand Down Expand Up @@ -375,8 +374,9 @@ class uvm_cmdline_set_action extends uvm_cmdline_setting_base;
uvm_severity sev;
uvm_action action;

localparam string prefix = "+uvm_set_action=";

// Static Methods/Variables
static const string prefix="+uvm_set_action=";
static uvm_cmdline_set_action settings[$]; // Processed command line settings

// Function --NODOCS-- init
Expand Down Expand Up @@ -505,8 +505,9 @@ class uvm_cmdline_set_severity extends uvm_cmdline_setting_base;
uvm_severity orig_sev;
uvm_severity sev;

localparam string prefix="+uvm_set_severity=";

// Static Methods/Variables
static const string prefix="+uvm_set_severity=";
static uvm_cmdline_set_severity settings[$]; // Processed command line settings

// Function --NODOCS-- init
Expand Down
2 changes: 1 addition & 1 deletion src/base/uvm_globals.svh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ typedef class uvm_root;
typedef class uvm_report_object;
typedef class uvm_report_message;

// Title: Globals
// Title -- NODOCS -- Globals

//------------------------------------------------------------------------------
//
Expand Down
2 changes: 0 additions & 2 deletions src/base/uvm_hdl_polling.svh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
//
//----------------------------------------------------------------------

// Title: HDL Signal Polling

`ifndef UVM_HDL_POLLING
`define UVM_HDL_POLLING
typedef class uvm_hdl_polling_cbs;
Expand Down
4 changes: 2 additions & 2 deletions src/base/uvm_report_catcher.svh
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ virtual class uvm_report_catcher extends uvm_callback;
local static int m_caught_warning;

// Flag counts
const static int DO_NOT_CATCH = 1;
const static int DO_NOT_MODIFY = 2;
localparam int DO_NOT_CATCH = 1;
localparam int DO_NOT_MODIFY = 2;
local static int m_debug_flags;

local static bit do_report;
Expand Down
2 changes: 1 addition & 1 deletion src/base/uvm_spell_chkr.svh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
class uvm_spell_chkr #(type T=int);

typedef T tab_t[string];
static const int unsigned max = '1;
localparam int unsigned max = '1;

//--------------------------------------------------------------------
// check
Expand Down
2 changes: 1 addition & 1 deletion src/comps/uvm_random_stimulus.svh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
//@uvm_compat
class uvm_random_stimulus #(type T=uvm_transaction) extends uvm_component;

const static string type_name = "uvm_random_stimulus #(T)";
localparam string type_name = "uvm_random_stimulus #(T)";

typedef uvm_random_stimulus #(T) this_type;
`uvm_component_param_utils(this_type)
Expand Down
Loading

0 comments on commit 3e1319d

Please sign in to comment.