File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,7 +119,6 @@ class apb_monitor#(`_APB_AGENT_PARAM_DEFS) extends uvm_monitor;
119119
120120 // Setup Phase
121121 if (trans == null ) begin
122- apb_transaction # (`_APB_AGENT_PARAM_MAP ) req;
123122 if (m_vif.penable) begin
124123 `uvm_error (get_type_name (), " penable is high during the access phase" )
125124 end
@@ -132,7 +131,9 @@ class apb_monitor#(`_APB_AGENT_PARAM_DEFS) extends uvm_monitor;
132131 trans.wait_states = 0 ;
133132
134133 if (m_cfg.agent_mode == APB_REQUESTER_AGENT ) begin
135- $cast (req, trans.clone ());
134+ apb_transaction # (`_APB_AGENT_PARAM_MAP ) req;
135+
136+ req = trans.clone ();
136137 req.data = m_vif.pwdata;
137138 req_ap.write (req);
138139 end
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ class apb_transaction#(`_APB_AGENT_PARAM_DEFS) extends uvm_sequence_item;
6161 // Poperty: error
6262 // The Completer Error signal from the transaction.
6363 // Set by the sequence in APB_REQUESTER_AGENT mode.
64- // set by the agent in AAPB_COMPELTER_AGENT mode.
64+ // set by the agent in APB_COMPLETER_AGENT mode.
6565 rand bit error = 1'b0 ;
6666
6767 // Property: wait_states
You can’t perform that action at this time.
0 commit comments