TLM-2.0
2.0.3
Accellera TLM-2.0 proof-of-concept library
Main Page
Namespaces
Classes
Files
File List
File Members
tlm_core
tlm_1
tlm_analysis
tlm_write_if.h
Go to the documentation of this file.
1
/*****************************************************************************
2
3
The following code is derived, directly or indirectly, from the SystemC
4
source code Copyright (c) 1996-2014 by all Contributors.
5
All Rights reserved.
6
7
The contents of this file are subject to the restrictions and limitations
8
set forth in the SystemC Open Source License (the "License");
9
You may not use this file except in compliance with such restrictions and
10
limitations. You may obtain instructions on how to receive a copy of the
11
License at http://www.accellera.org/. Software distributed by Contributors
12
under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
13
ANY KIND, either express or implied. See the License for the specific
14
language governing rights and limitations under the License.
15
16
*****************************************************************************/
17
18
#ifndef __TLM_WRITE_IF_H__
19
#define __TLM_WRITE_IF_H__
20
21
#include <
systemc
>
22
23
namespace
tlm {
24
25
template
<
typename
T>
26
class
tlm_write_if
:
public
virtual
sc_core::sc_interface
{
27
public
:
28
virtual
void
write
(
const
T& t) = 0;
29
};
30
31
template
<
typename
T>
32
class
tlm_delayed_write_if
:
public
virtual
sc_core::sc_interface
{
33
public
:
34
virtual
void
write
(
const
T& t,
const
sc_core::sc_time
& time) = 0;
35
};
36
37
}
// namespace tlm
38
39
40
#endif
tlm::tlm_write_if::write
virtual void write(const T &t)=0
tlm::tlm_write_if
Definition:
tlm_write_if.h:26
systemc
tlm::tlm_delayed_write_if
Definition:
tlm_write_if.h:32
tlm::tlm_delayed_write_if::write
virtual void write(const T &t, const sc_core::sc_time &time)=0
sc_core::sc_time
sc_core::sc_interface
Generated on Thu Jun 19 2014 07:42:05 for TLM-2.0 by
1.8.6