SystemC Analog/Mixed-Signal User’s Guide
User Perspective on IEEE Std. 1666.1-2016
— To assign a particular time step to a given port of a TDF module belonging to the cluster. The time step
defines the time interval between two consecutive samples which are written to or read from the port.
Figure 2.2b shows a TDF module B with a TDF input port time step (Tp) of 10 µs.
— To assign a particular maximum time step to a given port of a TDF module belonging to the cluster.
The maximum time step defines the maximum allowed time interval between two consecutive samples
which are written to or read from the port. Figure 2.2b shows a TDF module B with a TDF input
maximum port time step (Tp,max) of 1 second.
— To assign a particular rate to a given port of a module belonging to the cluster. Figure 2.2b shows a
TDF module B, where at each module activation 2 samples are read (input port rate R set to 2, indicated
with R:2).
— To assign a particular delay to a given port of a module belonging to the cluster. Figure 2.2c shows a
TDF module C, where at each module activation, the sample corresponding to the previous time step
is written (output port delay D set to 1 sample, indicated with D:1).
— To assign a particular continuous-time delay to a given decoupling port of a module belonging to the
cluster. Figure 2.2d shows a TDF module D, where at each module activation, the sample is written to
the output port with a continuous-time delay of 0.8 µs.
Figure 2.2—TDF module and port attributes
Provided that the attribute assignment on the ports and modules of a TDF model are compatible, the order
of activation of the TDF modules in a cluster and the number of samples they read (consume) and write
(produce) can be statically determined before simulation starts and may be changed after the execution of
each schedule. Thus, and more formally, a TDF cluster can be defined as the set of connected TDF modules,
which belong to the same static schedule. The latter may change over time in terms of order and number of
activations of each TDF module, but no new TDF modules can be added to a cluster nor TDF modules can be
removed from the cluster during simulation. If the attribute assignments are not compatible, the static schedule
cannot be established and the TDF cluster is said to be not schedulable (see also Section 2.1.4). Therefore,
after the required TDF cluster consistency check, the schedule defines a sequence, in which the algorithmic
or procedural description of each TDF module is executed.
The main advantage of using a static schedule is that the execution of TDF models does not rely on the evaluate/
update mechanism of SystemC’s discrete-event kernel, resulting in more efficient and thus faster simulations.
TDF models are processed independently, using a local time annotation mechanism. Interactions between
TDF models and pure SystemC models are supported through specific converter ports, as discussed in Section
2.4.
2.1.2 Static and dynamic modes of operation
The TDF model of computation supports two modes of operation, which defines the way how changes of the
TDF attributes (time step, rate or delay) are handled while executing the schedule.
—
Static: in this case, TDF module attributes are not changed during simulation. Attributes are only
defined prior to simulation and remain fixed during simulation.
7
Copyright © 2020 Accellera Systems Initiative. All rights reserved.