statechart_fig10_counter.svg 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
  3. "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
  4. <!-- Generated by graphviz version 2.40.1 (20161225.0304)
  5. -->
  6. <!-- Title: state transitions Pages: 1 -->
  7. <svg width="272pt" height="640pt"
  8. viewBox="0.00 0.00 272.00 640.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  9. <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 636)">
  10. <title>state transitions</title>
  11. <polygon fill="#ffffff" stroke="transparent" points="-4,4 -4,-636 268,-636 268,4 -4,4"/>
  12. <g id="clust1" class="cluster">
  13. <title>cluster__Counter</title>
  14. <path fill="none" stroke="#000000" stroke-width="2" d="M20,-8C20,-8 244,-8 244,-8 250,-8 256,-14 256,-20 256,-20 256,-581 256,-581 256,-587 250,-593 244,-593 244,-593 20,-593 20,-593 14,-593 8,-587 8,-581 8,-581 8,-20 8,-20 8,-14 14,-8 20,-8"/>
  15. <text text-anchor="start" x="110.6622" y="-574.2" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#000000">Counter</text>
  16. </g>
  17. <g id="clust2" class="cluster">
  18. <title>cluster__Counter_Status</title>
  19. <polygon fill="none" stroke="#000000" stroke-dasharray="5,2" points="120,-16 120,-216 248,-216 248,-16 120,-16"/>
  20. <text text-anchor="start" x="166.993" y="-197.2" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#000000">Status</text>
  21. </g>
  22. <g id="clust3" class="cluster">
  23. <title>cluster__Counter_Bit_2</title>
  24. <polygon fill="none" stroke="#000000" stroke-dasharray="5,2" points="176,-262 176,-555 248,-555 248,-262 176,-262"/>
  25. <text text-anchor="start" x="198.829" y="-536.2" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#000000">Bit_2</text>
  26. </g>
  27. <g id="clust4" class="cluster">
  28. <title>cluster__Counter_Bit_1</title>
  29. <polygon fill="none" stroke="#000000" stroke-dasharray="5,2" points="24,-262 24,-555 168,-555 168,-262 24,-262"/>
  30. <text text-anchor="start" x="82.829" y="-536.2" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#000000">Bit_1</text>
  31. </g>
  32. <!-- __initial -->
  33. <g id="node1" class="node">
  34. <title>__initial</title>
  35. <ellipse fill="#000000" stroke="#000000" stroke-width="2" cx="16" cy="-626.5" rx="5.5" ry="5.5"/>
  36. </g>
  37. <!-- _Counter -->
  38. <!-- __initial&#45;&gt;_Counter -->
  39. <g id="edge1" class="edge">
  40. <title>__initial&#45;&gt;_Counter</title>
  41. <path fill="none" stroke="#000000" d="M16,-620.9533C16,-616.7779 16,-610.5043 16,-603.0332"/>
  42. <polygon fill="#000000" stroke="#000000" points="19.5001,-602.9971 16,-592.9971 12.5001,-602.9972 19.5001,-602.9971"/>
  43. <text text-anchor="middle" x="17.3895" y="-604" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000"> </text>
  44. </g>
  45. <!-- _Counter_Status -->
  46. <!-- _Counter_Status_initial -->
  47. <g id="node4" class="node">
  48. <title>_Counter_Status_initial</title>
  49. <ellipse fill="#000000" stroke="#000000" stroke-width="2" cx="212" cy="-160" rx="5.5" ry="5.5"/>
  50. </g>
  51. <!-- _Counter_Status_Counting -->
  52. <g id="node6" class="node">
  53. <title>_Counter_Status_Counting</title>
  54. <polygon fill="transparent" stroke="transparent" stroke-width="2" points="219,-60 149,-60 149,-24 219,-24 219,-60"/>
  55. <text text-anchor="start" x="159.9928" y="-38.2" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#000000">Counting</text>
  56. <path fill="none" stroke="#000000" stroke-width="2" d="M161.3333,-25C161.3333,-25 206.6667,-25 206.6667,-25 212.3333,-25 218,-30.6667 218,-36.3333 218,-36.3333 218,-47.6667 218,-47.6667 218,-53.3333 212.3333,-59 206.6667,-59 206.6667,-59 161.3333,-59 161.3333,-59 155.6667,-59 150,-53.3333 150,-47.6667 150,-47.6667 150,-36.3333 150,-36.3333 150,-30.6667 155.6667,-25 161.3333,-25"/>
  57. </g>
  58. <!-- _Counter_Status_initial&#45;&gt;_Counter_Status_Counting -->
  59. <g id="edge2" class="edge">
  60. <title>_Counter_Status_initial&#45;&gt;_Counter_Status_Counting</title>
  61. <path fill="none" stroke="#000000" d="M215.7109,-155.2521C220.4375,-148.7156 228,-136.398 228,-124.5 228,-124.5 228,-124.5 228,-77.5 228,-73.7549 227.0225,-70.3376 225.359,-67.2335"/>
  62. <polygon fill="#000000" stroke="#000000" points="228.0404,-64.9815 219.0959,-59.3028 222.5469,-69.3199 228.0404,-64.9815"/>
  63. <text text-anchor="middle" x="229.3895" y="-98" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000"> </text>
  64. </g>
  65. <!-- _Counter_Status_Max -->
  66. <g id="node5" class="node">
  67. <title>_Counter_Status_Max</title>
  68. <polygon fill="transparent" stroke="transparent" stroke-width="2" points="184,-178 128,-178 128,-142 184,-142 184,-178"/>
  69. <text text-anchor="start" x="144.6672" y="-156.2" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#000000">Max</text>
  70. <path fill="none" stroke="#000000" stroke-width="2" d="M140.3333,-143C140.3333,-143 171.6667,-143 171.6667,-143 177.3333,-143 183,-148.6667 183,-154.3333 183,-154.3333 183,-165.6667 183,-165.6667 183,-171.3333 177.3333,-177 171.6667,-177 171.6667,-177 140.3333,-177 140.3333,-177 134.6667,-177 129,-171.3333 129,-165.6667 129,-165.6667 129,-154.3333 129,-154.3333 129,-148.6667 134.6667,-143 140.3333,-143"/>
  71. </g>
  72. <!-- _Counter_Status_Max&#45;&gt;_Counter_Status_Counting -->
  73. <g id="edge3" class="edge">
  74. <title>_Counter_Status_Max&#45;&gt;_Counter_Status_Counting</title>
  75. <path fill="none" stroke="#000000" d="M153.8839,-141.9651C153.3875,-136.3756 153,-130.1903 153,-124.5 153,-124.5 153,-124.5 153,-77.5 153,-74.5083 153.6323,-71.6471 154.7164,-68.94"/>
  76. <polygon fill="#000000" stroke="#000000" points="157.7198,-70.7371 159.8799,-60.3648 151.723,-67.1262 157.7198,-70.7371"/>
  77. <text text-anchor="start" x="153" y="-98" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">reset &#160;&#160;</text>
  78. </g>
  79. <!-- _Counter_Bit_2 -->
  80. <!-- _Counter_Bit_2_initial -->
  81. <g id="node8" class="node">
  82. <title>_Counter_Bit_2_initial</title>
  83. <ellipse fill="#000000" stroke="#000000" stroke-width="2" cx="212" cy="-511.5" rx="5.5" ry="5.5"/>
  84. </g>
  85. <!-- _Counter_Bit_2_Bit_21 -->
  86. <g id="node10" class="node">
  87. <title>_Counter_Bit_2_Bit_21</title>
  88. <polygon fill="transparent" stroke="transparent" stroke-width="2" points="240,-424 184,-424 184,-388 240,-388 240,-424"/>
  89. <text text-anchor="start" x="194.9936" y="-402.2" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#000000">Bit_21</text>
  90. <path fill="none" stroke="#000000" stroke-width="2" d="M196.3333,-389C196.3333,-389 227.6667,-389 227.6667,-389 233.3333,-389 239,-394.6667 239,-400.3333 239,-400.3333 239,-411.6667 239,-411.6667 239,-417.3333 233.3333,-423 227.6667,-423 227.6667,-423 196.3333,-423 196.3333,-423 190.6667,-423 185,-417.3333 185,-411.6667 185,-411.6667 185,-400.3333 185,-400.3333 185,-394.6667 190.6667,-389 196.3333,-389"/>
  91. </g>
  92. <!-- _Counter_Bit_2_initial&#45;&gt;_Counter_Bit_2_Bit_21 -->
  93. <g id="edge4" class="edge">
  94. <title>_Counter_Bit_2_initial&#45;&gt;_Counter_Bit_2_Bit_21</title>
  95. <path fill="none" stroke="#000000" d="M212,-505.8288C212,-501.1736 212,-494.4097 212,-488.5 212,-488.5 212,-488.5 212,-441.5 212,-439.1079 212,-436.6252 212,-434.1342"/>
  96. <polygon fill="#000000" stroke="#000000" points="215.5001,-434.0597 212,-424.0598 208.5001,-434.0598 215.5001,-434.0597"/>
  97. <text text-anchor="middle" x="213.3895" y="-462" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000"> </text>
  98. </g>
  99. <!-- _Counter_Bit_2_Bit_22 -->
  100. <g id="node9" class="node">
  101. <title>_Counter_Bit_2_Bit_22</title>
  102. <polygon fill="transparent" stroke="transparent" stroke-width="2" points="240,-306 184,-306 184,-270 240,-270 240,-306"/>
  103. <text text-anchor="start" x="194.9936" y="-284.2" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#000000">Bit_22</text>
  104. <path fill="none" stroke="#000000" stroke-width="2" d="M196.3333,-271C196.3333,-271 227.6667,-271 227.6667,-271 233.3333,-271 239,-276.6667 239,-282.3333 239,-282.3333 239,-293.6667 239,-293.6667 239,-299.3333 233.3333,-305 227.6667,-305 227.6667,-305 196.3333,-305 196.3333,-305 190.6667,-305 185,-299.3333 185,-293.6667 185,-293.6667 185,-282.3333 185,-282.3333 185,-276.6667 190.6667,-271 196.3333,-271"/>
  105. </g>
  106. <!-- _Counter_Bit_2_Bit_22&#45;&gt;_Counter_Status_Max -->
  107. <g id="edge5" class="edge">
  108. <title>_Counter_Bit_2_Bit_22&#45;&gt;_Counter_Status_Max</title>
  109. <path fill="none" stroke="#000000" d="M204.0953,-269.9322C194.7264,-248.5176 179.0133,-212.6019 168.1083,-187.676"/>
  110. <polygon fill="#000000" stroke="#000000" points="171.2606,-186.149 164.0458,-178.3904 164.8475,-188.9548 171.2606,-186.149"/>
  111. <text text-anchor="start" x="193" y="-236" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">tk1^out.done &#160;&#160;</text>
  112. </g>
  113. <!-- _Counter_Bit_2_Bit_21&#45;&gt;_Counter_Bit_2_Bit_22 -->
  114. <g id="edge6" class="edge">
  115. <title>_Counter_Bit_2_Bit_21&#45;&gt;_Counter_Bit_2_Bit_22</title>
  116. <path fill="none" stroke="#000000" d="M212,-387.9402C212,-382.3497 212,-376.1701 212,-370.5 212,-370.5 212,-370.5 212,-323.5 212,-321.1079 212,-318.6252 212,-316.1342"/>
  117. <polygon fill="#000000" stroke="#000000" points="215.5001,-316.0597 212,-306.0598 208.5001,-316.0598 215.5001,-316.0597"/>
  118. <text text-anchor="start" x="212" y="-344" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">tk1 &#160;&#160;</text>
  119. </g>
  120. <!-- _Counter_Bit_1 -->
  121. <!-- _Counter_Bit_1_initial -->
  122. <g id="node12" class="node">
  123. <title>_Counter_Bit_1_initial</title>
  124. <ellipse fill="#000000" stroke="#000000" stroke-width="2" cx="78" cy="-511.5" rx="5.5" ry="5.5"/>
  125. </g>
  126. <!-- _Counter_Bit_1_Bit_11 -->
  127. <g id="node14" class="node">
  128. <title>_Counter_Bit_1_Bit_11</title>
  129. <polygon fill="transparent" stroke="transparent" stroke-width="2" points="106,-424 50,-424 50,-388 106,-388 106,-424"/>
  130. <text text-anchor="start" x="60.9936" y="-402.2" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#000000">Bit_11</text>
  131. <path fill="none" stroke="#000000" stroke-width="2" d="M62.3333,-389C62.3333,-389 93.6667,-389 93.6667,-389 99.3333,-389 105,-394.6667 105,-400.3333 105,-400.3333 105,-411.6667 105,-411.6667 105,-417.3333 99.3333,-423 93.6667,-423 93.6667,-423 62.3333,-423 62.3333,-423 56.6667,-423 51,-417.3333 51,-411.6667 51,-411.6667 51,-400.3333 51,-400.3333 51,-394.6667 56.6667,-389 62.3333,-389"/>
  132. </g>
  133. <!-- _Counter_Bit_1_initial&#45;&gt;_Counter_Bit_1_Bit_11 -->
  134. <g id="edge7" class="edge">
  135. <title>_Counter_Bit_1_initial&#45;&gt;_Counter_Bit_1_Bit_11</title>
  136. <path fill="none" stroke="#000000" d="M78,-505.8288C78,-501.1736 78,-494.4097 78,-488.5 78,-488.5 78,-488.5 78,-441.5 78,-439.1079 78,-436.6252 78,-434.1342"/>
  137. <polygon fill="#000000" stroke="#000000" points="81.5001,-434.0597 78,-424.0598 74.5001,-434.0598 81.5001,-434.0597"/>
  138. <text text-anchor="middle" x="79.3895" y="-462" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000"> </text>
  139. </g>
  140. <!-- _Counter_Bit_1_Bit_12 -->
  141. <g id="node13" class="node">
  142. <title>_Counter_Bit_1_Bit_12</title>
  143. <polygon fill="transparent" stroke="transparent" stroke-width="2" points="124,-306 68,-306 68,-270 124,-270 124,-306"/>
  144. <text text-anchor="start" x="78.9936" y="-284.2" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#000000">Bit_12</text>
  145. <path fill="none" stroke="#000000" stroke-width="2" d="M80.3333,-271C80.3333,-271 111.6667,-271 111.6667,-271 117.3333,-271 123,-276.6667 123,-282.3333 123,-282.3333 123,-293.6667 123,-293.6667 123,-299.3333 117.3333,-305 111.6667,-305 111.6667,-305 80.3333,-305 80.3333,-305 74.6667,-305 69,-299.3333 69,-293.6667 69,-293.6667 69,-282.3333 69,-282.3333 69,-276.6667 74.6667,-271 80.3333,-271"/>
  146. </g>
  147. <!-- _Counter_Bit_1_Bit_12&#45;&gt;_Counter_Bit_1_Bit_11 -->
  148. <g id="edge8" class="edge">
  149. <title>_Counter_Bit_1_Bit_12&#45;&gt;_Counter_Bit_1_Bit_11</title>
  150. <path fill="none" stroke="#000000" d="M67.7524,-301.1838C60.1549,-306.7482 54,-314.1435 54,-323.5 54,-370.5 54,-370.5 54,-370.5 54,-373.3317 54.5305,-376.1061 55.4339,-378.7776"/>
  151. <polygon fill="#000000" stroke="#000000" points="52.421,-380.5757 60.0562,-387.9211 58.6681,-377.4176 52.421,-380.5757"/>
  152. <text text-anchor="start" x="54" y="-344" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">tk0^tk1 &#160;&#160;</text>
  153. </g>
  154. <!-- _Counter_Bit_1_Bit_11&#45;&gt;_Counter_Bit_1_Bit_12 -->
  155. <g id="edge9" class="edge">
  156. <title>_Counter_Bit_1_Bit_11&#45;&gt;_Counter_Bit_1_Bit_12</title>
  157. <path fill="none" stroke="#000000" d="M106.2431,-400.4378C121.8052,-395.5506 138,-386.5975 138,-370.5 138,-370.5 138,-370.5 138,-323.5 138,-317.506 135.474,-312.3169 131.661,-307.8984"/>
  158. <polygon fill="#000000" stroke="#000000" points="134.009,-305.3028 124.2476,-301.1838 129.3098,-310.491 134.009,-305.3028"/>
  159. <text text-anchor="start" x="138" y="-344" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">tk0 &#160;&#160;</text>
  160. </g>
  161. </g>
  162. </svg>