ovm_layered_stimulus_defines.svh File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define apply_request_with(OVM_DATA_REQ, CONSTRAINTS)
#define apply_with(OVM_DATA_REQ, OVM_DATA_RSP, CONSTRAINTS)
#define apply_send_with(OVM_DATA_REQ, CONSTRAINTS)


Define Documentation

#define apply_request_with OVM_DATA_REQ,
CONSTRAINTS   ) 
 

Value:

grant_flag = 0; \
  if (m_scenario_controller == null) ovm_report_fatal("seqA", "null m_scenario_controller"); \
  m_scenario_controller.request(this); \
  wait(grant_flag == 1); \
  pre_apply(); \
  if (m_driver_ptr == null) ovm_report_fatal(get_full_name(), "null m_driver_ptr"); \
  grant_flag = 0; \
  assert(OVM_DATA_REQ.randomize() with CONSTRAINTS ) else begin \
    ovm_report_warning("ovm_scenario", "Randomization failed in apply_request_with"); \
  end \
  mid_apply();

Definition at line 27 of file ovm_layered_stimulus_defines.svh.

#define apply_send_with OVM_DATA_REQ,
CONSTRAINTS   ) 
 

Value:

apply_request_with(OVM_DATA_REQ, CONSTRAINTS); \
  if ($cast(p_drv, m_driver_ptr) == 0) begin \
    ovm_report_fatal("ovm_scenario", "Error casting pdrv from driver_ptr"); \
  end \
  p_drv.put_req.put(OVM_DATA_REQ); \
  post_apply();

Definition at line 61 of file ovm_layered_stimulus_defines.svh.

#define apply_with OVM_DATA_REQ,
OVM_DATA_RSP,
CONSTRAINTS   ) 
 

Value:

apply_request_with(OVM_DATA_REQ, CONSTRAINTS) \
  if ($cast(p_drv, m_driver_ptr) == 0) begin \
    ovm_report_fatal("ovm_scenario", "Error casting pdrv from driver_ptr"); \
  end \
  p_drv.put_req.put(OVM_DATA_REQ); \
  p_drv.get_rsp.get(OVM_DATA_RSP); \
  post_apply();

Definition at line 46 of file ovm_layered_stimulus_defines.svh.


Intelligent Design Verification
Intelligent Design Verification
Project: OVM, Revision: 1.1.0
Copyright (c) 2008 Intelligent Design Verification.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included here:
http://www.intelligentdv.com/licenses/fdl.txt
doxygen
Doxygen Version: 1.4.6
Mon Sep 29 14:20:18 2008

Find a documentation bug? Report bugs to: bugs.intelligentdv.com Project: DoxygenFilterSV