gem5
v23.0.0.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
q
r
s
t
v
x
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Symbols
:
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
s
t
v
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Typedefs
a
b
c
d
g
h
i
l
m
r
s
t
u
w
Enumerations
b
h
i
o
p
Enumerator
h
i
o
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
systemc
ext
tlm_core
1
req_rsp
interfaces
master_slave_ifs.hh
Go to the documentation of this file.
1
/*****************************************************************************
2
3
Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
4
more contributor license agreements. See the NOTICE file distributed
5
with this work for additional information regarding copyright ownership.
6
Accellera licenses this file to you under the Apache License, Version 2.0
7
(the "License"); you may not use this file except in compliance with the
8
License. You may obtain a copy of the License at
9
10
http://www.apache.org/licenses/LICENSE-2.0
11
12
Unless required by applicable law or agreed to in writing, software
13
distributed under the License is distributed on an "AS IS" BASIS,
14
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15
implied. See the License for the specific language governing
16
permissions and limitations under the License.
17
18
*****************************************************************************/
19
20
#ifndef __TLM_CORE_1_REQ_RSP_INTERFACES_MASTER_SLAVE_IFS_HH__
21
#define __TLM_CORE_1_REQ_RSP_INTERFACES_MASTER_SLAVE_IFS_HH__
22
23
#include "
core_ifs.hh
"
24
25
namespace
tlm
26
{
27
28
//
29
// req/rsp combined interfaces
30
//
31
32
// Blocking.
33
template
<
typename
REQ,
typename
RSP>
34
class
tlm_blocking_master_if
:
35
public
virtual
tlm_blocking_put_if
<REQ>,
36
public
virtual
tlm_blocking_get_peek_if
<RSP>
37
{};
38
39
template
<
typename
REQ,
typename
RSP>
40
class
tlm_blocking_slave_if
:
41
public
virtual
tlm_blocking_put_if
<RSP>,
42
public
virtual
tlm_blocking_get_peek_if
<REQ>
43
{};
44
45
// Nonblocking.
46
template
<
typename
REQ,
typename
RSP>
47
class
tlm_nonblocking_master_if
:
48
public
virtual
tlm_nonblocking_put_if
<REQ>,
49
public
virtual
tlm_nonblocking_get_peek_if
<RSP>
50
{};
51
52
template
<
typename
REQ,
typename
RSP>
53
class
tlm_nonblocking_slave_if
:
54
public
virtual
tlm_nonblocking_put_if
<RSP>,
55
public
virtual
tlm_nonblocking_get_peek_if
<REQ>
56
{};
57
58
// Combined.
59
template
<
typename
REQ,
typename
RSP>
60
class
tlm_master_if
:
public
virtual
tlm_put_if
<REQ>,
61
public
virtual
tlm_get_peek_if
<RSP> ,
62
public
virtual
tlm_blocking_master_if
<REQ, RSP>,
63
public
virtual
tlm_nonblocking_master_if
<REQ, RSP>
64
{};
65
66
template
<
typename
REQ,
typename
RSP>
67
class
tlm_slave_if
:
public
virtual
tlm_put_if
<RSP>,
68
public
virtual
tlm_get_peek_if
<REQ>,
69
public
virtual
tlm_blocking_slave_if
<REQ, RSP>,
70
public
virtual
tlm_nonblocking_slave_if
<REQ, RSP>
71
{};
72
73
}
// namespace tlm
74
75
#endif
/* __TLM_CORE_1_REQ_RSP_INTERFACES_MASTER_SLAVE_IFS_HH__ */
tlm::tlm_blocking_get_peek_if
Definition
core_ifs.hh:120
tlm::tlm_blocking_master_if
Definition
master_slave_ifs.hh:37
tlm::tlm_blocking_put_if
Definition
core_ifs.hh:53
tlm::tlm_blocking_slave_if
Definition
master_slave_ifs.hh:43
tlm::tlm_get_peek_if
Definition
core_ifs.hh:131
tlm::tlm_master_if
Definition
master_slave_ifs.hh:64
tlm::tlm_nonblocking_get_peek_if
Definition
core_ifs.hh:125
tlm::tlm_nonblocking_master_if
Definition
master_slave_ifs.hh:50
tlm::tlm_nonblocking_put_if
Definition
core_ifs.hh:72
tlm::tlm_nonblocking_slave_if
Definition
master_slave_ifs.hh:56
tlm::tlm_put_if
Definition
core_ifs.hh:89
tlm::tlm_slave_if
Definition
master_slave_ifs.hh:71
core_ifs.hh
tlm
Definition
analysis_fifo.hh:28
Generated on Mon Jul 10 2023 14:24:34 for gem5 by
doxygen
1.9.7