model BufGate "BufGate with 1 input value, composed by Not and sensitive inertial delay"
import D = Modelica.Electrical.Digital;
extends D.Delay.DelayParams;
extends D.Interfaces.SISO;
D.Delay.InertialDelaySensitive G1(tLH = tLH, tHL = tHL) annotation (Placement(transformation(extent = {
{-30, -20},
{10, 20}})));
equation
connect(G1.x,x) annotation (Line(
points = {
{-22, 0},
{-60, 0}},
color = {127, 0, 127}));
connect(G1.y,y) annotation (Line(
points = {
{10, 0},
{100, 0}},
color = {127, 0, 127}));
annotation (
Documentation(
info = "<html>\n<p>The BufGate model has a single valued input, and a single valued output. It consists of an InertialDelaySensitive only. Its parameters are the delay parameters (rise and fall inertial delay time, and initial value).</p>\n</html>",
revisions = "<html>\n<dl>\n<dt><em>September 21, 2004</em></dt>\n<dd>by Andre Schneider initially modelled.</dd>\n</dl>\n</html>"),
Icon(
coordinateSystem(
preserveAspectRatio = true,
extent = {
{-100, -100},
{100, 100}}),
graphics = {
Text(
extent = {
{152, -160},
{-148, -100}},
lineColor = {0, 0, 255},
textString = "%name"),
Rectangle(
extent = {
{-50, 100},
{50, -100}},
lineThickness = 0.5,
fillColor = {213, 170, 255},
fillPattern = FillPattern.Solid),
Text(
extent = {
{-18, -60},
{20, -100}},
textString = "Gate"),
Text(
extent = {
{-50, 80},
{50, 40}},
textString = "1")}));
end BufGate;