blob: a0d27c5b76274cc73aa792f00625ee8e6180b71e (
plain)
1
|
<?xml version="1.0" encoding="UTF-8"?><XcosDiagram background="-1" title="ex_6_2_a"><mxGraphModel as="model"><root><mxCell id="-5b17779:13f3444e388:-7fff"/><mxCell id="-5b17779:13f3444e388:-8000" parent="-5b17779:13f3444e388:-7fff"/><BasicBlock dependsOnU="1" id="-5b17779:13f3444e388:-7fdc" interfaceFunctionName="LOGICAL_OP" parent="-5b17779:13f3444e388:-8000" simulationFunctionName="logicalop" simulationFunctionType="C_OR_FORTRAN" style="LOGICAL_OP"><ScilabString as="exprs" height="4" width="1"><data column="0" line="0" value="2"/><data column="0" line="1" value="4"/><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="4.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="120.0" width="140.0" x="150.0" y="50.0"/></BasicBlock><ExplicitOutputPort connectable="0" dataType="REAL_MATRIX" id="-5b17779:13f3444e388:-7fb6" ordering="1" parent="-5b17779:13f3444e388:-7fdc" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;spacingRight=5;rotation=0"><mxGeometry as="geometry" height="8.0" width="8.0" x="140.0" y="56.0"/></ExplicitOutputPort><ExplicitInputPort connectable="0" dataType="REAL_MATRIX" id="-5b17779:13f3444e388:-7fb8" ordering="1" parent="-5b17779:13f3444e388:-7fdc" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;spacingLeft=5;rotation=0"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="26.0"/></ExplicitInputPort><ExplicitInputPort connectable="0" dataType="REAL_MATRIX" id="-5b17779:13f3444e388:-7fb7" ordering="2" parent="-5b17779:13f3444e388:-7fdc" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;spacingLeft=5;rotation=0"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="86.0"/></ExplicitInputPort><ConstBlock blockType="d" id="-5b17779:13f3444e388:-7fcb" parent="-5b17779:13f3444e388:-8000" simulationFunctionType="C_OR_FORTRAN" value="A"><ScilabString as="exprs" height="1" width="1"><data column="0" line="0" value="1"/></ScilabString><ScilabDouble as="realParameters" height="1" width="1"><data column="0" line="0" realPart="1.0"/></ScilabDouble><ScilabDouble as="integerParameters" height="0" width="0"/><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="50.0" width="40.0" x="50.0" y="50.0"/></ConstBlock><ExplicitOutputPort connectable="0" dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-5b17779:13f3444e388:-7fca" ordering="1" parent="-5b17779:13f3444e388:-7fcb" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="40.0" y="16.0"/></ExplicitOutputPort><ConstBlock blockType="d" id="-5b17779:13f3444e388:-7fc9" parent="-5b17779:13f3444e388:-8000" simulationFunctionType="C_OR_FORTRAN" value="B"><ScilabString as="exprs" height="1" width="1"><data column="0" line="0" value="1"/></ScilabString><ScilabDouble as="realParameters" height="1" width="1"><data column="0" line="0" realPart="1.0"/></ScilabDouble><ScilabDouble as="integerParameters" height="0" width="0"/><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="50.0" width="40.0" x="50.0" y="120.0"/></ConstBlock><ExplicitOutputPort connectable="0" dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-5b17779:13f3444e388:-7fc8" ordering="1" parent="-5b17779:13f3444e388:-7fc9" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="40.0" y="16.0"/></ExplicitOutputPort><ExplicitOutBlock id="-5b17779:13f3444e388:-7fc2" parent="-5b17779:13f3444e388:-8000" simulationFunctionType="DEFAULT" value="SUM"><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="390.0" y="102.0"/></ExplicitOutBlock><ExplicitInputPort connectable="0" dataType="UNKNOW_TYPE" id="-5b17779:13f3444e388:-7fc1" ordering="1" parent="-5b17779:13f3444e388:-7fc2" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="16.0"/></ExplicitInputPort><ExplicitLink id="-5b17779:13f3444e388:-7fbc"><mxGeometry as="geometry"><mxPoint as="sourcePoint" x="94.0" y="140.0"/><mxPoint as="targetPoint" x="140.0" y="140.0"/><Array as="points" scilabClass=""><mxPoint x="130.0" y="140.0"/></Array></mxGeometry><mxCell as="parent" id="-5b17779:13f3444e388:-8000" parent="-5b17779:13f3444e388:-7fff"/><ExplicitOutputPort as="source" connectable="0" dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-5b17779:13f3444e388:-7fc8" ordering="1" parent="-5b17779:13f3444e388:-7fc9" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="40.0" y="16.0"/></ExplicitOutputPort><ExplicitInputPort as="target" connectable="0" dataType="REAL_MATRIX" id="-5b17779:13f3444e388:-7fb7" ordering="2" parent="-5b17779:13f3444e388:-7fdc" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;spacingLeft=5;rotation=0"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="86.0"/></ExplicitInputPort></ExplicitLink><ExplicitLink id="-5b17779:13f3444e388:-7fbb"><mxGeometry as="geometry"><mxPoint as="sourcePoint" x="94.0" y="70.0"/><mxPoint as="targetPoint" x="140.0" y="80.0"/><Array as="points" scilabClass=""><mxPoint x="120.0" y="70.0"/></Array></mxGeometry><mxCell as="parent" id="-5b17779:13f3444e388:-8000" parent="-5b17779:13f3444e388:-7fff"/><ExplicitOutputPort as="source" connectable="0" dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-5b17779:13f3444e388:-7fca" ordering="1" parent="-5b17779:13f3444e388:-7fcb" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="40.0" y="16.0"/></ExplicitOutputPort><ExplicitInputPort as="target" connectable="0" dataType="REAL_MATRIX" id="-5b17779:13f3444e388:-7fb8" ordering="1" parent="-5b17779:13f3444e388:-7fdc" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;spacingLeft=5;rotation=0"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="26.0"/></ExplicitInputPort></ExplicitLink><ExplicitLink id="-5b17779:13f3444e388:-7fba"><mxGeometry as="geometry"><mxPoint as="sourcePoint" x="294.0" y="110.0"/><mxPoint as="targetPoint" x="390.0" y="120.0"/><Array as="points" scilabClass=""><mxPoint x="320.0" y="110.0"/></Array></mxGeometry><mxCell as="parent" id="-5b17779:13f3444e388:-8000" parent="-5b17779:13f3444e388:-7fff"/><ExplicitOutputPort as="source" connectable="0" dataType="REAL_MATRIX" id="-5b17779:13f3444e388:-7fb6" ordering="1" parent="-5b17779:13f3444e388:-7fdc" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;spacingRight=5;rotation=0"><mxGeometry as="geometry" height="8.0" width="8.0" x="140.0" y="56.0"/></ExplicitOutputPort><ExplicitInputPort as="target" connectable="0" dataType="UNKNOW_TYPE" id="-5b17779:13f3444e388:-7fc1" ordering="1" parent="-5b17779:13f3444e388:-7fc2" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="16.0"/></ExplicitInputPort></ExplicitLink><TextBlock id="-5b17779:13f3444e388:-7fb2" parent="-5b17779:13f3444e388:-8000" simulationFunctionType="DEFAULT" value="<html> <head> <style type="text/css"> <!-- body { color: black; font-size: 11 pt; font-family: Arial,Helvetica } --> </style> </head> <body> EXOR gives SUM </body> </html> "><mxGeometry as="geometry" height="30.0" width="200.0" x="160.0" y="210.0"/></TextBlock><BasicBlock dependsOnU="1" id="-5b17779:13f3444e388:-7fa4" interfaceFunctionName="LOGICAL_OP" parent="-5b17779:13f3444e388:-8000" simulationFunctionName="logicalop" simulationFunctionType="C_OR_FORTRAN" style="LOGICAL_OP"><ScilabString as="exprs" height="2" width="1"><data column="0" line="0" value="2"/><data column="0" line="1" value="0"/></ScilabString><ScilabDouble as="realParameters" height="0" width="0"/><ScilabDouble as="integerParameters" height="1" width="1"><data column="0" line="0" realPart="0.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="100.0" width="140.0" x="170.0" y="290.0"/></BasicBlock><ExplicitOutputPort connectable="0" dataColumns="1" dataType="REAL_MATRIX" id="-5b17779:13f3444e388:-7fa3" ordering="1" parent="-5b17779:13f3444e388:-7fa4" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="140.0" y="46.0"/></ExplicitOutputPort><ExplicitInputPort connectable="0" dataColumns="1" dataType="REAL_MATRIX" id="-5b17779:13f3444e388:-7fa2" ordering="1" parent="-5b17779:13f3444e388:-7fa4" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="16.0"/></ExplicitInputPort><ExplicitInputPort connectable="0" dataColumns="1" dataType="REAL_MATRIX" id="-5b17779:13f3444e388:-7fa1" ordering="2" parent="-5b17779:13f3444e388:-7fa4" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="76.0"/></ExplicitInputPort><ConstBlock blockType="d" id="-5b17779:13f3444e388:-7f9e" parent="-5b17779:13f3444e388:-8000" simulationFunctionType="C_OR_FORTRAN" value="A'"><ScilabString as="exprs" height="1" width="1"><data column="0" line="0" value="1"/></ScilabString><ScilabDouble as="realParameters" height="1" width="1"><data column="0" line="0" realPart="1.0"/></ScilabDouble><ScilabDouble as="integerParameters" height="0" width="0"/><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="50.0" width="40.0" x="80.0" y="290.0"/></ConstBlock><ExplicitOutputPort connectable="0" dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-5b17779:13f3444e388:-7f9d" ordering="1" parent="-5b17779:13f3444e388:-7f9e" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="40.0" y="16.0"/></ExplicitOutputPort><ConstBlock blockType="d" id="-5b17779:13f3444e388:-7f96" parent="-5b17779:13f3444e388:-8000" simulationFunctionType="C_OR_FORTRAN" value="B"><ScilabString as="exprs" height="1" width="1"><data column="0" line="0" value="1"/></ScilabString><ScilabDouble as="realParameters" height="1" width="1"><data column="0" line="0" realPart="1.0"/></ScilabDouble><ScilabDouble as="integerParameters" height="0" width="0"/><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="50.0" width="40.0" x="80.0" y="350.0"/></ConstBlock><ExplicitOutputPort connectable="0" dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-5b17779:13f3444e388:-7f95" ordering="1" parent="-5b17779:13f3444e388:-7f96" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="40.0" y="16.0"/></ExplicitOutputPort><ExplicitOutBlock id="-5b17779:13f3444e388:-7f90" parent="-5b17779:13f3444e388:-8000" simulationFunctionType="DEFAULT" value="CARRY"><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="70.0" x="360.0" y="320.0"/></ExplicitOutBlock><ExplicitInputPort connectable="0" dataType="UNKNOW_TYPE" id="-5b17779:13f3444e388:-7f8f" ordering="1" parent="-5b17779:13f3444e388:-7f90" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="16.0"/></ExplicitInputPort><ExplicitLink id="-5b17779:13f3444e388:-7f8c"><mxGeometry as="geometry"><mxPoint as="sourcePoint" x="124.0" y="310.0"/><mxPoint as="targetPoint" x="160.0" y="310.0"/><Array as="points" scilabClass=""><mxPoint x="140.0" y="310.0"/></Array></mxGeometry><mxCell as="parent" id="-5b17779:13f3444e388:-8000" parent="-5b17779:13f3444e388:-7fff"/><ExplicitOutputPort as="source" connectable="0" dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-5b17779:13f3444e388:-7f9d" ordering="1" parent="-5b17779:13f3444e388:-7f9e" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="40.0" y="16.0"/></ExplicitOutputPort><ExplicitInputPort as="target" connectable="0" dataColumns="1" dataType="REAL_MATRIX" id="-5b17779:13f3444e388:-7fa2" ordering="1" parent="-5b17779:13f3444e388:-7fa4" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="16.0"/></ExplicitInputPort></ExplicitLink><ExplicitLink id="-5b17779:13f3444e388:-7f8b"><mxGeometry as="geometry"><mxPoint as="sourcePoint" x="124.0" y="370.0"/><mxPoint as="targetPoint" x="170.0" y="370.0"/><Array as="points" scilabClass=""><mxPoint x="140.0" y="370.0"/></Array></mxGeometry><mxCell as="parent" id="-5b17779:13f3444e388:-8000" parent="-5b17779:13f3444e388:-7fff"/><ExplicitOutputPort as="source" connectable="0" dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-5b17779:13f3444e388:-7f95" ordering="1" parent="-5b17779:13f3444e388:-7f96" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="40.0" y="16.0"/></ExplicitOutputPort><ExplicitInputPort as="target" connectable="0" dataColumns="1" dataType="REAL_MATRIX" id="-5b17779:13f3444e388:-7fa1" ordering="2" parent="-5b17779:13f3444e388:-7fa4" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="76.0"/></ExplicitInputPort></ExplicitLink><ExplicitLink id="-5b17779:13f3444e388:-7f8a"><mxGeometry as="geometry"><mxPoint as="sourcePoint" x="314.0" y="340.0"/><mxPoint as="targetPoint" x="360.0" y="340.0"/><Array as="points" scilabClass=""><mxPoint x="320.0" y="340.0"/></Array></mxGeometry><mxCell as="parent" id="-5b17779:13f3444e388:-8000" parent="-5b17779:13f3444e388:-7fff"/><ExplicitOutputPort as="source" connectable="0" dataColumns="1" dataType="REAL_MATRIX" id="-5b17779:13f3444e388:-7fa3" ordering="1" parent="-5b17779:13f3444e388:-7fa4" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="140.0" y="46.0"/></ExplicitOutputPort><ExplicitInputPort as="target" connectable="0" dataType="UNKNOW_TYPE" id="-5b17779:13f3444e388:-7f8f" ordering="1" parent="-5b17779:13f3444e388:-7f90" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="16.0"/></ExplicitInputPort></ExplicitLink><TextBlock id="-5b17779:13f3444e388:-7f89" parent="-5b17779:13f3444e388:-8000" simulationFunctionType="DEFAULT" value="<html> <head> <style type="text/css"> <!-- body { color: black; font-size: 11 pt; font-family: Arial,Helvetica } --> </style> </head> <body> Multiplication gives CARRY </body> </html> "><mxGeometry as="geometry" height="40.0" width="150.0" x="180.0" y="420.0"/></TextBlock></root></mxGraphModel><mxCell as="defaultParent" id="-5b17779:13f3444e388:-8000" parent="-5b17779:13f3444e388:-7fff"/></XcosDiagram>
|