Simple Module OLTQPerLLiDBase_P

Package: PON.OLT
File: src/OLT/OLTQPerLLiDBase_P.ned

C++ definition

This module overrides the Base functionality to support polling implementations/algorithms

OLTQPerLLiDBase_P

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Parameters:

Name Type Default value Description
slotLength int 3000ns
slotNumber int 128
regTimeInt int 100ms
regAckTimeOut int 500ms
queueLimit int 100
datarateLimit int -1Mbps

Limit the assigned bandwidth to scale down the simulation

wMax double 1ms

Polling parameters

fixedWin double 0.5ms

Maximum window for FIXED Service (500000 bits/cycle - 40 frames of 1500B)

Properties:

Name Value Description
display i=block/fork

Gates:

Name Direction Size Description
lowerLayerIn input
lowerLayerOut output
upperLayerIn input
upperLayerOut output

Source code:

//
// This module overrides the Base functionality to support polling 
// implementations/algorithms
//
simple OLTQPerLLiDBase_P like OLT_Q_mgmt
{
    parameters:
        int slotLength @unit("ns") = default(3000ns);
        int slotNumber = default(128);
        int regTimeInt @unit("ms") = default(100ms);
        int regAckTimeOut @unit("ms") = default(500ms);
        int queueLimit = default(100);

        int datarateLimit @unit("Mbps") = default(-1Mbps); // Limit the assigned bandwidth to scale down the simulation

        /// Polling parameters
        double wMax @unit("ms") = default(1ms); 	 // Maximum bandwidth for LIMITED Service
        double fixedWin @unit("ms") = default(0.5ms); // Maximum window for FIXED Service (500000 bits/cycle - 40 frames of 1500B)

        @display("i=block/fork");

    gates:
        input lowerLayerIn;
        output lowerLayerOut;
        input upperLayerIn;
        output upperLayerOut;
}