Simple Module TTIncoming

Package: ttethernet.ctc
File: src/ctc/TTIncoming.ned

C++ definition

Module for the conformance checks of incoming time-triggered traffic.

The traffic is checked for conformance with the receive window and afterwards delayed until the permanence point in time (permanence_pit). Therefore it registers a timer message (SchedulerActionTimeEvent) with the schduler module (TTEScheduler)

See also: Incoming, SchedulerActionTimeEvent, TTEScheduler

Author: Till Steinbach

TTIncoming

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Extends:

Name Type Description
Incoming simple module

Abstract module for the conformance checks of incoming traffic.

Used in compound modules:

Name Type Description
Switch1 compound module

switch1: configuration in switch1.ini Forwards time-triggered messages with VL-ID 100 and rate-constrained messages with VL-ID 101

Unit1 compound module

unit1: configuration in unit1.ini.

Unit2 compound module

unit2: configuration in unit2.ini.

Unit3 compound module

unit3: configuration in unit3.ini.

Parameters:

Name Type Default value Description
receive_window_start int

Beginning of the receive window in number of ticks

receive_window_end int

End of the receive window in number of ticks

permanence_pit int

permanence point in time in number of ticks

Properties:

Name Value Description
class TTIncoming

TTIncoming is implemented by the TTIncoming C++ Class

display i=,red

Gates:

Name Direction Size Description
in input

input of the ctc

out output

output of the ctc

schedulerIn input

Input gate for the incoming SchedulerActionTimeEvent messages

Statistics:

Name Title Source Record Unit Interpolation Mode
ctDropped CT violation sum

Source code:

//
// Module for the conformance checks of incoming time-triggered traffic.
//
// The traffic is checked for conformance with the receive window and afterwards
// delayed until the permanence point in time (permanence_pit). Therefore it registers a
// timer message (SchedulerActionTimeEvent) with the schduler module (TTEScheduler)
//
// @see Incoming, SchedulerActionTimeEvent, TTEScheduler
//
// @author Till Steinbach
simple TTIncoming extends Incoming
{
    parameters:
        @display("i=,red");
        //TTIncoming is implemented by the TTIncoming C++ Class
        @class(TTIncoming);
        //Beginning of the receive window in number of ticks
        int receive_window_start;
        //End of the receive window in number of ticks
        int receive_window_end;
        //permanence point in time in number of ticks
        int permanence_pit;
    gates:
        //Input gate for the incoming SchedulerActionTimeEvent messages
        input schedulerIn @directIn;
}