OscillatorBase.ned

NED File src/inet/clock/base/OscillatorBase.ned

Name Type Description
OscillatorBase simple module

This is a base module for oscillators.

Source code

//
// Copyright (C) 2020 OpenSim Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later
//


package inet.clock.base;

//
// This is a base module for oscillators.
//
simple OscillatorBase
{
    parameters:
        string displayStringTextFormat = default("%n"); // determines the text that is written on top of the submodule
        @class(OscillatorBase);
        @display("i=block/tunnel");
        @signal[driftRateChanged](type=double);
        @statistic[driftRateChanged](title="Oscillator drift rate"; record=vector; interpolationmode=sample-hold; unit=ppm);
}