Nor
block Nor "Logical 'nor': y = not (u1 or u2)"
extends Blocks.Interfaces.partialBooleanSI2SO;
equation
y = not (u1 or u2);
annotation (
Icon(
coordinateSystem(
preserveAspectRatio = true,
extent = {
{-100, -100},
{100, 100}}),
graphics = {
Text(
extent = {
{-90, 40},
{90, -40}},
textString = "nor")}),
Documentation(info = "<html>\n<p>\nThe output is <strong>true</strong> if none of the inputs is <strong>true</strong>, otherwise\nthe output is <strong>false</strong>.\n</p>\n</html>"));
end Nor;