Information Technology Reference
In-Depth Information
Table 1.
Interface of a network manager
I/O-ports port type usage
data values
input
register servers sides
register
i
registerSignal
output
opening a server session
openSS
i
openSignal
,
key
1
,
key
2
input
handling client requests
myReq
i
key
0
output
forwarding requests
,
key
1
,
key
2
exReq
i
key
0
input
accepting answers from servers
data
0
,
data
1
,
data
2
exAns
i
output
forwarding answers
,
data
1
,
data
2
myAns
i
data
0
output
closing a server session
closeSS
i
closeSignal
PeerLink
c3to1
c1to3
Link for
Client
myReq
Link for
Server
exReq
Reconf_Port I
Reconf_Port J
Link for
Client
myAns
Link for
Server
exAns
c1to3
c3to1
PeerLink
P2PConnection
Fig. 10.
P2PConnection
forwarded into two sub-circuits - one
peerLink
for the requests and another
peerLink
for the answers (see Fig. 10).
Both
peerLink
s consist of sub-circuits called
c3to1
and
c1to3
. We select
c3to1
as
a showcase for circuits with more than one (static) topology. A dynamic circuit
needs a static interface, which must not be changed within the topology descrip-
tions. The RSL code for
c3to1
consisting of the interface declaration followed by
the definition of four possible topologies is shown in Fig. 11. The RSL keyword
NODE
is used to create a new I/O-port. In the RSL code of the
c3to1
in Fig. 11
four nodes are created - three nodes for the input ports and one for the output
port constituting the interface of the circuit.
In the first three topologies (topology
0
,
1
,
2
) exactly one of the source ports is
connected to the sink via a synchronous channel. In the last topology (topology
3
)
there are no connections between the sources and the sink port.
The circuit dynamically switches to topology
i
[
0
..
3
] when receiving a recon-
figuration signal
i
. As shown in Fig. 12 the initial topology can be selected on
the instantiation of the sub-circuit providing the
initial topo
option as shown
∈