Not

model Not "Not logic component without delay"
    import D = Modelica.Electrical.Digital;
    import L = Modelica.Electrical.Digital.Interfaces.Logic;

    extends D.Interfaces.SISO;

protected
    D.Interfaces.Logic auxiliary(start = L.'0', fixed = true);
equation
    y = pre(auxiliary);
    auxiliary = Modelica.Electrical.Digital.Tables.NotTable[x];

    annotation (
        Documentation(
            info = "<html>\n<p>Not component with 1 input value, without delay.</p>\n<p>According to the standard logic not table (Tables.NotTable) the output value is calculated.</p>\n<p>To avoid loops in the numerical treatment, the pre operator is applied to the output.</p>\n</html>",
            revisions = "<html>\n<dl>\n<dt><em>August 14, 2003</em></dt>\n<dd>by Teresa Schlegel initially modelled.</dd>\n</dl>\n</html>"),
        Icon(
            coordinateSystem(
                preserveAspectRatio = true,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Text(
                    extent = {
                        {-50, 40}, 
                        {50, 80}},
                    textString = "1"), 
                Text(
                    extent = {
                        {152, -160}, 
                        {-148, -100}},
                    lineColor = {0, 0, 255},
                    textString = "%name"), 
                Ellipse(
                    extent = {
                        {50, 6}, 
                        {62, -6}},
                    lineThickness = 0.5,
                    fillColor = {255, 255, 255},
                    fillPattern = FillPattern.Solid)}));
end Not;