ApskEncoder

Package: inet.physicallayer.wireless.apsk.bitlevel

ApskEncoder

compound module

Part of a simple hypothetical layered transmitter. It computes the bit domain representation from the packet domain representation by applying the configured scrambling, forward error correction encoding, and interleaving.

<b>See also:</b> ~ApskDecoder, ~ApskLayeredReceiver.

scrambler : like IScrambler

IScrambler: Module interface for scramblers that convert input bit sequences into seemingly random output...

Source:
scrambler: <default("")> like IScrambler if typename != "" {
    @display("p=100,100");
} fecEncoder : like IFecCoder

IFecCoder: Interface for Forward Error Correction (FEC) coders.

Source:
fecEncoder: <default("")> like IFecCoder if typename != "" {
    @display("p=100,200");
} interleaver : like IInterleaver

IInterleaver: Module interface for bit-level interleavers used in wireless communication systems.

Source:
interleaver: <default("")> like IInterleaver if typename != "" {
    @display("p=100,300");
}

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.

Extends

Name Type Description
Module compound module

Base module for all INET compound modules.

Parameters

Name Type Default value Description
displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

Properties

Name Value Description
class ApskEncoder
display i=block/blackboard

Source code

//
// Part of a simple hypothetical layered transmitter. It computes
// the bit domain representation from the packet domain representation by applying
// the configured scrambling, forward error correction encoding, and interleaving.
//
// @see ~ApskDecoder, ~ApskLayeredReceiver.
//
module ApskEncoder extends Module like IEncoder
{
    parameters:
        @display("i=block/blackboard");
        @class(ApskEncoder);

    submodules:
        scrambler: <default("")> like IScrambler if typename != "" {
            @display("p=100,100");
        }
        fecEncoder: <default("")> like IFecCoder if typename != "" {
            @display("p=100,200");
        }
        interleaver: <default("")> like IInterleaver if typename != "" {
            @display("p=100,300");
        }
}

File: src/inet/physicallayer/wireless/apsk/bitlevel/ApskEncoder.ned