IdealOscillator

Package: inet.clock.oscillator

IdealOscillator

simple module

This module generates ticks periodically with a constant tick length.

Inheritance diagram

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

Extends

Name Type Description
OscillatorBase simple module

This is a base module for oscillators.

Parameters

Name Type Default value Description
displayStringTextFormat string "%n"

determines the text that is written on top of the submodule

tickLength double 0s

Properties

Name Value Description
class IdealOscillator
display i=block/tunnel

Signals

Name Type Unit
driftRateChanged double

Statistics

Name Title Source Record Unit Interpolation Mode
driftRateChanged Oscillator drift rate vector ppm sample-hold

Source code

//
// This module generates ticks periodically with a constant tick length.
//
simple IdealOscillator extends OscillatorBase like IOscillator
{
    parameters:
        double tickLength @unit(s) = default(0s);
        @class(IdealOscillator);
}

File: src/inet/clock/oscillator/IdealOscillator.ned