112027Sjungma@eit.uni-kl.de/*****************************************************************************
212027Sjungma@eit.uni-kl.de
312027Sjungma@eit.uni-kl.de  Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
412027Sjungma@eit.uni-kl.de  more contributor license agreements.  See the NOTICE file distributed
512027Sjungma@eit.uni-kl.de  with this work for additional information regarding copyright ownership.
612027Sjungma@eit.uni-kl.de  Accellera licenses this file to you under the Apache License, Version 2.0
712027Sjungma@eit.uni-kl.de  (the "License"); you may not use this file except in compliance with the
812027Sjungma@eit.uni-kl.de  License.  You may obtain a copy of the License at
912027Sjungma@eit.uni-kl.de
1012027Sjungma@eit.uni-kl.de    http://www.apache.org/licenses/LICENSE-2.0
1112027Sjungma@eit.uni-kl.de
1212027Sjungma@eit.uni-kl.de  Unless required by applicable law or agreed to in writing, software
1312027Sjungma@eit.uni-kl.de  distributed under the License is distributed on an "AS IS" BASIS,
1412027Sjungma@eit.uni-kl.de  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1512027Sjungma@eit.uni-kl.de  implied.  See the License for the specific language governing
1612027Sjungma@eit.uni-kl.de  permissions and limitations under the License.
1712027Sjungma@eit.uni-kl.de
1812027Sjungma@eit.uni-kl.de *****************************************************************************/
1912027Sjungma@eit.uni-kl.de
2012027Sjungma@eit.uni-kl.de#ifndef __TLM_MASTER_SLAVE_IFS_H__
2112027Sjungma@eit.uni-kl.de#define __TLM_MASTER_SLAVE_IFS_H__
2212027Sjungma@eit.uni-kl.de
2312027Sjungma@eit.uni-kl.de#include "tlm_core/tlm_1/tlm_req_rsp/tlm_1_interfaces/tlm_core_ifs.h"
2412027Sjungma@eit.uni-kl.de
2512027Sjungma@eit.uni-kl.denamespace tlm {
2612027Sjungma@eit.uni-kl.de
2712027Sjungma@eit.uni-kl.de//
2812027Sjungma@eit.uni-kl.de// req/rsp combined interfaces
2912027Sjungma@eit.uni-kl.de//
3012027Sjungma@eit.uni-kl.de
3112027Sjungma@eit.uni-kl.de// blocking
3212027Sjungma@eit.uni-kl.de
3312027Sjungma@eit.uni-kl.detemplate < typename REQ , typename RSP>
3412027Sjungma@eit.uni-kl.declass tlm_blocking_master_if :
3512027Sjungma@eit.uni-kl.de  public virtual tlm_blocking_put_if< REQ > ,
3612027Sjungma@eit.uni-kl.de  public virtual tlm_blocking_get_peek_if< RSP > {};
3712027Sjungma@eit.uni-kl.de
3812027Sjungma@eit.uni-kl.detemplate < typename REQ , typename RSP>
3912027Sjungma@eit.uni-kl.declass tlm_blocking_slave_if :
4012027Sjungma@eit.uni-kl.de  public virtual tlm_blocking_put_if< RSP > ,
4112027Sjungma@eit.uni-kl.de  public virtual tlm_blocking_get_peek_if< REQ > {};
4212027Sjungma@eit.uni-kl.de
4312027Sjungma@eit.uni-kl.de// nonblocking
4412027Sjungma@eit.uni-kl.de
4512027Sjungma@eit.uni-kl.detemplate < typename REQ , typename RSP >
4612027Sjungma@eit.uni-kl.declass tlm_nonblocking_master_if :
4712027Sjungma@eit.uni-kl.de  public virtual tlm_nonblocking_put_if< REQ > ,
4812027Sjungma@eit.uni-kl.de  public virtual tlm_nonblocking_get_peek_if< RSP > {};
4912027Sjungma@eit.uni-kl.de
5012027Sjungma@eit.uni-kl.detemplate < typename REQ , typename RSP >
5112027Sjungma@eit.uni-kl.declass tlm_nonblocking_slave_if :
5212027Sjungma@eit.uni-kl.de  public virtual tlm_nonblocking_put_if< RSP > ,
5312027Sjungma@eit.uni-kl.de  public virtual tlm_nonblocking_get_peek_if< REQ > {};
5412027Sjungma@eit.uni-kl.de
5512027Sjungma@eit.uni-kl.de// combined
5612027Sjungma@eit.uni-kl.de
5712027Sjungma@eit.uni-kl.detemplate < typename REQ , typename RSP >
5812027Sjungma@eit.uni-kl.declass tlm_master_if :
5912027Sjungma@eit.uni-kl.de  public virtual tlm_put_if< REQ > ,
6012027Sjungma@eit.uni-kl.de  public virtual tlm_get_peek_if< RSP > ,
6112027Sjungma@eit.uni-kl.de  public virtual tlm_blocking_master_if< REQ , RSP > ,
6212027Sjungma@eit.uni-kl.de  public virtual tlm_nonblocking_master_if< REQ , RSP > {};
6312027Sjungma@eit.uni-kl.de
6412027Sjungma@eit.uni-kl.detemplate < typename REQ , typename RSP >
6512027Sjungma@eit.uni-kl.declass tlm_slave_if :
6612027Sjungma@eit.uni-kl.de  public virtual tlm_put_if< RSP > ,
6712027Sjungma@eit.uni-kl.de  public virtual tlm_get_peek_if< REQ > ,
6812027Sjungma@eit.uni-kl.de  public virtual tlm_blocking_slave_if< REQ , RSP > ,
6912027Sjungma@eit.uni-kl.de  public virtual tlm_nonblocking_slave_if< REQ , RSP > {};
7012027Sjungma@eit.uni-kl.de
7112027Sjungma@eit.uni-kl.de} // namespace tlm
7212027Sjungma@eit.uni-kl.de
7312027Sjungma@eit.uni-kl.de#endif
74