summaryrefslogtreecommitdiff
path: root/911/CH3/EX3.4.b/ex_3_4_b.xcos
blob: 511e02131d98b27d2df1c459e47ed6695891d6ed (plain)
1
<?xml version="1.0" encoding="UTF-8"?><XcosDiagram background="-1" title="ex_3_4_b"><mxGraphModel as="model"><root><mxCell id="1ef32c16:13e510b008a:-7f76"/><mxCell id="1ef32c16:13e510b008a:-7f77" parent="1ef32c16:13e510b008a:-7f76"/><BasicBlock dependsOnU="1" id="1ef32c16:13e510b008a:-7f5c" interfaceFunctionName="LOGICAL_OP" parent="1ef32c16:13e510b008a:-7f77" simulationFunctionName="logicalop" simulationFunctionType="C_OR_FORTRAN" style="LOGICAL_OP;shadow=false;flip=false;mirror=false" value="NOT"><ScilabString as="exprs" height="4" width="1"><data column="0" line="0" value="1"/><data column="0" line="1" value="5"/><data column="0" line="2" value="1"/><data column="0" line="3" value="0"/></ScilabString><ScilabDouble as="realParameters" height="0" width="0"/><ScilabDouble as="integerParameters" height="1" width="1"><data column="0" line="0" realPart="5.0"/></ScilabDouble><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="60.0" width="90.0" x="100.0" y="110.0"/></BasicBlock><ExplicitInputPort connectable="0" dataType="REAL_MATRIX" id="1ef32c16:13e510b008a:-7f56" ordering="1" parent="1ef32c16:13e510b008a:-7f5c" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5;flip=false;mirror=false"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="26.0"/></ExplicitInputPort><ExplicitOutputPort connectable="0" dataType="REAL_MATRIX" id="1ef32c16:13e510b008a:-7f55" ordering="1" parent="1ef32c16:13e510b008a:-7f5c" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5;flip=false;mirror=false"><mxGeometry as="geometry" height="8.0" width="8.0" x="90.0" y="26.0"/></ExplicitOutputPort><TextBlock id="1ef32c16:13e510b008a:-7f58" parent="1ef32c16:13e510b008a:-7f77" simulationFunctionType="DEFAULT" style="TEXT_f;flip=false;mirror=false"><mxGeometry as="geometry" height="40.0" width="40.0" x="190.0" y="130.0"/></TextBlock><TextBlock id="1ef32c16:13e510b008a:-7f4d" parent="1ef32c16:13e510b008a:-7f77" simulationFunctionType="DEFAULT" style="TEXT_f;flip=false;mirror=false"><mxGeometry as="geometry" height="40.0" width="40.0" x="280.0" y="160.0"/></TextBlock><BasicBlock dependsOnU="1" id="1ef32c16:13e510b008a:-7f4b" interfaceFunctionName="LOGICAL_OP" parent="1ef32c16:13e510b008a:-7f77" simulationFunctionName="logicalop" simulationFunctionType="C_OR_FORTRAN" style="LOGICAL_OP;flip=false;mirror=false" value="sd"><ScilabString as="exprs" height="4" width="1"><data column="0" line="0" value="2"/><data column="0" line="1" value="1"/><data column="0" line="2" value="1"/><data column="0" line="3" value="0"/></ScilabString><ScilabDouble as="realParameters" height="0" width="0"/><ScilabDouble as="integerParameters" height="1" width="1"><data column="0" line="0" realPart="1.0"/></ScilabDouble><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="60.0" width="90.0" x="300.0" y="130.0"/></BasicBlock><ExplicitInputPort connectable="0" dataType="REAL_MATRIX" id="1ef32c16:13e510b008a:-7f0b" ordering="1" parent="1ef32c16:13e510b008a:-7f4b" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;spacingLeft=5;rotation=0;flip=false;mirror=false"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="16.0"/></ExplicitInputPort><ExplicitInputPort connectable="0" dataType="REAL_MATRIX" id="1ef32c16:13e510b008a:-7f0a" ordering="2" parent="1ef32c16:13e510b008a:-7f4b" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;spacingLeft=5;rotation=0;flip=false;mirror=false"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="36.0"/></ExplicitInputPort><ExplicitOutputPort connectable="0" dataType="REAL_MATRIX" id="1ef32c16:13e510b008a:-7f09" ordering="1" parent="1ef32c16:13e510b008a:-7f4b" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;spacingRight=5;rotation=0;flip=false;mirror=false"><mxGeometry as="geometry" height="8.0" width="8.0" x="90.0" y="26.0"/></ExplicitOutputPort><ExplicitLink id="1ef32c16:13e510b008a:-7f3d"><mxGeometry as="geometry"><mxPoint as="sourcePoint" x="204.0" y="180.0"/><mxPoint as="targetPoint" x="260.0" y="170.0"/><Array as="points" scilabClass=""><mxPoint x="220.0" y="140.0"/><mxPoint x="230.0" y="140.0"/><mxPoint x="230.0" y="150.0"/><mxPoint x="250.0" y="150.0"/><mxPoint x="260.0" y="150.0"/></Array></mxGeometry><mxCell as="parent" id="1ef32c16:13e510b008a:-7f77" parent="1ef32c16:13e510b008a:-7f76"/><ExplicitOutputPort as="source" connectable="0" dataType="REAL_MATRIX" id="1ef32c16:13e510b008a:-7f55" ordering="1" parent="1ef32c16:13e510b008a:-7f5c" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5;flip=false;mirror=false"><mxGeometry as="geometry" height="8.0" width="8.0" x="90.0" y="26.0"/></ExplicitOutputPort><ExplicitInputPort as="target" connectable="0" dataType="REAL_MATRIX" id="1ef32c16:13e510b008a:-7f0b" ordering="1" parent="1ef32c16:13e510b008a:-7f4b" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;spacingLeft=5;rotation=0;flip=false;mirror=false"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="16.0"/></ExplicitInputPort></ExplicitLink><TextBlock id="1ef32c16:13e510b008a:-7f32" parent="1ef32c16:13e510b008a:-7f77" simulationFunctionType="DEFAULT" style="TEXT_f;flip=false;mirror=false" value="&lt;html&gt;&#10;  &lt;head&gt;&#10;    &lt;style type=&quot;text/css&quot;&gt;&#10;      &lt;!--&#10;        body { color: black; font-size: 11 pt; font-family: Arial,Helvetica }&#10;      --&gt;&#10;    &lt;/style&gt;&#10;    &#10;  &lt;/head&gt;&#10;  &lt;body&gt;&#10;    This is logical not gate&#10;&#10;  &lt;/body&gt;&#10;&lt;/html&gt;&#10;"><mxGeometry as="geometry" height="40.0" width="120.0" x="90.0" y="60.0"/></TextBlock><ExplicitOutBlock id="1ef32c16:13e510b008a:-7f2c" parent="1ef32c16:13e510b008a:-7f77" simulationFunctionType="DEFAULT" style="OUT_f;flip=false;mirror=false"><ScilabString as="exprs" height="1" width="1"><data column="0" line="0" value="1"/></ScilabString><ScilabDouble as="realParameters" height="0" width="0"/><ScilabDouble as="integerParameters" height="1" width="1"><data column="0" line="0" realPart="1.0"/></ScilabDouble><Array as="objectsParameters" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="50.0" width="60.0" x="450.0" y="140.0"/></ExplicitOutBlock><ExplicitInputPort connectable="0" dataType="UNKNOW_TYPE" id="1ef32c16:13e510b008a:-7f2b" ordering="1" parent="1ef32c16:13e510b008a:-7f2c" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5;flip=false;mirror=false"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="16.0"/></ExplicitInputPort><ExplicitLink id="1ef32c16:13e510b008a:-7f20"><mxGeometry as="geometry"><mxPoint as="sourcePoint" x="374.0" y="180.0"/><mxPoint as="targetPoint" x="420.0" y="180.0"/></mxGeometry><mxCell as="parent" id="1ef32c16:13e510b008a:-7f77" parent="1ef32c16:13e510b008a:-7f76"/><ExplicitOutputPort as="source" connectable="0" dataType="REAL_MATRIX" id="1ef32c16:13e510b008a:-7f09" ordering="1" parent="1ef32c16:13e510b008a:-7f4b" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;spacingRight=5;rotation=0;flip=false;mirror=false"><mxGeometry as="geometry" height="8.0" width="8.0" x="90.0" y="26.0"/></ExplicitOutputPort><ExplicitInputPort as="target" connectable="0" dataType="UNKNOW_TYPE" id="1ef32c16:13e510b008a:-7f2b" ordering="1" parent="1ef32c16:13e510b008a:-7f2c" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5;flip=false;mirror=false"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="16.0"/></ExplicitInputPort></ExplicitLink><ExplicitInBlock id="1ef32c16:13e510b008a:-7f1a" parent="1ef32c16:13e510b008a:-7f77" simulationFunctionType="DEFAULT" style="IN_f;flip=false;mirror=false"><ScilabString as="exprs" height="1" width="1"><data column="0" line="0" value="1"/></ScilabString><ScilabDouble as="realParameters" height="0" width="0"/><ScilabDouble as="integerParameters" height="1" width="1"><data column="0" line="0" realPart="1.0"/></ScilabDouble><Array as="objectsParameters" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="50.0" width="50.0" x="10.0" y="120.0"/></ExplicitInBlock><ExplicitOutputPort connectable="0" dataType="UNKNOW_TYPE" id="1ef32c16:13e510b008a:-7f19" ordering="1" parent="1ef32c16:13e510b008a:-7f1a" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5;flip=false;mirror=false"><mxGeometry as="geometry" height="8.0" width="8.0" x="50.0" y="16.0"/></ExplicitOutputPort><SplitBlock id="1ef32c16:13e510b008a:-7f12" parent="1ef32c16:13e510b008a:-7f77" simulationFunctionType="DEFAULT" style="SPLIT_f;flip=false;mirror=false"><mxGeometry as="geometry" height="7.0" width="7.0" x="77.0" y="137.0"/></SplitBlock><ExplicitOutputPort connectable="0" dataType="UNKNOW_TYPE" id="1ef32c16:13e510b008a:-7f10" ordering="1" parent="1ef32c16:13e510b008a:-7f12" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5;flip=false;mirror=false" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="7.0" y="-4.0"/></ExplicitOutputPort><ExplicitOutputPort connectable="0" dataType="UNKNOW_TYPE" id="1ef32c16:13e510b008a:-7f0f" ordering="2" parent="1ef32c16:13e510b008a:-7f12" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;spacingRight=5;rotation=0;flip=false;mirror=false" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="7.0" y="-4.0"/></ExplicitOutputPort><ExplicitInputPort connectable="0" dataType="UNKNOW_TYPE" id="1ef32c16:13e510b008a:-7f11" ordering="1" parent="1ef32c16:13e510b008a:-7f12" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5;flip=false;mirror=false" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="-4.0"/></ExplicitInputPort><ExplicitLink id="1ef32c16:13e510b008a:-7f0e"><mxGeometry as="geometry" height="80.0" width="80.0"><Array as="points" scilabClass="ScilabList"/></mxGeometry><mxCell as="parent" id="1ef32c16:13e510b008a:-7f77" parent="1ef32c16:13e510b008a:-7f76"/><ExplicitOutputPort as="source" connectable="0" dataType="UNKNOW_TYPE" id="1ef32c16:13e510b008a:-7f19" ordering="1" parent="1ef32c16:13e510b008a:-7f1a" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5;flip=false;mirror=false"><mxGeometry as="geometry" height="8.0" width="8.0" x="50.0" y="16.0"/></ExplicitOutputPort><ExplicitInputPort as="target" connectable="0" dataType="UNKNOW_TYPE" id="1ef32c16:13e510b008a:-7f11" ordering="1" parent="1ef32c16:13e510b008a:-7f12" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5;flip=false;mirror=false" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="-4.0"/></ExplicitInputPort></ExplicitLink><ExplicitLink id="1ef32c16:13e510b008a:-7f0d"><mxGeometry as="geometry" height="80.0" width="80.0"><Array as="points" scilabClass="ScilabList"><mxPoint x="90.0" y="140.0"/></Array></mxGeometry><mxCell as="parent" id="1ef32c16:13e510b008a:-7f77" parent="1ef32c16:13e510b008a:-7f76"/><ExplicitOutputPort as="source" connectable="0" dataType="UNKNOW_TYPE" id="1ef32c16:13e510b008a:-7f10" ordering="1" parent="1ef32c16:13e510b008a:-7f12" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5;flip=false;mirror=false" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="7.0" y="-4.0"/></ExplicitOutputPort><ExplicitInputPort as="target" connectable="0" dataType="REAL_MATRIX" id="1ef32c16:13e510b008a:-7f56" ordering="1" parent="1ef32c16:13e510b008a:-7f5c" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5;flip=false;mirror=false"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="26.0"/></ExplicitInputPort></ExplicitLink><ExplicitLink id="1ef32c16:13e510b008a:-7f13"><mxGeometry as="geometry"><mxPoint as="sourcePoint" x="80.0" y="140.5"/><mxPoint as="targetPoint" x="270.0" y="190.0"/><Array as="points" scilabClass=""><mxPoint x="80.0" y="210.0"/><mxPoint x="210.0" y="210.0"/><mxPoint x="250.0" y="210.0"/><mxPoint x="250.0" y="170.0"/></Array></mxGeometry><mxCell as="parent" id="1ef32c16:13e510b008a:-7f77" parent="1ef32c16:13e510b008a:-7f76"/><ExplicitOutputPort as="source" connectable="0" dataType="UNKNOW_TYPE" id="1ef32c16:13e510b008a:-7f0f" ordering="2" parent="1ef32c16:13e510b008a:-7f12" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;spacingRight=5;rotation=0;flip=false;mirror=false" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="7.0" y="-4.0"/></ExplicitOutputPort><ExplicitInputPort as="target" connectable="0" dataType="REAL_MATRIX" id="1ef32c16:13e510b008a:-7f0a" ordering="2" parent="1ef32c16:13e510b008a:-7f4b" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;spacingLeft=5;rotation=0;flip=false;mirror=false"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="36.0"/></ExplicitInputPort></ExplicitLink><TextBlock id="1ef32c16:13e510b008a:-7f07" parent="1ef32c16:13e510b008a:-7f77" simulationFunctionType="DEFAULT" style="TEXT_f;flip=false;mirror=false" value="&lt;html&gt;&#10;  &lt;head&gt;&#10;    &lt;style type=&quot;text/css&quot;&gt;&#10;      &lt;!--&#10;        body { color: black; font-size: 11 pt; font-family: Arial,Helvetica }&#10;      --&gt;&#10;    &lt;/style&gt;&#10;    &#10;  &lt;/head&gt;&#10;  &lt;body&gt;&#10;    This is logical OR gate&#10;  &lt;/body&gt;&#10;&lt;/html&gt;&#10;"><mxGeometry as="geometry" height="20.0" width="200.0" x="300.0" y="100.0"/></TextBlock><TextBlock id="1ef32c16:13e510b008a:-7f66" parent="1ef32c16:13e510b008a:-7f77" simulationFunctionType="DEFAULT" style="TEXT_f;flip=false;mirror=false" value="&lt;html&gt;&#10;  &lt;head&gt;&#10;    &lt;style type=&quot;text/css&quot;&gt;&#10;      &lt;!--&#10;        body { color: black; font-size: 11 pt; font-family: Arial,Helvetica }&#10;      --&gt;&#10;    &lt;/style&gt;&#10;    &#10;  &lt;/head&gt;&#10;  &lt;body&gt;&#10;    ...&#10;  &lt;/body&gt;&#10;&lt;/html&gt;&#10;"><mxGeometry as="geometry" height="80.0" width="60.0" x="40.0" y="210.0"/></TextBlock></root></mxGraphModel><mxCell as="defaultParent" id="1ef32c16:13e510b008a:-7f77" parent="1ef32c16:13e510b008a:-7f76"/></XcosDiagram>