block Nand "Logical 'nand': y = not (u1 and u2)"
extends Blocks.Interfaces.partialBooleanSI2SO;
equation
y = not (u1 and u2);
annotation (
Icon(
coordinateSystem(
preserveAspectRatio = true,
extent = {
{-100, -100},
{100, 100}}),
graphics = {
Text(
extent = {
{-90, 40},
{90, -40}},
textString = "nand")}),
Documentation(info = "<html>\n<p>\nThe output is <strong>true</strong> if at least one input is <strong>false</strong>, otherwise\nthe output is <strong>false</strong>.\n</p>\n</html>"));
end Nand;