00001 //---------------------------------------------------------------------- 00002 // Copyright 2007-2008 Mentor Graphics Corporation 00003 // Copyright 2007-2008 Cadence Design Systems, Inc. 00004 // All Rights Reserved Worldwide 00005 // 00006 // Licensed under the Apache License, Version 2.0 (the 00007 // "License"); you may not use this file except in 00008 // compliance with the License. You may obtain a copy of 00009 // the License at 00010 // 00011 // http://www.apache.org/licenses/LICENSE-2.0 00012 // 00013 // Unless required by applicable law or agreed to in 00014 // writing, software distributed under the License is 00015 // distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 00016 // CONDITIONS OF ANY KIND, either express or implied. See 00017 // the License for the specific language governing 00018 // permissions and limitations under the License. 00019 //---------------------------------------------------------------------- 00020 /****************************************************************************** 00021 00022 FILE : ovm_req_rsp_sequence.svh 00023 00024 ******************************************************************************/ 00025 00026 `ifndef OVM_REQ_RSP_SEQUENCE_SVH 00027 `define OVM_REQ_RSP_SEQUENCE_SVH 00028 00029 00030 //----------------------------------------------------------------------------- 00031 // 00032 // CLASS: ovm_req_rsp_sequence 00033 // 00034 //----------------------------------------------------------------------------- 00035 00036 class ovm_req_rsp_sequence #(type REQ = ovm_sequence_item, 00037 type RSP = ovm_sequence_item) extends ovm_sequence; 00038 00039 function new(string name = "ovm_req_rsp_sequence", 00040 ovm_sequencer_base sequencer=null, 00041 ovm_sequence parent_seq=null); 00042 super.new(name, sequencer, parent_seq); 00043 endfunction 00044 00045 task apply(input REQ this_req, output RSP this_rsp); 00046 ovm_sequence_item item; 00047 super.apply(this_req, item); 00048 $cast(this_rsp, item); 00049 endtask 00050 00051 endclass 00052 00053 00054 `endif // OVM_REQ_RSP_SEQUENCE_SVH
![]() 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 Version: 1.4.6 Mon Sep 29 14:23:30 2008 |