-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdraw.h
94 lines (85 loc) · 317 KB
/
draw.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
char* start = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:svg=\"http://www.w3.org/2000/svg\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:sodipodi=\"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\" xmlns:inkscape=\"http://www.inkscape.org/namespaces/inkscape\" width=\"1350\" height=\"1000\" id=\"svg2\" sodipodi:version=\"0.32\" inkscape:version=\"0.48.4 r9939\" version=\"1.0\" sodipodi:docname=\"afterGrp.svg\" inkscape:output_extension=\"org.inkscape.output.svg.inkscape\" onload= \"refresh()\"> <script type=\"text/javascript\"> function refresh() { setTimeout(function () { location.reload()}, 1000);} </script> <defs id=\"defs4\"> <marker inkscape:stockid=\"Arrow1Lend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow1Lend\" style=\"overflow:visible\"> <path id=\"path4008\" d=\"M 0,0 5,-5 -12.5,0 5,5 0,0 z\" style=\"fill-rule:evenodd;stroke:#000000;stroke-width:1pt\" transform=\"matrix(-0.8,0,0,-0.8,-10,0)\" inkscape:connector-curvature=\"0\" /> </marker> <marker inkscape:stockid=\"Arrow1Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow1Mend\" style=\"overflow:visible\"> <path id=\"path4014\" d=\"M 0,0 5,-5 -12.5,0 5,5 0,0 z\" style=\"fill-rule:evenodd;stroke:#000000;stroke-width:1pt\" transform=\"matrix(-0.4,0,0,-0.4,-4,0)\" inkscape:connector-curvature=\"0\" /> </marker> <marker inkscape:stockid=\"Arrow2Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow2Mend\" style=\"overflow:visible\"> <path id=\"path4032\" style=\"fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round\" d=\"M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z\" transform=\"scale(-0.6,-0.6)\" inkscape:connector-curvature=\"0\" /> </marker> <marker inkscape:stockid=\"Arrow2Lend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow2Lend\" style=\"overflow:visible\"> <path id=\"path4026\" style=\"fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round\" d=\"M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z\" transform=\"matrix(-1.1,0,0,-1.1,-1.1,0)\" inkscape:connector-curvature=\"0\" /> </marker> <inkscape:perspective sodipodi:type=\"inkscape:persp3d\" inkscape:vp_x=\"0 : 526.18109 : 1\" inkscape:vp_y=\"0 : 1000 : 0\" inkscape:vp_z=\"744.09448 : 526.18109 : 1\" inkscape:persp3d-origin=\"372.04724 : 350.78739 : 1\" id=\"perspective10\" /> <inkscape:perspective id=\"perspective2390\" inkscape:persp3d-origin=\"372.04724 : 350.78739 : 1\" inkscape:vp_z=\"744.09448 : 526.18109 : 1\" inkscape:vp_y=\"0 : 1000 : 0\" inkscape:vp_x=\"0 : 526.18109 : 1\" sodipodi:type=\"inkscape:persp3d\" /> <inkscape:perspective id=\"perspective2403\" inkscape:persp3d-origin=\"372.04724 : 350.78739 : 1\" inkscape:vp_z=\"744.09448 : 526.18109 : 1\" inkscape:vp_y=\"0 : 1000 : 0\" inkscape:vp_x=\"0 : 526.18109 : 1\" sodipodi:type=\"inkscape:persp3d\" /> <marker inkscape:stockid=\"Arrow2Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow2Mend-6\" style=\"overflow:visible\"> <path inkscape:connector-curvature=\"0\" id=\"path4032-7\" style=\"fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round\" d=\"M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z\" transform=\"scale(-0.6,-0.6)\" /> </marker> <marker inkscape:stockid=\"Arrow1Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow1Mend-6\" style=\"overflow:visible\"> <path inkscape:connector-curvature=\"0\" id=\"path4014-0\" d=\"M 0,0 5,-5 -12.5,0 5,5 0,0 z\" style=\"fill-rule:evenodd;stroke:#000000;stroke-width:1pt\" transform=\"matrix(-0.4,0,0,-0.4,-4,0)\" /> </marker> <marker inkscape:stockid=\"Arrow1Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow1Mend-2\" style=\"overflow:visible\"> <path inkscape:connector-curvature=\"0\" id=\"path4014-6\" d=\"M 0,0 5,-5 -12.5,0 5,5 0,0 z\" style=\"fill-rule:evenodd;stroke:#000000;stroke-width:1pt\" transform=\"matrix(-0.4,0,0,-0.4,-4,0)\" /> </marker> <marker inkscape:stockid=\"Arrow1Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow1Mend-2-7\" style=\"overflow:visible\"> <path inkscape:connector-curvature=\"0\" id=\"path4014-6-9\" d=\"M 0,0 5,-5 -12.5,0 5,5 0,0 z\" style=\"fill-rule:evenodd;stroke:#000000;stroke-width:1pt\" transform=\"matrix(-0.4,0,0,-0.4,-4,0)\" /> </marker> <marker inkscape:stockid=\"Arrow1Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow1Mend-2-5\" style=\"overflow:visible\"> <path inkscape:connector-curvature=\"0\" id=\"path4014-6-92\" d=\"M 0,0 5,-5 -12.5,0 5,5 0,0 z\" style=\"fill-rule:evenodd;stroke:#000000;stroke-width:1pt\" transform=\"matrix(-0.4,0,0,-0.4,-4,0)\" /> </marker> <marker inkscape:stockid=\"Arrow1Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow1Mend-2-8\" style=\"overflow:visible\"> <path inkscape:connector-curvature=\"0\" id=\"path4014-6-4\" d=\"M 0,0 5,-5 -12.5,0 5,5 0,0 z\" style=\"fill-rule:evenodd;stroke:#000000;stroke-width:1pt\" transform=\"matrix(-0.4,0,0,-0.4,-4,0)\" /> </marker> <marker inkscape:stockid=\"Arrow1Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow1Mend-2-5-6\" style=\"overflow:visible\"> <path inkscape:connector-curvature=\"0\" id=\"path4014-6-92-3\" d=\"M 0,0 5,-5 -12.5,0 5,5 0,0 z\" style=\"fill-rule:evenodd;stroke:#000000;stroke-width:1pt\" transform=\"matrix(-0.4,0,0,-0.4,-4,0)\" /> </marker> <marker inkscape:stockid=\"Arrow1Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow1Mend-2-5-61\" style=\"overflow:visible\"> <path inkscape:connector-curvature=\"0\" id=\"path4014-6-92-5\" d=\"M 0,0 5,-5 -12.5,0 5,5 0,0 z\" style=\"fill-rule:evenodd;stroke:#000000;stroke-width:1pt\" transform=\"matrix(-0.4,0,0,-0.4,-4,0)\" /> </marker> <marker inkscape:stockid=\"Arrow1Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow1Mend-2-5-7\" style=\"overflow:visible\"> <path inkscape:connector-curvature=\"0\" id=\"path4014-6-92-6\" d=\"M 0,0 5,-5 -12.5,0 5,5 0,0 z\" style=\"fill-rule:evenodd;stroke:#000000;stroke-width:1pt\" transform=\"matrix(-0.4,0,0,-0.4,-4,0)\" /> </marker> <marker inkscape:stockid=\"Arrow1Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow1Mend-2-5-7-6\" style=\"overflow:visible\"> <path inkscape:connector-curvature=\"0\" id=\"path4014-6-92-6-9\" d=\"M 0,0 5,-5 -12.5,0 5,5 0,0 z\" style=\"fill-rule:evenodd;stroke:#000000;stroke-width:1pt\" transform=\"matrix(-0.4,0,0,-0.4,-4,0)\" /> </marker> <marker inkscape:stockid=\"Arrow2Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow2Mend-6-6\" style=\"overflow:visible\"> <path inkscape:connector-curvature=\"0\" id=\"path4032-7-8\" style=\"fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round\" d=\"M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z\" transform=\"scale(-0.6,-0.6)\" /> </marker> <marker inkscape:stockid=\"Arrow1Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow1Mend-2-5-7-6-6\" style=\"overflow:visible\"> <path inkscape:connector-curvature=\"0\" id=\"path4014-6-92-6-9-4\" d=\"M 0,0 5,-5 -12.5,0 5,5 0,0 z\" style=\"fill-rule:evenodd;stroke:#000000;stroke-width:1pt\" transform=\"matrix(-0.4,0,0,-0.4,-4,0)\" /> </marker> <marker inkscape:stockid=\"Arrow1Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow1Mend-27\" style=\"overflow:visible\"> <path inkscape:connector-curvature=\"0\" id=\"path4014-2\" d=\"M 0,0 5,-5 -12.5,0 5,5 0,0 z\" style=\"fill-rule:evenodd;stroke:#000000;stroke-width:1pt\" transform=\"matrix(-0.4,0,0,-0.4,-4,0)\" /> </marker> <marker inkscape:stockid=\"Arrow1Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow1Mend-2-9\" style=\"overflow:visible\"> <path inkscape:connector-curvature=\"0\" id=\"path4014-6-49\" d=\"M 0,0 5,-5 -12.5,0 5,5 0,0 z\" style=\"fill-rule:evenodd;stroke:#000000;stroke-width:1pt\" transform=\"matrix(-0.4,0,0,-0.4,-4,0)\" /> </marker> <marker inkscape:stockid=\"Arrow1Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow1Mend-2-5-7-6-9\" style=\"overflow:visible\"> <path inkscape:connector-curvature=\"0\" id=\"path4014-6-92-6-9-1\" d=\"M 0,0 5,-5 -12.5,0 5,5 0,0 z\" style=\"fill-rule:evenodd;stroke:#000000;stroke-width:1pt\" transform=\"matrix(-0.4,0,0,-0.4,-4,0)\" /> </marker> <marker inkscape:stockid=\"Arrow1Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow1Mend-2-5-7-6-9-3\" style=\"overflow:visible\"> <path inkscape:connector-curvature=\"0\" id=\"path4014-6-92-6-9-1-6\" d=\"M 0,0 5,-5 -12.5,0 5,5 0,0 z\" style=\"fill-rule:evenodd;stroke:#000000;stroke-width:1pt\" transform=\"matrix(-0.4,0,0,-0.4,-4,0)\" /> </marker> <marker inkscape:stockid=\"Arrow2Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow2Mend-6-6-7\" style=\"overflow:visible\"> <path inkscape:connector-curvature=\"0\" id=\"path4032-7-8-5\" style=\"fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round\" d=\"M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z\" transform=\"scale(-0.6,-0.6)\" /> </marker> <marker inkscape:stockid=\"Arrow1Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow1Mend-2-5-7-6-9-35\" style=\"overflow:visible\"> <path inkscape:connector-curvature=\"0\" id=\"path4014-6-92-6-9-1-62\" d=\"M 0,0 5,-5 -12.5,0 5,5 0,0 z\" style=\"fill-rule:evenodd;stroke:#000000;stroke-width:1pt\" transform=\"matrix(-0.4,0,0,-0.4,-4,0)\" /> </marker> <marker inkscape:stockid=\"Arrow1Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow1Mend-2-5-7-6-9-9\" style=\"overflow:visible\"> <path inkscape:connector-curvature=\"0\" id=\"path4014-6-92-6-9-1-1\" d=\"M 0,0 5,-5 -12.5,0 5,5 0,0 z\" style=\"fill-rule:evenodd;stroke:#000000;stroke-width:1pt\" transform=\"matrix(-0.4,0,0,-0.4,-4,0)\" /> </marker> <marker inkscape:stockid=\"Arrow2Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow2Mend-6-6-2\" style=\"overflow:visible\"> <path inkscape:connector-curvature=\"0\" id=\"path4032-7-8-7\" style=\"fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round\" d=\"M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z\" transform=\"scale(-0.6,-0.6)\" /> </marker> <marker inkscape:stockid=\"Arrow2Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow2Mend-6-6-0\" style=\"overflow:visible\"> <path inkscape:connector-curvature=\"0\" id=\"path4032-7-8-9\" style=\"fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round\" d=\"M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z\" transform=\"scale(-0.6,-0.6)\" /> </marker> <marker inkscape:stockid=\"Arrow1Mend\" orient=\"auto\" refY=\"0\" refX=\"0\" id=\"Arrow1Mend-2-5-7-6-9-36\" style=\"overflow:visible\"> <path inkscape:connector-curvature=\"0\" id=\"path4014-6-92-6-9-1-0\" d=\"M 0,0 5,-5 -12.5,0 5,5 0,0 z\" style=\"fill-rule:evenodd;stroke:#000000;stroke-width:1pt\" transform=\"matrix(-0.4,0,0,-0.4,-4,0)\" /> </marker> </defs> <sodipodi:namedview id=\"base\" pagecolor=\"#ffffff\" bordercolor=\"#666666\" borderopacity=\"1.0\" gridtolerance=\"10000\" guidetolerance=\"10\" objecttolerance=\"10\" inkscape:pageopacity=\"0.0\" inkscape:pageshadow=\"2\" inkscape:zoom=\"0.5\" inkscape:cx=\"793.55327\" inkscape:cy=\"440.40662\" inkscape:document-units=\"px\" inkscape:current-layer=\"g3343\" showgrid=\"true\" inkscape:window-width=\"1301\" inkscape:window-height=\"744\" inkscape:window-x=\"65\" inkscape:window-y=\"24\" showguides=\"true\" inkscape:guide-bbox=\"true\" inkscape:window-maximized=\"1\" inkscape:snap-global=\"true\" inkscape:snap-bbox=\"false\"> <inkscape:grid type=\"xygrid\" id=\"grid2409\" visible=\"true\" enabled=\"true\" empspacing=\"5\" snapvisiblegridlinesonly=\"true\" /> </sodipodi:namedview> <metadata id=\"metadata7\"> <rdf:RDF> <cc:Work rdf:about=\"\"> <dc:format>image/svg+xml</dc:format> <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" /> <dc:title /> </cc:Work> </rdf:RDF> </metadata> <g inkscape:label=\"Layer 1\" inkscape:groupmode=\"layer\" id=\"layer1\" transform=\"translate(0,500)\"> <g id=\"mainGrp\" inkscape:label=\"#g3664\" style=\"fill:#000000;stroke:#110011;stroke-width:3\"> <g id=\"g3343\" transform=\"translate(25,-39)\"> <text xml:space=\"preserve\" style=\"font-size:12.1289854px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:none;stroke:#000000;stroke-width:1.01074874px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"288.19385\" y=\"85.698669\" id=\"text2410\" sodipodi:linespacing=\"100%%\"><tspan sodipodi:role=\"line\" id=\"tspan2412\" x=\"288.19385\" y=\"85.698669\" style=\"stroke-width:1.01074874\" /></text> <text xml:space=\"preserve\" style=\"font-size:12.1289854px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:none;stroke:#000000;stroke-width:1.01074874px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"338.35226\" y=\"232.25723\" id=\"text2428\" sodipodi:linespacing=\"100%%\"><tspan sodipodi:role=\"line\" id=\"tspan2430\" x=\"338.35226\" y=\"232.25723\" style=\"stroke-width:1.01074874\" /></text>";
char* ifstage1= " <!-- pipe_if --> <g id=\"IF_STAGE\" inkscape:label=\"#g3349\" transform=\"translate(-40,30)\"> <g transform=\"matrix(1.0107488,0,0,1.0107488,33.065235,0.53743842)\" id=\"g2657\"> <rect style=\"fill:#cc0000;fill-rule:evenodd;stroke:none\" id=\"rect2395\" width=\"34.83173\" height=\"100.51939\" x=\"140.42796\" y=\"174.74031\" /> </g> <g transform=\"matrix(1.0107488,0,0,1.0107488,48.226463,0.53743842)\" id=\"g2523\"> <rect style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"rect2411\" width=\"25\" height=\"100\" x=\"25\" y=\"175\" /> <path inkscape:connector-curvature=\"0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"M 25,275 37.5,255 50,275\" id=\"path2413\" sodipodi:nodetypes=\"ccc\" /> <text xml:space=\"preserve\" style=\"font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"29.425781\" y=\"229.36816\" id=\"text2398\" sodipodi:linespacing=\"100%%\"><tspan sodipodi:role=\"line\" id=\"tspan2400\" x=\"29.425781\" y=\"229.36816\">PC</tspan></text> </g> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"cccccccc\" id=\"path2402\" d=\"m 149.30134,25.806157 30.32246,15.161233 0,40.42995 -30.32246,15.16123 0,-30.32246 10.10749,-5.05375 -10.10749,-5.05374 0,-30.322463 z\" style=\"fill:#729fcf;fill-opacity:1;stroke:#000000;stroke-width:2.02149749;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <text transform=\"matrix(0,1,-1,0,0,0)\" sodipodi:linespacing=\"100%%\" id=\"text2414\" y=\"-166.23137\" x=\"59.042419\" style=\"font-size:12.1289854px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-166.23137\" x=\"59.042419\" id=\"tspan2416\" sodipodi:role=\"line\">Adder</tspan></text> <path inkscape:connector-curvature=\"0\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149749;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 209.94627,227.95591 25.26871,0\" id=\"path2545\" /> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"cc\" id=\"path2438\" d=\"m 98.763901,227.95591 35.376209,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02149749;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"ccc\" id=\"path2442\" d=\"m 108.87139,227.95591 0,-146.55857 35.37621,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02149749;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 126.05412,225.93441 0,4.04299 8.08599,-2.02149 -8.08599,-2.0215\" id=\"use2519\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 141.21535,79.37584 0,4.04299 8.08599,-2.02149 -8.08599,-2.0215\" id=\"use2521\" inkscape:connector-curvature=\"0\" /> <g style=\"stroke-width:0.00045604;stroke-miterlimit:4;stroke-dasharray:none\" transform=\"matrix(0.5053744,0,0,1.5223085,222.89781,-422.20153)\" id=\"g2529\"> <rect style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00045604;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"rect2531\" width=\"25\" height=\"350.00015\" x=\"25\" y=\"175\" /> <path inkscape:connector-curvature=\"0\" style=\"fill:none;stroke:#000000;stroke-width:0.00045604;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"M 25,525 37.5,505 50,525\" id=\"path2533\" sodipodi:nodetypes=\"ccc\" /> </g> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 227.129,225.93441 0,4.04299 8.08598,-2.02149 -8.08598,-2.0215\" id=\"use2547\" inkscape:connector-curvature=\"0\" /> <path transform=\"matrix(1.0107488,0,0,1.0107488,-126.12771,144.56914)\" d=\"m 235,82.5 a 2.5,2.5 0 1 1 -5,0 2.5,2.5 0 1 1 5,0 z\" sodipodi:ry=\"2.5\" sodipodi:rx=\"2.5\" sodipodi:cy=\"82.5\" sodipodi:cx=\"232.5\" id=\"path2602\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" sodipodi:type=\"arc\" /> <path inkscape:connector-curvature=\"0\" id=\"path2811\" d=\"m 179.6238,61.18236 25.26872,0 0,-25.26872 30.32246,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02149749;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 227.129,33.89215 0,4.04299 8.08598,-2.02149 -8.08598,-2.0215\" id=\"use2813\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2833\" y=\"222.90216\" x=\"215.00002\" style=\"font-size:12.1289854px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"222.90216\" x=\"215.00002\" id=\"tspan2835\" sodipodi:role=\"line\">IR</tspan></text> <g transform=\"matrix(1.0107488,0,0,1.0107488,-225.95266,-249.73579)\" id=\"g2558-3\"> <path sodipodi:type=\"arc\" style=\"fill:#edd400;fill-opacity:1;stroke:#000000;stroke-width:1.99839556;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"path2426-5\" sodipodi:cx=\"350\" sodipodi:cy=\"237.5\" sodipodi:rx=\"25\" sodipodi:ry=\"37.5\" d=\"m 375,237.5 a 25,37.5 0 1 1 -50,0 25,37.5 0 1 1 50,0 z\" transform=\"matrix(1.0016064,0,0,1,-20.52208,22.5)\" /> <text xml:space=\"preserve\" style=\"font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"329.99622\" y=\"256.97363\" id=\"text2432-6\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" x=\"329.99622\" y=\"256.97363\" id=\"tspan2436-9\">MUX</tspan></text> </g> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"ccc\" id=\"path2442-1\" d=\"m 191.59776,61.30607 0,-36.258896 -61.07654,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend-2-5-7-6);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"ccc\" id=\"path2442-1-9\" d=\"m 85.40198,3.4344354 -27.380797,0 0,227.5938546\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path15402\" d=\"m 56.562501,230 20,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15432\" d=\"m 139,50 10,0\" style=\"fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15434\" y=\"50\" x=\"129\" style=\"font-size:16.875px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"50\" x=\"129\" id=\"tspan15436\" sodipodi:role=\"line\">4</tspan></text> </g>";
char* idstage1= " <g id=\"ID_STAGE\" inkscape:label=\"#g3389\" transform=\"translate(-40,30)\"> <g transform=\"matrix(1.0107488,0,0,1.0107488,95.46161,5.5911824)\" id=\"g2558\"> <path sodipodi:type=\"arc\" style=\"fill:#edd400;fill-opacity:1;stroke:#000000;stroke-width:1.99839556;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"path2426\" sodipodi:cx=\"350\" sodipodi:cy=\"237.5\" sodipodi:rx=\"25\" sodipodi:ry=\"37.5\" d=\"m 375,237.5 a 25,37.5 0 1 1 -50,0 25,37.5 0 1 1 50,0 z\" transform=\"matrix(1.0016064,0,0,1,-20.52208,22.5)\" /> <text xml:space=\"preserve\" style=\"font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"329.99622\" y=\"256.97363\" id=\"text2432\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan2434\" x=\"329.99622\" y=\"256.97363\">Sign</tspan><tspan sodipodi:role=\"line\" x=\"329.99622\" y=\"271.97363\" id=\"tspan2436\">Extend</tspan></text> </g> <path inkscape:connector-curvature=\"0\" id=\"path2549\" d=\"m 347.89308,227.95591 15.16123,0\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149749;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"cccc\" id=\"path2551\" d=\"m 398.43051,91.50483 -35.3762,0 0,176.88102 35.3762,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02149749;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 395.73517,266.36436 0,4.04299 8.08599,-2.02149 -8.08599,-2.0215\" id=\"use2564\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 395.39827,89.48333 0,4.04299 8.08599,-2.02149 -8.08599,-2.0215\" id=\"use2566\" inkscape:connector-curvature=\"0\" /> <path inkscape:connector-curvature=\"0\" id=\"path2568\" d=\"m 363.03782,116.77355 35.37621,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02149749;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 395.39827,114.75205 0,4.04299 8.08599,-2.02149 -8.08599,-2.0215\" id=\"use2570\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 354.96832,225.93441 0,4.04299 8.08599,-2.02149 -8.08599,-2.0215\" id=\"use2582\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2584\" y=\"263.33212\" x=\"459.07544\" style=\"font-size:12.1289854px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"263.33212\" x=\"459.07544\" id=\"tspan2586\" sodipodi:role=\"line\">Imm</tspan></text> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"cccc\" id=\"path2588\" d=\"m 462.9889,127.23458 10.54066,0 0,80.8599 15.16123,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02149749;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 481.31191,205.71944 0,4.04299 8.08599,-2.02149 -8.08599,-2.0215\" id=\"use2590\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2592\" y=\"86.45108\" x=\"368.10806\" style=\"font-size:12.1289854px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"86.45108\" x=\"368.10806\" id=\"tspan2594\" sodipodi:role=\"line\">RS1</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2596\" y=\"111.7198\" x=\"368.10806\" style=\"font-size:12.1289854px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"111.7198\" x=\"368.10806\" id=\"tspan2598\" sodipodi:role=\"line\">RS2</tspan></text> <path transform=\"matrix(1.0107488,0,0,1.0107488,128.05522,33.38677)\" d=\"m 235,82.5 a 2.5,2.5 0 1 1 -5,0 2.5,2.5 0 1 1 5,0 z\" sodipodi:ry=\"2.5\" sodipodi:rx=\"2.5\" sodipodi:cy=\"82.5\" sodipodi:cx=\"232.5\" id=\"path2600\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" sodipodi:type=\"arc\" /> <path inkscape:connector-curvature=\"0\" id=\"path2604\" d=\"m 454.0217,268.38586 30.32246,0\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 481.64881,266.36436 0,4.04299 8.08599,-2.02149 -8.08599,-2.0215\" id=\"use2606\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2815\" y=\"30\" x=\"315\" style=\"font-size:8.9103775px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"30\" x=\"315\" id=\"tspan2817\" sodipodi:role=\"line\">Next SEQ PC</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path2913\" d=\"m 363.05431,268.38586 0,85.91364 126.34359,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02149749;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 481.31191,352.27801 0,4.04299 8.08599,-2.02149 -8.08599,-2.0215\" id=\"use2915\" inkscape:connector-curvature=\"0\" /> <path transform=\"matrix(1.0107488,0,0,1.0107488,128.05523,184.99909)\" d=\"m 235,82.5 a 2.5,2.5 0 1 1 -5,0 2.5,2.5 0 1 1 5,0 z\" sodipodi:ry=\"2.5\" sodipodi:rx=\"2.5\" sodipodi:cy=\"82.5\" sodipodi:cx=\"232.5\" id=\"path2921\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" sodipodi:type=\"arc\" /> <g transform=\"matrix(1.0107488,0,0,1.0107488,21.456721,-369.73579)\" id=\"g2558-3-2\"> <path sodipodi:type=\"arc\" style=\"fill:#edd400;fill-opacity:1;stroke:#000000;stroke-width:1.99839556;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"path2426-5-7\" sodipodi:cx=\"350\" sodipodi:cy=\"237.5\" sodipodi:rx=\"25\" sodipodi:ry=\"37.5\" d=\"m 375,237.5 a 25,37.5 0 1 1 -50,0 25,37.5 0 1 1 50,0 z\" transform=\"matrix(1.0016064,0,0,1,-20.52208,22.5)\" /> <text xml:space=\"preserve\" style=\"font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"329.99622\" y=\"256.97363\" id=\"text2432-6-0\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" x=\"329.99622\" y=\"256.97363\" id=\"tspan2436-9-9\">Control</tspan></text> </g> <path inkscape:connector-curvature=\"0\" id=\"path2781-3\" d=\"m 468.06726,-116.50665 25.06657,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02099991;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2781-3-6\" d=\"m 468.06726,-95.50665 25.06657,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02099991;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2781-3-1\" d=\"m 461.19313,-76.506649 29.59146,0\" style=\"fill:none;stroke:#000000;stroke-width:2.17224431;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2706-7\" d=\"m 364.365,337.49468 123.90896,0\" style=\"fill:none;stroke:#000000;stroke-width:2.23804998;stroke-opacity:1;marker:none;marker-end:url(#Arrow1Mend-2-5);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2706-7-2\" d=\"m 260.33074,227.89313 102.46534,0\" style=\"fill:none;stroke:#000000;stroke-width:2.05891776;stroke-opacity:1;marker:none;marker-end:url(#Arrow1Mend-2-5);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path transform=\"matrix(1.0107488,0,0,1.0107488,126.64102,253.68895)\" d=\"m 235,82.5 a 2.5,2.5 0 1 1 -5,0 2.5,2.5 0 1 1 5,0 z\" sodipodi:ry=\"2.5\" sodipodi:rx=\"2.5\" sodipodi:cy=\"82.5\" sodipodi:cx=\"232.5\" id=\"path2921-0\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" sodipodi:type=\"arc\" /> <path inkscape:connector-curvature=\"0\" id=\"path2706-7-2-5\" d=\"m 368.09643,91.36934 0,230.08917\" style=\"fill:none;stroke:#000000;stroke-width:1.68108654;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2706-7-2-5-4\" d=\"m 388.60253,116.67183 0,214.64566\" style=\"fill:none;stroke:#000000;stroke-width:1.62368965;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2706-7-5\" d=\"m 368.50714,318.4028 123.90896,0\" style=\"fill:none;stroke:#000000;stroke-width:2.23804998;stroke-opacity:1;marker:none;marker-end:url(#Arrow1Mend-2-5-7);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2706-7-5-3\" d=\"m 389.34569,329.0094 96.8176,0\" style=\"fill:none;stroke:#000000;stroke-width:2.09890723;stroke-opacity:1;marker:none;marker-end:url(#Arrow1Mend-2-5-7);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path transform=\"matrix(1.0107488,0,0,1.0107488,153.51108,245.20367)\" d=\"m 235,82.5 a 2.5,2.5 0 1 1 -5,0 2.5,2.5 0 1 1 5,0 z\" sodipodi:ry=\"2.5\" sodipodi:rx=\"2.5\" sodipodi:cy=\"82.5\" sodipodi:cx=\"232.5\" id=\"path2921-0-7\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" sodipodi:type=\"arc\" /> <path transform=\"matrix(1.0107488,0,0,1.0107488,133.3065,235.91078)\" d=\"m 235,82.5 a 2.5,2.5 0 1 1 -5,0 2.5,2.5 0 1 1 5,0 z\" sodipodi:ry=\"2.5\" sodipodi:rx=\"2.5\" sodipodi:cy=\"82.5\" sodipodi:cx=\"232.5\" id=\"path2921-0-4\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" sodipodi:type=\"arc\" /> <path transform=\"matrix(1.0107488,0,0,1.0107488,133.81259,9.6366054)\" d=\"m 235,82.5 a 2.5,2.5 0 1 1 -5,0 2.5,2.5 0 1 1 5,0 z\" sodipodi:ry=\"2.5\" sodipodi:rx=\"2.5\" sodipodi:cy=\"82.5\" sodipodi:cx=\"232.5\" id=\"path2921-0-5\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" sodipodi:type=\"arc\" /> <path transform=\"matrix(1.0107488,0,0,1.0107488,153.60801,33.38386)\" d=\"m 235,82.5 a 2.5,2.5 0 1 1 -5,0 2.5,2.5 0 1 1 5,0 z\" sodipodi:ry=\"2.5\" sodipodi:rx=\"2.5\" sodipodi:cy=\"82.5\" sodipodi:cx=\"232.5\" id=\"path2921-0-2\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" sodipodi:type=\"arc\" /> <g transform=\"matrix(0.27049004,0,0,0.27049004,383.73931,40.49119)\" id=\"g2558-4\"> <path sodipodi:type=\"arc\" style=\"fill:#edd400;fill-opacity:1;stroke:#000000;stroke-width:1.99839556;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"path2426-7\" sodipodi:cx=\"350\" sodipodi:cy=\"237.5\" sodipodi:rx=\"25\" sodipodi:ry=\"37.5\" d=\"m 375,237.5 a 25,37.5 0 1 1 -50,0 25,37.5 0 1 1 50,0 z\" transform=\"matrix(1.0016064,0,0,1,-20.52208,22.5)\" /> <text xml:space=\"preserve\" style=\"font-size:47.4357872px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"329.99622\" y=\"275.45862\" id=\"text2432-4\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" x=\"329.99622\" y=\"275.45862\" id=\"tspan2436-3\">=</tspan></text> </g> <path inkscape:connector-curvature=\"0\" id=\"path2706-7-2-5-4-0\" d=\"m 473.1018,89.92887 0,11.1054\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2706-7-2-5-4-0-7\" d=\"m 473.5056,121.01089 0,10.2066\" style=\"fill:none;stroke:#000000;stroke-width:1.91735959;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2604-5-9\" d=\"m 472.81248,90.65556 14.85113,0\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1.17960763;stroke-opacity:1;marker:none;marker-end:url(#Arrow2Mend-6);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <g transform=\"matrix(1.0107488,0,0,1.0107488,111.45673,-369.73579)\" id=\"g2558-3-5\"> <path sodipodi:type=\"arc\" style=\"fill:#edd400;fill-opacity:1;stroke:#000000;stroke-width:1.99839556;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"path2426-5-0\" sodipodi:cx=\"350\" sodipodi:cy=\"237.5\" sodipodi:rx=\"25\" sodipodi:ry=\"37.5\" d=\"m 375,237.5 a 25,37.5 0 1 1 -50,0 25,37.5 0 1 1 50,0 z\" transform=\"matrix(1.0016064,0,0,1,-20.52208,22.5)\" /> <text xml:space=\"preserve\" style=\"font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"329.99622\" y=\"256.97363\" id=\"text2432-6-4\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" x=\"329.99622\" y=\"256.97363\" id=\"tspan2436-9-8\">MUX</tspan></text> </g> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"cc\" id=\"path2704-7-1\" d=\"m 378.36007,-109.04325 41.21405,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2781-3-1-2\" d=\"m 397.55352,-77.213757 29.59146,0\" style=\"fill:none;stroke:#000000;stroke-width:2.17224431;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path transform=\"matrix(1.0107488,0,0,1.0107488,60.51108,-191.79633)\" d=\"m 235,82.5 a 2.5,2.5 0 1 1 -5,0 2.5,2.5 0 1 1 5,0 z\" sodipodi:ry=\"2.5\" sodipodi:rx=\"2.5\" sodipodi:cy=\"82.5\" sodipodi:cx=\"232.5\" id=\"path2921-0-7-7\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" sodipodi:type=\"arc\" /> <text sodipodi:linespacing=\"125%%\" id=\"text13584\" y=\"-80\" x=\"395\" style=\"font-size:20px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-80\" x=\"395\" id=\"tspan13586\" sodipodi:role=\"line\">0</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2833-1\" y=\"-118.89474\" x=\"263.39432\" style=\"font-size:15.16123199px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-118.89474\" x=\"263.39432\" id=\"tspan2835-5\" sodipodi:role=\"line\">IR</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2819-0\" y=\"73.558746\" x=\"457.44885\" style=\"font-size:12.1289854px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"73.558746\" x=\"457.44885\" id=\"tspan2821-3\" sodipodi:role=\"line\">Reg Write</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path22684\" d=\"m 382.56113,168 22.22495,0\" style=\"fill:none;stroke:#000000;stroke-width:2.09409642;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path transform=\"translate(0,-500)\" inkscape:connector-curvature=\"0\" id=\"path23122\" d=\"m 395,640 10,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <g style=\"stroke-width:0.0011401;stroke-miterlimit:4;stroke-dasharray:none\" transform=\"matrix(0.5053744,0,0,1.5223085,479.08072,-422.20151)\" id=\"g2572-5\"> <rect style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.0011401;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"rect2574-6\" width=\"25\" height=\"350.00015\" x=\"25\" y=\"175\" /> <path inkscape:connector-curvature=\"0\" style=\"fill:none;stroke:#000000;stroke-width:0.0011401;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"M 25,525 37.5,505 50,525\" id=\"path2576-2\" sodipodi:nodetypes=\"ccc\" /> <text transform=\"matrix(0,0.70710678,-1.4142136,0,0,0)\" xml:space=\"preserve\" style=\"font-size:16.97056198px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"494.41135\" y=\"-26.570417\" id=\"text2578-9\" sodipodi:linespacing=\"100%%\"><tspan sodipodi:role=\"line\" id=\"tspan2580-1\" x=\"494.41135\" y=\"-26.570417\">ID / EX</tspan></text> </g> <rect y=\"79.682701\" x=\"434.00739\" height=\"100.35987\" width=\"30.179092\" id=\"rect2418-1\" style=\"fill:#8ae234;fill-rule:evenodd;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <g id=\"pipe_id\" inkscape:label=\"#g3386\" style=\"fill:none;stroke:#000000;stroke-opacity:0.5\"> <g id=\"g3492\" style=\"fill:#000000;stroke:#110011;stroke-width:3\"> <g id=\"g3482\"> <g id=\"g3473\"> <path style=\"fill:none;stroke:#000000;stroke-width:2.62295032;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 258.06428,-109.04325 70.88681,0\" id=\"path2704-7-1-7\" sodipodi:nodetypes=\"cc\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 260,34.265625 230,0 0,0\" id=\"path14929\" inkscape:connector-curvature=\"0\" /> <g id=\"g2529-3\" transform=\"matrix(0.5053744,0,0,1.5223085,234.89781,-422.20153)\" style=\"stroke-width:0.0011401;stroke-miterlimit:4;stroke-dasharray:none\"> <rect y=\"175\" x=\"25\" height=\"350.00015\" width=\"25\" id=\"rect2531-6\" style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.0011401;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path sodipodi:nodetypes=\"ccc\" id=\"path2533-7\" d=\"M 25,525 37.5,505 50,525\" style=\"fill:none;stroke:#000000;stroke-width:0.0011401;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2535-5\" y=\"-12.722864\" x=\"494.63922\" style=\"font-size:16.97056198px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\" transform=\"matrix(0,0.70710678,-1.4142136,0,0,0)\"><tspan y=\"-12.722864\" x=\"494.63922\" id=\"tspan2537-3\" sodipodi:role=\"line\">IF / ID</tspan></text> </g> </g> </g> </g> <rect style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" id=\"rect4299\" width=\"60\" height=\"100\" x=\"405\" y=\"580\" transform=\"translate(0,-500)\" /> </g> </g>";
//char* exstage1= " <g id=\"EX_STAGE\" inkscape:label=\"#g3503\" transform=\"translate(-40,30)\"> <g transform=\"matrix(1.0107488,0,0,1.0107488,339.56464,-30.758717)\" id=\"g2714\"> <rect style=\"fill:#f57900;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" id=\"rect2613\" width=\"40.666668\" height=\"30\" x=\"440\" y=\"110\" /> <text xml:space=\"preserve\" style=\"font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"460.48569\" y=\"129.36816\" id=\"text2615\" sodipodi:linespacing=\"100%%\"><tspan sodipodi:role=\"line\" id=\"tspan2617\" x=\"460.48569\" y=\"129.36816\">Zero?</tspan></text> </g> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"ccccccccc\" id=\"path2619\" d=\"m 706.0534,84.07542 59.86384,34.65883 0,86.64706 -59.86384,34.65881 0,-51.98823 14.96596,-8.6647 0,-34.65883 -14.96596,-8.6647 0,-51.98824 z\" style=\"fill:#729fcf;fill-opacity:1;stroke:#000000;stroke-width:3.22087741;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2621\" y=\"160\" x=\"745\" style=\"font-size:18.02420616px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"160\" x=\"745\" id=\"tspan2623\" sodipodi:role=\"line\">ALU</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path2911\" d=\"m 540.84221,354.2995 -26.96745,0\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.03091407;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <text sodipodi:linespacing=\"125%%\" id=\"text6160\" y=\"-118\" x=\"518.0965\" style=\"font-size:10.17093945px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-118\" x=\"518.0965\" id=\"tspan6162\" sodipodi:role=\"line\">WB</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text6164\" y=\"-100.55556\" x=\"518.0965\" style=\"font-size:10.17093945px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-100.55556\" x=\"518.0965\" id=\"tspan6166\" sodipodi:role=\"line\">MEM</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text6168\" y=\"-83\" x=\"518.0965\" style=\"font-size:10.17093945px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-83\" x=\"518.0965\" id=\"tspan6170\" sodipodi:role=\"line\">EX</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path2706-8\" d=\"m 516.31283,-97.729542 319.54293,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend-2);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2706-8-2\" d=\"m 516.31644,-115.40721 321.51381,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend-2);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"cc\" id=\"path2743-3\" d=\"m 515.37373,338.48994 30.32246,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02149749;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <g transform=\"matrix(0.61568724,0,0,0.61568724,252.54856,233.82751)\" id=\"g2727-3\"> <path inkscape:connector-curvature=\"0\" style=\"fill:#d3d7cf;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 469.25,164 0,50 20,-10 0,-30 -20,-10 z\" id=\"path2729-1\" sodipodi:nodetypes=\"ccccc\" /> </g> <path inkscape:connector-curvature=\"0\" id=\"path14709\" d=\"m 555,350 290,0 0,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path14933\" d=\"m 515,90 140,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path14935\" d=\"m 515,210 100,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <g transform=\"matrix(1.0107488,0,0,1.4158121,114.89433,-39.146046)\" id=\"g2625-9-7\"> <path inkscape:connector-curvature=\"0\" style=\"fill:#d3d7cf;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 469.25,164 0,50 20,-10 0,-30 -20,-10 z\" id=\"path2627-7-3\" sodipodi:nodetypes=\"ccccc\" /> </g> <g transform=\"matrix(1.0107488,0,0,1.4158121,178.89433,-41.146048)\" id=\"g2625-9-7-8\"> <path inkscape:connector-curvature=\"0\" style=\"fill:#d3d7cf;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 469.25,164 0,50 20,-10 0,-30 -20,-10 z\" id=\"path2627-7-3-1\" sodipodi:nodetypes=\"ccccc\" /> </g> <path inkscape:connector-curvature=\"0\" id=\"path15045\" d=\"m 675,220 30,0 0,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <path inkscape:connector-curvature=\"0\" id=\"path15047\" d=\"m 615,210 30,0 10,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <path inkscape:connector-curvature=\"0\" id=\"path15049\" d=\"m 515,270 130,0 0,-30 10,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15051\" d=\"m 665,110 40,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15053\" d=\"m 767,161 78,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15059\" y=\"280\" x=\"650\" style=\"font-size:7.20000029px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"280\" x=\"650\" id=\"tspan15061\" sodipodi:role=\"line\">ALU SRC</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15063\" d=\"m 570.5,105.27764 0,284.94472\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <path inkscape:connector-curvature=\"0\" id=\"path15067\" d=\"m 570,230 20,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none\" /> <path inkscape:connector-curvature=\"0\" id=\"path15069\" d=\"m 570,105 80,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15071\" d=\"m 580,120 70,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15073\" d=\"m 580,255 10,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none\" /> <path inkscape:connector-curvature=\"0\" id=\"path15124\" d=\"m 630,210 0,80 5,0 160,0 0,-100 50,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path transform=\"translate(125,0)\" d=\"m 461.5,120 a 1.5,1.5 0 1 1 -3,0 1.5,1.5 0 1 1 3,0 z\" sodipodi:ry=\"1.5\" sodipodi:rx=\"1.5\" sodipodi:cy=\"120\" sodipodi:cx=\"460\" style=\"fill:#000000;stroke:none\" id=\"path15138\" sodipodi:type=\"arc\" /> <path inkscape:connector-curvature=\"0\" id=\"path15150\" d=\"m 515,320 85,0 0,115 95,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15152\" d=\"m 515,330 75,0 0,125 105,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15160\" d=\"m 515,-70 170,0 0,340 -20,0 0,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15162\" d=\"m 665,270 0,-15 0,0\" style=\"fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <path inkscape:connector-curvature=\"0\" id=\"path15164\" d=\"m 615,270 0,50 90,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <rect transform=\"matrix(0,1,-1,0,0,0)\" y=\"-755.06293\" x=\"303.73138\" height=\"52.463142\" width=\"33.012695\" id=\"rect2418-3-5\" style=\"fill:#8ae234;fill-rule:evenodd;stroke:#000000;stroke-width:1.1056509;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <path inkscape:connector-curvature=\"0\" id=\"path15184\" d=\"m 730,305 0,-80\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15186-9\" y=\"316.84662\" x=\"728.94128\" style=\"font-size:9.4921875px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan id=\"tspan15190-3\" y=\"316.84662\" x=\"728.94128\" sodipodi:role=\"line\">ALU</tspan><tspan id=\"tspan15225\" y=\"328.71185\" x=\"728.94128\" sodipodi:role=\"line\">Control</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text15186-9-8\" y=\"316.84662\" x=\"728.94128\" style=\"font-size:9.4921875px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan id=\"tspan15190-3-5\" y=\"316.84662\" x=\"728.94128\" sodipodi:role=\"line\">ALU</tspan><tspan id=\"tspan15225-6\" y=\"328.71185\" x=\"728.94128\" sodipodi:role=\"line\">Control</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text15186-9-8-1\" y=\"140\" x=\"805\" style=\"font-size:9.4921875px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan id=\"tspan15190-3-5-1\" y=\"140\" x=\"805\" sodipodi:role=\"line\">ALU</tspan><tspan id=\"tspan15225-6-5\" y=\"151.86523\" x=\"805\" sodipodi:role=\"line\">Result</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15275\" d=\"m 515,-80 260,0 0,400 -20,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15186-9-8-1-9\" y=\"320\" x=\"795\" style=\"font-size:9.4921875px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan id=\"tspan15225-6-5-4\" y=\"320\" x=\"795\" sodipodi:role=\"line\">ALU Op</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15303\" d=\"m 515,-60 20,0 0,440 10,0 0,-20\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15186-9-8-1-9-8\" y=\"384\" x=\"545\" style=\"font-size:9.4921875px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan id=\"tspan15225-6-5-4-1\" y=\"384\" x=\"545\" sodipodi:role=\"line\">Reg Dest</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15349\" d=\"m 765,120 80,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"ccccccccc\" id=\"path2619-7\" d=\"m 576.8186,19.028097 22.11984,12.806524 0,32.016306 -22.11984,12.806517 0,-19.209781 5.52996,-3.201629 0,-12.806524 -5.52996,-3.201628 0,-19.209785 z\" style=\"fill:#729fcf;fill-opacity:1;stroke:#000000;stroke-width:1.19012225;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path15422\" d=\"m 545,270 0,-210 30,0 0,0 0,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15424\" d=\"m 515,35 60,0 0,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15428\" d=\"m 600,40 245,0\" style=\"fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <g transform=\"matrix(0.27048989,0,0,0.24367426,465.73936,-2.1221749)\" id=\"g2558-4-6\"> <path sodipodi:type=\"arc\" style=\"fill:#edd400;fill-opacity:1;stroke:#000000;stroke-width:1.99839556;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"path2426-7-3\" sodipodi:cx=\"350\" sodipodi:cy=\"237.5\" sodipodi:rx=\"25\" sodipodi:ry=\"37.5\" d=\"m 375,237.5 a 25,37.5 0 1 1 -50,0 25,37.5 0 1 1 50,0 z\" transform=\"matrix(1.0016064,0,0,1,-20.52208,22.5)\" /> <text xml:space=\"preserve\" style=\"font-size:47.4357872px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"329.99622\" y=\"275.45862\" id=\"text2432-4-1\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" x=\"329.99622\" y=\"275.45862\" id=\"tspan2436-3-7\">2</tspan></text> <text transform=\"scale(0.94913788,1.0535877)\" sodipodi:linespacing=\"125%%\" id=\"text15465\" y=\"220.60469\" x=\"446.34912\" style=\"font-size:87.64001465px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"220.60469\" x=\"446.34912\" id=\"tspan15467\" sodipodi:role=\"line\">+</tspan></text> </g> <text sodipodi:linespacing=\"100%%\" id=\"text2815-5\" y=\"20\" x=\"625\" style=\"font-size:8.9103775px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"20\" x=\"625\" id=\"tspan2817-9\" sodipodi:role=\"line\">Next SEQ PC</tspan></text> <g style=\"stroke-width:0.00113976;stroke-miterlimit:4;stroke-dasharray:none\" transform=\"matrix(0.5053744,0,0,1.5232106,830.95735,-422.06383)\" id=\"g2641-2\"> <rect style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00113976;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"rect2643-7\" width=\"25\" height=\"350.00015\" x=\"25\" y=\"175\" /> <path inkscape:connector-curvature=\"0\" style=\"fill:none;stroke:#000000;stroke-width:0.00113976;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"M 25,525 37.5,505 50,525\" id=\"path2645-0\" sodipodi:nodetypes=\"ccc\" /> </g> <g transform=\"matrix(1.0107488,0,0,1.4158121,179.55647,-160.70819)\" id=\"g2625-9-7-3\" style=\"fill:#000000;stroke:#110011;stroke-width:3\"> <path inkscape:connector-curvature=\"0\" style=\"fill:#d3d7cf;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 469.25,164 0,50 20,-10 0,-30 -20,-10 z\" id=\"path2627-7-3-6\" sodipodi:nodetypes=\"ccccc\" /> </g> <text sodipodi:linespacing=\"125%%\" id=\"text15059-7\" y=\"230\" x=\"590\" style=\"font-size:7.20000029px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"230\" x=\"590\" id=\"tspan15061-5\" sodipodi:role=\"line\">MUX</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text15059-7-3\" y=\"230\" x=\"655\" style=\"font-size:7.20000029px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"230\" x=\"655\" id=\"tspan15061-5-5\" sodipodi:role=\"line\">MUX</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text15059-7-3-6\" y=\"109\" x=\"655\" style=\"font-size:7.20000029px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"109\" x=\"655\" id=\"tspan15061-5-5-2\" sodipodi:role=\"line\">MUX</tspan></text> </g>";
char* exstage1= " <g id=\"EX_STAGE\" inkscape:label=\"#g3503\" transform=\"translate(-40,30)\" style=\"opacity:1\"> <g style=\"fill:#000000;stroke:#110011;stroke-width:0.00080617;stroke-miterlimit:4;stroke-dasharray:none\" transform=\"matrix(0.99660639,0,0,1.5194514,433.3363,-390.70152)\" id=\"g2572\"> <rect style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00080617;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"rect2574\" width=\"12.5\" height=\"350.00015\" x=\"70.382805\" y=\"155.91417\" /> <path inkscape:connector-curvature=\"0\" style=\"fill:none;stroke:#000000;stroke-width:0.00080617;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"M 25,525 37.5,505 50,525\" id=\"path2576\" sodipodi:nodetypes=\"ccc\" /> </g> <g transform=\"matrix(1.0107488,0,0,1.0107488,339.56464,-30.758717)\" id=\"g2714\"> <rect style=\"fill:#f57900;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" id=\"rect2613\" width=\"40.666668\" height=\"30\" x=\"440\" y=\"110\" /> <text xml:space=\"preserve\" style=\"font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"460.48569\" y=\"129.36816\" id=\"text2615\" sodipodi:linespacing=\"100%%\"><tspan sodipodi:role=\"line\" id=\"tspan2617\" x=\"460.48569\" y=\"129.36816\">Zero?</tspan></text> </g> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"ccccccccc\" id=\"path2619\" d=\"m 706.0534,84.07542 59.86384,34.65883 0,86.64706 -59.86384,34.65881 0,-51.98823 14.96596,-8.6647 0,-34.65883 -14.96596,-8.6647 0,-51.98824 z\" style=\"fill:#729fcf;fill-opacity:1;stroke:#000000;stroke-width:3.22087740999999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2621\" y=\"160\" x=\"745\" style=\"font-size:18.02420615999999853px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"160\" x=\"745\" id=\"tspan2623\" sodipodi:role=\"line\">ALU</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path2911\" d=\"m 540.84221,354.2995 -26.96745,0\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.03091407000000013;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <text sodipodi:linespacing=\"125%%\" id=\"text6160\" y=\"-118\" x=\"518.0965\" style=\"font-size:10.17093945000000055px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-118\" x=\"518.0965\" id=\"tspan6162\" sodipodi:role=\"line\">WB</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text6164\" y=\"-100.55556\" x=\"518.0965\" style=\"font-size:10.17093945000000055px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-100.55556\" x=\"518.0965\" id=\"tspan6166\" sodipodi:role=\"line\">MEM</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text6168\" y=\"-83\" x=\"518.0965\" style=\"font-size:10.17093945000000055px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-83\" x=\"518.0965\" id=\"tspan6170\" sodipodi:role=\"line\">EX</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path2706-8\" d=\"m 516.31283,-97.729542 319.54293,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend-2);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2706-8-2\" d=\"m 516.31644,-115.40721 321.51381,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend-2);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"cc\" id=\"path2743-3\" d=\"m 515.37373,338.48994 30.32246,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02149748999999979;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <g transform=\"matrix(0.61568724,0,0,0.61568724,252.54856,233.82751)\" id=\"g2727-3\"> <path inkscape:connector-curvature=\"0\" style=\"fill:#d3d7cf;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 469.25,164 0,50 20,-10 0,-30 -20,-10 z\" id=\"path2729-1\" sodipodi:nodetypes=\"ccccc\" /> </g> <path inkscape:connector-curvature=\"0\" id=\"path14709\" d=\"m 555,350 290,0 0,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path14933\" d=\"m 515,90 140,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path14935\" d=\"m 515,210 100,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <g transform=\"matrix(1.0107488,0,0,1.4158121,114.89433,-39.146046)\" id=\"g2625-9-7\"> <path inkscape:connector-curvature=\"0\" style=\"fill:#d3d7cf;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 469.25,164 0,50 20,-10 0,-30 -20,-10 z\" id=\"path2627-7-3\" sodipodi:nodetypes=\"ccccc\" /> </g> <g transform=\"matrix(1.0107488,0,0,1.4158121,178.89433,-41.146048)\" id=\"g2625-9-7-8\"> <path inkscape:connector-curvature=\"0\" style=\"fill:#d3d7cf;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 469.25,164 0,50 20,-10 0,-30 -20,-10 z\" id=\"path2627-7-3-1\" sodipodi:nodetypes=\"ccccc\" /> </g> <path inkscape:connector-curvature=\"0\" id=\"path15045\" d=\"m 675,220 30,0 0,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <path inkscape:connector-curvature=\"0\" id=\"path15047\" d=\"m 615,210 30,0 10,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <path inkscape:connector-curvature=\"0\" id=\"path15049\" d=\"m 515,270 130,0 0,-30 10,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15051\" d=\"m 665,110 40,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15053\" d=\"m 767,161 78,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15059\" y=\"280\" x=\"650\" style=\"font-size:7.20000029000000019px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"280\" x=\"650\" id=\"tspan15061\" sodipodi:role=\"line\">ALU SRC</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15063\" d=\"m 570.5,105.27764 0,284.94472\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <path inkscape:connector-curvature=\"0\" id=\"path15067\" d=\"m 570,230 20,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none\" /> <path inkscape:connector-curvature=\"0\" id=\"path15069\" d=\"m 570,105 80,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15071\" d=\"m 580,120 70,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15073\" d=\"m 580,255 10,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none\" /> <path inkscape:connector-curvature=\"0\" id=\"path15124\" d=\"m 630,210 0,80 5,0 160,0 0,-100 50,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path transform=\"translate(125,0)\" d=\"m 461.5,120 c 0,0.82843 -0.67157,1.5 -1.5,1.5 -0.82843,0 -1.5,-0.67157 -1.5,-1.5 0,-0.82843 0.67157,-1.5 1.5,-1.5 0.82843,0 1.5,0.67157 1.5,1.5 z\" sodipodi:ry=\"1.5\" sodipodi:rx=\"1.5\" sodipodi:cy=\"120\" sodipodi:cx=\"460\" style=\"fill:#000000;stroke:none\" id=\"path15138\" sodipodi:type=\"arc\" /> <path inkscape:connector-curvature=\"0\" id=\"path15150\" d=\"m 515,320 85,0 0,115 95,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15152\" d=\"m 515,330 75,0 0,125 105,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15160\" d=\"m 515,-70 170,0 0,340 -20,0 0,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15162\" d=\"m 665,270 0,-15 0,0\" style=\"fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <path inkscape:connector-curvature=\"0\" id=\"path15164\" d=\"m 615,270 0,50 90,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <rect transform=\"matrix(0,1,-1,0,0,0)\" y=\"-755.06293\" x=\"303.73138\" height=\"52.463142\" width=\"33.012695\" id=\"rect2418-3-5\" style=\"fill:#8ae234;fill-rule:evenodd;stroke:#000000;stroke-width:1.10565090000000010;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <path inkscape:connector-curvature=\"0\" id=\"path15184\" d=\"m 730,305 0,-80\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15186-9\" y=\"316.84662\" x=\"728.94128\" style=\"font-size:9.49218750000000000px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan id=\"tspan15190-3\" y=\"316.84662\" x=\"728.94128\" sodipodi:role=\"line\">ALU</tspan><tspan id=\"tspan15225\" y=\"328.71185\" x=\"728.94128\" sodipodi:role=\"line\">Control</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text15186-9-8\" y=\"316.84662\" x=\"728.94128\" style=\"font-size:9.49218750000000000px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan id=\"tspan15190-3-5\" y=\"316.84662\" x=\"728.94128\" sodipodi:role=\"line\">ALU</tspan><tspan id=\"tspan15225-6\" y=\"328.71185\" x=\"728.94128\" sodipodi:role=\"line\">Control</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text15186-9-8-1\" y=\"140\" x=\"805\" style=\"font-size:9.49218750000000000px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan id=\"tspan15190-3-5-1\" y=\"140\" x=\"805\" sodipodi:role=\"line\">ALU</tspan><tspan id=\"tspan15225-6-5\" y=\"151.86523\" x=\"805\" sodipodi:role=\"line\">Result</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15275\" d=\"m 515,-80 260,0 0,400 -20,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15186-9-8-1-9\" y=\"320\" x=\"795\" style=\"font-size:9.49218750000000000px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan id=\"tspan15225-6-5-4\" y=\"320\" x=\"795\" sodipodi:role=\"line\">ALU Op</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15303\" d=\"m 515,-60 20,0 0,440 10,0 0,-20\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15186-9-8-1-9-8\" y=\"384\" x=\"545\" style=\"font-size:9.49218750000000000px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan id=\"tspan15225-6-5-4-1\" y=\"384\" x=\"545\" sodipodi:role=\"line\">Reg Dest</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15349\" d=\"m 765,120 80,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"ccccccccc\" id=\"path2619-7\" d=\"m 576.8186,19.028097 22.11984,12.806524 0,32.016306 -22.11984,12.806517 0,-19.209781 5.52996,-3.201629 0,-12.806524 -5.52996,-3.201628 0,-19.209785 z\" style=\"fill:#729fcf;fill-opacity:1;stroke:#000000;stroke-width:1.19012224999999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path15422\" d=\"m 545,270 0,-210 30,0 0,0 0,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15424\" d=\"m 515,35 60,0 0,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15428\" d=\"m 600,40 245,0\" style=\"fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <g transform=\"matrix(0.27048989,0,0,0.24367426,465.73936,-2.1221749)\" id=\"g2558-4-6\"> <path sodipodi:type=\"arc\" style=\"fill:#edd400;fill-opacity:1;stroke:#000000;stroke-width:1.99839556000000007;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"path2426-7-3\" sodipodi:cx=\"350\" sodipodi:cy=\"237.5\" sodipodi:rx=\"25\" sodipodi:ry=\"37.5\" d=\"m 375,237.5 c 0,20.71068 -11.19288,37.5 -25,37.5 -13.80712,0 -25,-16.78932 -25,-37.5 0,-20.71068 11.19288,-37.5 25,-37.5 13.80712,0 25,16.78932 25,37.5 z\" transform=\"matrix(1.0016064,0,0,1,-20.52208,22.5)\" /> <text xml:space=\"preserve\" style=\"font-size:47.43578720000000004px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"329.99622\" y=\"275.45862\" id=\"text2432-4-1\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" x=\"329.99622\" y=\"275.45862\" id=\"tspan2436-3-7\">2</tspan></text> <text transform=\"scale(0.94913788,1.0535877)\" sodipodi:linespacing=\"125%%\" id=\"text15465\" y=\"220.60469\" x=\"446.34912\" style=\"font-size:87.64001465000001190px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"220.60469\" x=\"446.34912\" id=\"tspan15467\" sodipodi:role=\"line\">+</tspan></text> </g> <text sodipodi:linespacing=\"100%%\" id=\"text2815-5\" y=\"20\" x=\"625\" style=\"font-size:8.91037749999999917px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"20\" x=\"625\" id=\"tspan2817-9\" sodipodi:role=\"line\">Next SEQ PC</tspan></text> <g style=\"stroke-width:0.00113976000000000;stroke-miterlimit:4;stroke-dasharray:none\" transform=\"matrix(0.5053744,0,0,1.5232106,830.95735,-422.06383)\" id=\"g2641-2\"> <rect style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00113976000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"rect2643-7\" width=\"25\" height=\"350.00015\" x=\"25\" y=\"175\" /> <path inkscape:connector-curvature=\"0\" style=\"fill:none;stroke:#000000;stroke-width:0.00113976000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"M 25,525 37.5,505 50,525\" id=\"path2645-0\" sodipodi:nodetypes=\"ccc\" /> </g> <g transform=\"matrix(1.0107488,0,0,1.4158121,179.55647,-160.70819)\" id=\"g2625-9-7-3\" style=\"fill:#000000;stroke:#110011;stroke-width:3\"> <path inkscape:connector-curvature=\"0\" style=\"fill:#d3d7cf;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 469.25,164 0,50 20,-10 0,-30 -20,-10 z\" id=\"path2627-7-3-6\" sodipodi:nodetypes=\"ccccc\" /> </g> <text sodipodi:linespacing=\"125%%\" id=\"text15059-7\" y=\"230\" x=\"590\" style=\"font-size:7.20000029000000019px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"230\" x=\"590\" id=\"tspan15061-5\" sodipodi:role=\"line\">MUX</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text15059-7-3\" y=\"230\" x=\"655\" style=\"font-size:7.20000029000000019px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"230\" x=\"655\" id=\"tspan15061-5-5\" sodipodi:role=\"line\">MUX</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text15059-7-3-6\" y=\"109\" x=\"655\" style=\"font-size:7.20000029000000019px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"109\" x=\"655\" id=\"tspan15061-5-5-2\" sodipodi:role=\"line\">MUX</tspan></text> </g>";
char* dmstageRead1= " <g id=\"DM_READ_STAGE\" inkscape:label=\"#g4076\" transform=\"translate(-40,30)\"> <g transform=\"translate(-0.1481358,0.9634786)\" inkscape:label=\"#g3592\" id=\"DM_1\"> <g id=\"g2641\" transform=\"matrix(0.5053744,0,0,1.5232106,843.05501,-422.08727)\" style=\"stroke-width:0.00113976;stroke-miterlimit:4;stroke-dasharray:none\"> <rect y=\"175\" x=\"25\" height=\"350.00015\" width=\"25\" id=\"rect2643\" style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00113976;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path sodipodi:nodetypes=\"ccc\" id=\"path2645\" d=\"M 25,525 37.5,505 50,525\" style=\"fill:none;stroke:#000000;stroke-width:0.00113976;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2647\" y=\"-21.11791\" x=\"494.97482\" style=\"font-size:16.97056198px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\" transform=\"matrix(0,0.70710678,-1.4142136,0,0,0)\"><tspan y=\"-21.11791\" x=\"494.97482\" id=\"tspan2649\" sodipodi:role=\"line\">EX / MEM</tspan></text> </g> <g id=\"g2678\" transform=\"matrix(0.5053744,0,0,1.5223085,1051.2798,-422.20176)\" style=\"stroke-width:0.0011401;stroke-miterlimit:4;stroke-dasharray:none\"> <rect y=\"175\" x=\"25\" height=\"350.00015\" width=\"25\" id=\"rect2680\" style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.0011401;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path sodipodi:nodetypes=\"ccc\" id=\"path2682\" d=\"M 25,525 37.5,505 50,525\" style=\"fill:none;stroke:#000000;stroke-width:0.0011401;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2684\" y=\"-18.319565\" x=\"494.97482\" style=\"font-size:16.97056198px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\" transform=\"matrix(0,0.70710677,-1.4142136,0,0,0)\"><tspan y=\"-18.319565\" x=\"494.97482\" id=\"tspan2686\" sodipodi:role=\"line\">MEM / WB</tspan></text> </g> <text xml:space=\"preserve\" style=\"font-size:9.80768967px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"870.10309\" y=\"-100\" id=\"text6164-0\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan6166-2\" x=\"870.10309\" y=\"-100\">MEM</tspan></text> <text xml:space=\"preserve\" style=\"font-size:9.80768967px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"870.10309\" y=\"-124\" id=\"text6168-3\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan6170-7\" x=\"870.10309\" y=\"-124\">WB</tspan></text> <g id=\"g2657-9\" transform=\"matrix(1.1461655,0,0,1.0107488,807.09391,-67.578064)\" /> <path style=\"fill:none;stroke:#000000;stroke-width:1.12346804px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" d=\"m 869.82121,190.33501 56.79812,0\" id=\"path15126\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 1005,150 60,0\" id=\"path15132\" inkscape:connector-curvature=\"0\" /> <path sodipodi:type=\"arc\" id=\"path15134\" style=\"fill:#000000;stroke:none\" sodipodi:cx=\"940\" sodipodi:cy=\"150\" sodipodi:rx=\"1.5\" sodipodi:ry=\"1.5\" d=\"m 941.5,150 a 1.5,1.5 0 1 1 -3,0 1.5,1.5 0 1 1 3,0 z\" transform=\"translate(125,0)\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 1065,280 -180,0\" id=\"path15140\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 870,350 195,0 0,0\" id=\"path15142\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" d=\"M 925,350 z\" id=\"path15144\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" d=\"m 870,160 55,0\" id=\"path15351\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" d=\"m 870.00761,-94.99239 19.98478,0 0,144.404197 0,0\" id=\"path15353\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" d=\"m 870,120 20,0 0,-50 0,0\" id=\"path15355\" inkscape:connector-curvature=\"0\" /> <g id=\"g2714-04\" transform=\"matrix(1.0107488,0,0,1.0107488,434.56464,-60.758717)\"> <rect y=\"110\" x=\"440\" height=\"30\" width=\"40.666668\" id=\"rect2613-4\" style=\"fill:#f57900;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2615-4\" y=\"128.24976\" x=\"460.504\" style=\"font-size:9px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"128.24976\" x=\"460.504\" id=\"tspan2617-4\" sodipodi:role=\"line\">Branch</tspan></text> </g> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 867.96875,-108.59375 97.03125,0 L 965,110\" id=\"path15388\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 865,-130 200,0\" id=\"path15390\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 865,-120 160,0 0,350 -60,0 0,-20\" id=\"path15392\" inkscape:connector-curvature=\"0\" /> <g id=\"g2657-9-2\" transform=\"matrix(0.5053744,0,0,1.0107488,916.28865,-67.68037)\" style=\"stroke-width:0.00139917;stroke-miterlimit:4;stroke-dasharray:none\"> <rect y=\"175\" x=\"100\" height=\"100\" width=\"75\" id=\"rect2395-0-0\" style=\"fill:#cc0000;fill-rule:evenodd;stroke:#000000;stroke-width:0.00139917;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> </g> <rect style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" id=\"rect4287\" width=\"80\" height=\"100\" x=\"925\" y=\"610\" transform=\"translate(0,-500)\" /> </g> <g inkscape:label=\"#g4070\" id=\"dm_4\"> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 925,350 0,90 -155,0\" id=\"path15146\" inkscape:connector-curvature=\"0\" /> <path inkscape:connector-curvature=\"0\" id=\"path15386\" d=\"m 920,53 15,0 0,-375 -830,0 0,295\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15430\" d=\"m 867,40 40,0 0,-290 -740,0 0,0 0,250 -30,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow2Mend-6-6)\" /> <path sodipodi:nodetypes=\"cccc\" inkscape:connector-curvature=\"0\" id=\"path15136\" d=\"m 885.5,162.5 0,320 -305,0 0,-360\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> </g> </g>";
char* dmstageWrite= " <g id=\"DM_READ_STAGE\" inkscape:label=\"#g4076\" transform=\"translate(-40,30)\"> <g transform=\"translate(-0.1481358,0.9634786)\" inkscape:label=\"#g3592\" id=\"DM_1\" style=\"opacity:1\"> <g id=\"g2641\" transform=\"matrix(0.5053744,0,0,1.5232106,843.05501,-422.08727)\" style=\"stroke-width:0.00113976000000000;stroke-miterlimit:4;stroke-dasharray:none\"> <rect y=\"175\" x=\"25\" height=\"350.00015\" width=\"25\" id=\"rect2643\" style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00113976000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path sodipodi:nodetypes=\"ccc\" id=\"path2645\" d=\"M 25,525 37.5,505 50,525\" style=\"fill:none;stroke:#000000;stroke-width:0.00113976000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2647\" y=\"-21.11791\" x=\"494.97482\" style=\"font-size:16.97056197999999938px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\" transform=\"matrix(0,0.70710678,-1.4142136,0,0,0)\"><tspan y=\"-21.11791\" x=\"494.97482\" id=\"tspan2649\" sodipodi:role=\"line\">EX / MEM</tspan></text> </g> <g id=\"g2678\" transform=\"matrix(0.5053744,0,0,1.5223085,1051.2798,-422.20176)\" style=\"stroke-width:0.00114010000000000;stroke-miterlimit:4;stroke-dasharray:none\"> <rect y=\"175\" x=\"25\" height=\"350.00015\" width=\"25\" id=\"rect2680\" style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00114010000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path sodipodi:nodetypes=\"ccc\" id=\"path2682\" d=\"M 25,525 37.5,505 50,525\" style=\"fill:none;stroke:#000000;stroke-width:0.00114010000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2684\" y=\"-18.319565\" x=\"494.97482\" style=\"font-size:16.97056197999999938px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\" transform=\"matrix(0,0.70710677,-1.4142136,0,0,0)\"><tspan y=\"-18.319565\" x=\"494.97482\" id=\"tspan2686\" sodipodi:role=\"line\">MEM / WB</tspan></text> </g> <text xml:space=\"preserve\" style=\"font-size:9.80768967000000025px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"870.10309\" y=\"-100\" id=\"text6164-0\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan6166-2\" x=\"870.10309\" y=\"-100\">MEM</tspan></text> <text xml:space=\"preserve\" style=\"font-size:9.80768967000000025px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"870.10309\" y=\"-124\" id=\"text6168-3\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan6170-7\" x=\"870.10309\" y=\"-124\">WB</tspan></text> <g id=\"g2657-9\" transform=\"matrix(1.1461655,0,0,1.0107488,807.09391,-67.578064)\" /> <path style=\"fill:none;stroke:#000000;stroke-width:1.12346803999999989px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" d=\"m 869.82121,190.33501 56.79812,0\" id=\"path15126\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 1005,150 60,0\" id=\"path15132\" inkscape:connector-curvature=\"0\" /> <path sodipodi:type=\"arc\" id=\"path15134\" style=\"fill:#000000;stroke:none\" sodipodi:cx=\"940\" sodipodi:cy=\"150\" sodipodi:rx=\"1.5\" sodipodi:ry=\"1.5\" d=\"m 941.5,150 c 0,0.82843 -0.67157,1.5 -1.5,1.5 -0.82843,0 -1.5,-0.67157 -1.5,-1.5 0,-0.82843 0.67157,-1.5 1.5,-1.5 0.82843,0 1.5,0.67157 1.5,1.5 z\" transform=\"translate(125,0)\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 1065,280 -180,0\" id=\"path15140\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 870,350 195,0 0,0\" id=\"path15142\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" d=\"M 925,350 z\" id=\"path15144\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" d=\"m 870,160 55,0\" id=\"path15351\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" d=\"m 870.00761,-94.99239 19.98478,0 0,144.404197 0,0\" id=\"path15353\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" d=\"m 870,120 20,0 0,-50 0,0\" id=\"path15355\" inkscape:connector-curvature=\"0\" /> <g id=\"g2714-04\" transform=\"matrix(1.0107488,0,0,1.0107488,434.56464,-60.758717)\"> <rect y=\"110\" x=\"440\" height=\"30\" width=\"40.666668\" id=\"rect2613-4\" style=\"fill:#f57900;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2615-4\" y=\"128.24976\" x=\"460.504\" style=\"font-size:9px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"128.24976\" x=\"460.504\" id=\"tspan2617-4\" sodipodi:role=\"line\">Branch</tspan></text> </g> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 867.96875,-108.59375 97.03125,0 L 965,110\" id=\"path15388\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 865,-130 200,0\" id=\"path15390\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 865,-120 160,0 0,350 -60,0 0,-20\" id=\"path15392\" inkscape:connector-curvature=\"0\" /> <g id=\"g2657-9-2\" transform=\"matrix(0.5053744,0,0,1.0107488,916.28865,-67.68037)\" style=\"stroke-width:0.00139917000000000;stroke-miterlimit:4;stroke-dasharray:none\"> <rect y=\"175.69958\" x=\"18.8479\" height=\"100\" width=\"75\" id=\"rect2395-0-0\" style=\"fill:#cc0000;fill-rule:evenodd;stroke:#000000;stroke-width:0.00139917;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> </g> <rect style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" id=\"rect4287\" width=\"80\" height=\"100\" x=\"925\" y=\"610\" transform=\"translate(0,-500)\" /> </g> <g inkscape:label=\"#g4070\" id=\"dm_4\"> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 925,350 0,90 -155,0\" id=\"path15146\" inkscape:connector-curvature=\"0\" /> <path inkscape:connector-curvature=\"0\" id=\"path15386\" d=\"m 920,53 15,0 0,-375 -830,0 0,295\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15430\" d=\"m 867,40 40,0 0,-290 -740,0 0,0 0,250 -30,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow2Mend-6-6)\" /> <path sodipodi:nodetypes=\"cccc\" inkscape:connector-curvature=\"0\" id=\"path15136\" d=\"m 885.5,162.5 0,320 -305,0 0,-360\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> </g> </g>";
char* wbstage1= " <g id=\"WB_STAGE\" inkscape:label=\"#g4348\" transform=\"translate(-40,30)\"> <g inkscape:label=\"#g4310\" id=\"pipe_wb\"> <rect transform=\"matrix(0.58912994,0,0,1.5223083,1059.1859,-422.20168)\" y=\"175\" x=\"25\" height=\"350.00015\" width=\"25\" id=\"rect2680-0\" style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.0011401;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <g id=\"dm_2\" inkscape:label=\"#g4291\"> <g transform=\"matrix(1.0107488,0,0,1.0107488,644.89432,47.03188)\" id=\"g2670\"> <path inkscape:connector-curvature=\"0\" style=\"fill:#d3d7cf;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 469.25,164 0,50 20,-10 0,-30 -20,-10 z\" id=\"path2672\" sodipodi:nodetypes=\"ccccc\" /> </g> <path inkscape:connector-curvature=\"0\" id=\"path2787\" d=\"m 1119.1882,253.22463 -15.1613,0 0,25.26872 -15.1612,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02149749;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 1111.1022,251.20313 0,4.04299 8.086,-2.02149 -8.086,-2.0215\" id=\"use2789\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2823\" y=\"419.99817\" x=\"1125.541\" style=\"font-size:12.1289854px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"419.99817\" x=\"1125.541\" id=\"tspan2825\" sodipodi:role=\"line\">WB Data</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15148\" d=\"m 1090.1732,349.99716 14.8296,0 0,115.00568 -336.13864,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15154\" d=\"m 1085,150 20,0 0,70\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15156\" d=\"m 1105,220 15,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <path inkscape:connector-curvature=\"0\" id=\"path15158\" d=\"m 1135,239.17188 30,0 0,115 10,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <path transform=\"translate(0,-500)\" inkscape:connector-curvature=\"0\" id=\"path3340\" d=\"m 1090,390 40,0 0,330\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15059-7-3-3\" y=\"240\" x=\"1120\" style=\"font-size:7.20000029px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"240\" x=\"1120\" id=\"tspan15061-5-5-6\" sodipodi:role=\"line\">MUX</tspan></text> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow2Mend-6-6)\" d=\"m 1105.3877,461.21321 0,30 -709.99996,0 0,-350.00001\" id=\"path15396\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 383.54686,167.72467 0,221.75351 825.17324,0 0,-35.27897 -34.3822,0\" id=\"path2801\" sodipodi:nodetypes=\"ccccc\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 1086.3928,-123.02944 20,0 0,-160 -715.00001,0 0,280.0000027 35,0 0,80.0000003\" id=\"path15326\" inkscape:connector-curvature=\"0\" /> </g> </g> <rect style=\"fill:#8ae234;fill-rule:evenodd;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" id=\"rect2418\" width=\"30.179092\" height=\"100.35987\" x=\"404.57379\" y=\"79.723572\" /> </g>";
char* ifstage2= " <!-- pipe_if --> <g id=\"IF_STAGE\" inkscape:label=\"#g3349\" transform=\"translate(-40,30)\" style=\"opacity:0.5\"> <g transform=\"matrix(1.0107488,0,0,1.0107488,33.065235,0.53743842)\" id=\"g2657\"> <rect style=\"fill:#cc0000;fill-rule:evenodd;stroke:none\" id=\"rect2395\" width=\"34.83173\" height=\"100.51939\" x=\"140.42796\" y=\"174.74031\" /> </g> <g transform=\"matrix(1.0107488,0,0,1.0107488,48.226463,0.53743842)\" id=\"g2523\"> <rect style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"rect2411\" width=\"25\" height=\"100\" x=\"25\" y=\"175\" /> <path inkscape:connector-curvature=\"0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"M 25,275 37.5,255 50,275\" id=\"path2413\" sodipodi:nodetypes=\"ccc\" /> <text xml:space=\"preserve\" style=\"font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"29.425781\" y=\"229.36816\" id=\"text2398\" sodipodi:linespacing=\"100%%\"><tspan sodipodi:role=\"line\" id=\"tspan2400\" x=\"29.425781\" y=\"229.36816\">PC</tspan></text> </g> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"cccccccc\" id=\"path2402\" d=\"m 149.30134,25.806157 30.32246,15.161233 0,40.42995 -30.32246,15.16123 0,-30.32246 10.10749,-5.05375 -10.10749,-5.05374 0,-30.322463 z\" style=\"fill:#729fcf;fill-opacity:1;stroke:#000000;stroke-width:2.02149748999999979;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <text transform=\"matrix(0,1,-1,0,0,0)\" sodipodi:linespacing=\"100%%\" id=\"text2414\" y=\"-166.23137\" x=\"59.042419\" style=\"font-size:12.12898539999999947px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-166.23137\" x=\"59.042419\" id=\"tspan2416\" sodipodi:role=\"line\">Adder</tspan></text> <path inkscape:connector-curvature=\"0\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149748999999979;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 209.94627,227.95591 25.26871,0\" id=\"path2545\" /> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"cc\" id=\"path2438\" d=\"m 98.763901,227.95591 35.376209,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02149748999999979;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"ccc\" id=\"path2442\" d=\"m 108.87139,227.95591 0,-146.55857 35.37621,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02149748999999979;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773000000010;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 126.05412,225.93441 0,4.04299 8.08599,-2.02149 -8.08599,-2.0215\" id=\"use2519\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773000000010;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 141.21535,79.37584 0,4.04299 8.08599,-2.02149 -8.08599,-2.0215\" id=\"use2521\" inkscape:connector-curvature=\"0\" /> <g style=\"stroke-width:0.00045604000000000;stroke-miterlimit:4;stroke-dasharray:none\" transform=\"matrix(0.5053744,0,0,1.5223085,222.89781,-422.20153)\" id=\"g2529\"> <rect style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00045604000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"rect2531\" width=\"25\" height=\"350.00015\" x=\"25\" y=\"175\" /> <path inkscape:connector-curvature=\"0\" style=\"fill:none;stroke:#000000;stroke-width:0.00045604000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"M 25,525 37.5,505 50,525\" id=\"path2533\" sodipodi:nodetypes=\"ccc\" /> </g> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773000000010;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 227.129,225.93441 0,4.04299 8.08598,-2.02149 -8.08598,-2.0215\" id=\"use2547\" inkscape:connector-curvature=\"0\" /> <path transform=\"matrix(1.0107488,0,0,1.0107488,-126.12771,144.56914)\" d=\"m 235,82.5 c 0,1.380712 -1.11929,2.5 -2.5,2.5 -1.38071,0 -2.5,-1.119288 -2.5,-2.5 0,-1.380712 1.11929,-2.5 2.5,-2.5 1.38071,0 2.5,1.119288 2.5,2.5 z\" sodipodi:ry=\"2.5\" sodipodi:rx=\"2.5\" sodipodi:cy=\"82.5\" sodipodi:cx=\"232.5\" id=\"path2602\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" sodipodi:type=\"arc\" /> <path inkscape:connector-curvature=\"0\" id=\"path2811\" d=\"m 179.6238,61.18236 25.26872,0 0,-25.26872 30.32246,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02149748999999979;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773000000010;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 227.129,33.89215 0,4.04299 8.08598,-2.02149 -8.08598,-2.0215\" id=\"use2813\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2833\" y=\"222.90216\" x=\"215.00002\" style=\"font-size:12.12898539999999947px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"222.90216\" x=\"215.00002\" id=\"tspan2835\" sodipodi:role=\"line\">IR</tspan></text> <g transform=\"matrix(1.0107488,0,0,1.0107488,-225.95266,-249.73579)\" id=\"g2558-3\"> <path sodipodi:type=\"arc\" style=\"fill:#edd400;fill-opacity:1;stroke:#000000;stroke-width:1.99839556000000007;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"path2426-5\" sodipodi:cx=\"350\" sodipodi:cy=\"237.5\" sodipodi:rx=\"25\" sodipodi:ry=\"37.5\" d=\"m 375,237.5 c 0,20.71068 -11.19288,37.5 -25,37.5 -13.80712,0 -25,-16.78932 -25,-37.5 0,-20.71068 11.19288,-37.5 25,-37.5 13.80712,0 25,16.78932 25,37.5 z\" transform=\"matrix(1.0016064,0,0,1,-20.52208,22.5)\" /> <text xml:space=\"preserve\" style=\"font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"329.99622\" y=\"256.97363\" id=\"text2432-6\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" x=\"329.99622\" y=\"256.97363\" id=\"tspan2436-9\">MUX</tspan></text> </g> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"ccc\" id=\"path2442-1\" d=\"m 191.59776,61.30607 0,-36.258896 -61.07654,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend-2-5-7-6);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"ccc\" id=\"path2442-1-9\" d=\"m 85.40198,3.4344354 -27.380797,0 0,227.5938546\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path15402\" d=\"m 56.562501,230 20,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15432\" d=\"m 139,50 10,0\" style=\"fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15434\" y=\"50\" x=\"129\" style=\"font-size:16.87500000000000000px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"50\" x=\"129\" id=\"tspan15436\" sodipodi:role=\"line\">4</tspan></text> </g>";
char* idstage2= " <g id=\"ID_STAGE\" inkscape:label=\"#g3389\" transform=\"translate(-40,30)\" style=\"opacity:0.5\"> <g transform=\"matrix(1.0107488,0,0,1.0107488,95.46161,5.5911824)\" id=\"g2558\"> <path sodipodi:type=\"arc\" style=\"fill:#edd400;fill-opacity:1;stroke:#000000;stroke-width:1.99839556000000007;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"path2426\" sodipodi:cx=\"350\" sodipodi:cy=\"237.5\" sodipodi:rx=\"25\" sodipodi:ry=\"37.5\" d=\"m 375,237.5 c 0,20.71068 -11.19288,37.5 -25,37.5 -13.80712,0 -25,-16.78932 -25,-37.5 0,-20.71068 11.19288,-37.5 25,-37.5 13.80712,0 25,16.78932 25,37.5 z\" transform=\"matrix(1.0016064,0,0,1,-20.52208,22.5)\" /> <text xml:space=\"preserve\" style=\"font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"329.99622\" y=\"256.97363\" id=\"text2432\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan2434\" x=\"329.99622\" y=\"256.97363\">Sign</tspan><tspan sodipodi:role=\"line\" x=\"329.99622\" y=\"271.97363\" id=\"tspan2436\">Extend</tspan></text> </g> <path inkscape:connector-curvature=\"0\" id=\"path2549\" d=\"m 347.89308,227.95591 15.16123,0\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149748999999979;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"cccc\" id=\"path2551\" d=\"m 398.43051,91.50483 -35.3762,0 0,176.88102 35.3762,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02149748999999979;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773000000010;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 395.73517,266.36436 0,4.04299 8.08599,-2.02149 -8.08599,-2.0215\" id=\"use2564\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773000000010;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 395.39827,89.48333 0,4.04299 8.08599,-2.02149 -8.08599,-2.0215\" id=\"use2566\" inkscape:connector-curvature=\"0\" /> <path inkscape:connector-curvature=\"0\" id=\"path2568\" d=\"m 363.03782,116.77355 35.37621,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02149748999999979;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773000000010;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 395.39827,114.75205 0,4.04299 8.08599,-2.02149 -8.08599,-2.0215\" id=\"use2570\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773000000010;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 354.96832,225.93441 0,4.04299 8.08599,-2.02149 -8.08599,-2.0215\" id=\"use2582\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2584\" y=\"263.33212\" x=\"459.07544\" style=\"font-size:12.12898539999999947px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"263.33212\" x=\"459.07544\" id=\"tspan2586\" sodipodi:role=\"line\">Imm</tspan></text> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"cccc\" id=\"path2588\" d=\"m 462.9889,127.23458 10.54066,0 0,80.8599 15.16123,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02149748999999979;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773000000010;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 481.31191,205.71944 0,4.04299 8.08599,-2.02149 -8.08599,-2.0215\" id=\"use2590\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2592\" y=\"86.45108\" x=\"368.10806\" style=\"font-size:12.12898539999999947px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"86.45108\" x=\"368.10806\" id=\"tspan2594\" sodipodi:role=\"line\">RS1</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2596\" y=\"111.7198\" x=\"368.10806\" style=\"font-size:12.12898539999999947px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"111.7198\" x=\"368.10806\" id=\"tspan2598\" sodipodi:role=\"line\">RS2</tspan></text> <path transform=\"matrix(1.0107488,0,0,1.0107488,128.05522,33.38677)\" d=\"m 235,82.5 c 0,1.380712 -1.11929,2.5 -2.5,2.5 -1.38071,0 -2.5,-1.119288 -2.5,-2.5 0,-1.380712 1.11929,-2.5 2.5,-2.5 1.38071,0 2.5,1.119288 2.5,2.5 z\" sodipodi:ry=\"2.5\" sodipodi:rx=\"2.5\" sodipodi:cy=\"82.5\" sodipodi:cx=\"232.5\" id=\"path2600\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" sodipodi:type=\"arc\" /> <path inkscape:connector-curvature=\"0\" id=\"path2604\" d=\"m 454.0217,268.38586 30.32246,0\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773000000010;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773000000010;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 481.64881,266.36436 0,4.04299 8.08599,-2.02149 -8.08599,-2.0215\" id=\"use2606\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2815\" y=\"30\" x=\"315\" style=\"font-size:8.91037749999999917px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"30\" x=\"315\" id=\"tspan2817\" sodipodi:role=\"line\">Next SEQ PC</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path2913\" d=\"m 363.05431,268.38586 0,85.91364 126.34359,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02149748999999979;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773000000010;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 481.31191,352.27801 0,4.04299 8.08599,-2.02149 -8.08599,-2.0215\" id=\"use2915\" inkscape:connector-curvature=\"0\" /> <path transform=\"matrix(1.0107488,0,0,1.0107488,128.05523,184.99909)\" d=\"m 235,82.5 c 0,1.380712 -1.11929,2.5 -2.5,2.5 -1.38071,0 -2.5,-1.119288 -2.5,-2.5 0,-1.380712 1.11929,-2.5 2.5,-2.5 1.38071,0 2.5,1.119288 2.5,2.5 z\" sodipodi:ry=\"2.5\" sodipodi:rx=\"2.5\" sodipodi:cy=\"82.5\" sodipodi:cx=\"232.5\" id=\"path2921\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" sodipodi:type=\"arc\" /> <g transform=\"matrix(1.0107488,0,0,1.0107488,21.456721,-369.73579)\" id=\"g2558-3-2\"> <path sodipodi:type=\"arc\" style=\"fill:#edd400;fill-opacity:1;stroke:#000000;stroke-width:1.99839556000000007;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"path2426-5-7\" sodipodi:cx=\"350\" sodipodi:cy=\"237.5\" sodipodi:rx=\"25\" sodipodi:ry=\"37.5\" d=\"m 375,237.5 c 0,20.71068 -11.19288,37.5 -25,37.5 -13.80712,0 -25,-16.78932 -25,-37.5 0,-20.71068 11.19288,-37.5 25,-37.5 13.80712,0 25,16.78932 25,37.5 z\" transform=\"matrix(1.0016064,0,0,1,-20.52208,22.5)\" /> <text xml:space=\"preserve\" style=\"font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"329.99622\" y=\"256.97363\" id=\"text2432-6-0\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" x=\"329.99622\" y=\"256.97363\" id=\"tspan2436-9-9\">Control</tspan></text> </g> <path inkscape:connector-curvature=\"0\" id=\"path2781-3\" d=\"m 468.06726,-116.50665 25.06657,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02099991000000001;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2781-3-6\" d=\"m 468.06726,-95.50665 25.06657,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02099991000000001;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2781-3-1\" d=\"m 461.19313,-76.506649 29.59146,0\" style=\"fill:none;stroke:#000000;stroke-width:2.17224430999999996;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2706-7\" d=\"m 364.365,337.49468 123.90896,0\" style=\"fill:none;stroke:#000000;stroke-width:2.23804997999999999;stroke-opacity:1;marker:none;marker-end:url(#Arrow1Mend-2-5);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2706-7-2\" d=\"m 260.33074,227.89313 102.46534,0\" style=\"fill:none;stroke:#000000;stroke-width:2.05891775999999993;stroke-opacity:1;marker:none;marker-end:url(#Arrow1Mend-2-5);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path transform=\"matrix(1.0107488,0,0,1.0107488,126.64102,253.68895)\" d=\"m 235,82.5 c 0,1.380712 -1.11929,2.5 -2.5,2.5 -1.38071,0 -2.5,-1.119288 -2.5,-2.5 0,-1.380712 1.11929,-2.5 2.5,-2.5 1.38071,0 2.5,1.119288 2.5,2.5 z\" sodipodi:ry=\"2.5\" sodipodi:rx=\"2.5\" sodipodi:cy=\"82.5\" sodipodi:cx=\"232.5\" id=\"path2921-0\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" sodipodi:type=\"arc\" /> <path inkscape:connector-curvature=\"0\" id=\"path2706-7-2-5\" d=\"m 368.09643,91.36934 0,230.08917\" style=\"fill:none;stroke:#000000;stroke-width:1.68108653999999991;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2706-7-2-5-4\" d=\"m 388.60253,116.67183 0,214.64566\" style=\"fill:none;stroke:#000000;stroke-width:1.62368964999999998;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2706-7-5\" d=\"m 368.50714,318.4028 123.90896,0\" style=\"fill:none;stroke:#000000;stroke-width:2.23804997999999999;stroke-opacity:1;marker:none;marker-end:url(#Arrow1Mend-2-5-7);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2706-7-5-3\" d=\"m 389.34569,329.0094 96.8176,0\" style=\"fill:none;stroke:#000000;stroke-width:2.09890723000000001;stroke-opacity:1;marker:none;marker-end:url(#Arrow1Mend-2-5-7);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path transform=\"matrix(1.0107488,0,0,1.0107488,153.51108,245.20367)\" d=\"m 235,82.5 c 0,1.380712 -1.11929,2.5 -2.5,2.5 -1.38071,0 -2.5,-1.119288 -2.5,-2.5 0,-1.380712 1.11929,-2.5 2.5,-2.5 1.38071,0 2.5,1.119288 2.5,2.5 z\" sodipodi:ry=\"2.5\" sodipodi:rx=\"2.5\" sodipodi:cy=\"82.5\" sodipodi:cx=\"232.5\" id=\"path2921-0-7\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" sodipodi:type=\"arc\" /> <path transform=\"matrix(1.0107488,0,0,1.0107488,133.3065,235.91078)\" d=\"m 235,82.5 c 0,1.380712 -1.11929,2.5 -2.5,2.5 -1.38071,0 -2.5,-1.119288 -2.5,-2.5 0,-1.380712 1.11929,-2.5 2.5,-2.5 1.38071,0 2.5,1.119288 2.5,2.5 z\" sodipodi:ry=\"2.5\" sodipodi:rx=\"2.5\" sodipodi:cy=\"82.5\" sodipodi:cx=\"232.5\" id=\"path2921-0-4\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" sodipodi:type=\"arc\" /> <path transform=\"matrix(1.0107488,0,0,1.0107488,133.81259,9.6366054)\" d=\"m 235,82.5 c 0,1.380712 -1.11929,2.5 -2.5,2.5 -1.38071,0 -2.5,-1.119288 -2.5,-2.5 0,-1.380712 1.11929,-2.5 2.5,-2.5 1.38071,0 2.5,1.119288 2.5,2.5 z\" sodipodi:ry=\"2.5\" sodipodi:rx=\"2.5\" sodipodi:cy=\"82.5\" sodipodi:cx=\"232.5\" id=\"path2921-0-5\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" sodipodi:type=\"arc\" /> <path transform=\"matrix(1.0107488,0,0,1.0107488,153.60801,33.38386)\" d=\"m 235,82.5 c 0,1.380712 -1.11929,2.5 -2.5,2.5 -1.38071,0 -2.5,-1.119288 -2.5,-2.5 0,-1.380712 1.11929,-2.5 2.5,-2.5 1.38071,0 2.5,1.119288 2.5,2.5 z\" sodipodi:ry=\"2.5\" sodipodi:rx=\"2.5\" sodipodi:cy=\"82.5\" sodipodi:cx=\"232.5\" id=\"path2921-0-2\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" sodipodi:type=\"arc\" /> <g transform=\"matrix(0.27049004,0,0,0.27049004,383.73931,40.49119)\" id=\"g2558-4\"> <path sodipodi:type=\"arc\" style=\"fill:#edd400;fill-opacity:1;stroke:#000000;stroke-width:1.99839556000000007;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"path2426-7\" sodipodi:cx=\"350\" sodipodi:cy=\"237.5\" sodipodi:rx=\"25\" sodipodi:ry=\"37.5\" d=\"m 375,237.5 c 0,20.71068 -11.19288,37.5 -25,37.5 -13.80712,0 -25,-16.78932 -25,-37.5 0,-20.71068 11.19288,-37.5 25,-37.5 13.80712,0 25,16.78932 25,37.5 z\" transform=\"matrix(1.0016064,0,0,1,-20.52208,22.5)\" /> <text xml:space=\"preserve\" style=\"font-size:47.43578720000000004px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"329.99622\" y=\"275.45862\" id=\"text2432-4\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" x=\"329.99622\" y=\"275.45862\" id=\"tspan2436-3\">=</tspan></text> </g> <path inkscape:connector-curvature=\"0\" id=\"path2706-7-2-5-4-0\" d=\"m 473.1018,89.92887 0,11.1054\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2706-7-2-5-4-0-7\" d=\"m 473.5056,121.01089 0,10.2066\" style=\"fill:none;stroke:#000000;stroke-width:1.91735959000000000;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2604-5-9\" d=\"m 472.81248,90.65556 14.85113,0\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1.17960763000000002;stroke-opacity:1;marker:none;marker-end:url(#Arrow2Mend-6);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <g transform=\"matrix(1.0107488,0,0,1.0107488,111.45673,-369.73579)\" id=\"g2558-3-5\"> <path sodipodi:type=\"arc\" style=\"fill:#edd400;fill-opacity:1;stroke:#000000;stroke-width:1.99839556000000007;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"path2426-5-0\" sodipodi:cx=\"350\" sodipodi:cy=\"237.5\" sodipodi:rx=\"25\" sodipodi:ry=\"37.5\" d=\"m 375,237.5 c 0,20.71068 -11.19288,37.5 -25,37.5 -13.80712,0 -25,-16.78932 -25,-37.5 0,-20.71068 11.19288,-37.5 25,-37.5 13.80712,0 25,16.78932 25,37.5 z\" transform=\"matrix(1.0016064,0,0,1,-20.52208,22.5)\" /> <text xml:space=\"preserve\" style=\"font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"329.99622\" y=\"256.97363\" id=\"text2432-6-4\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" x=\"329.99622\" y=\"256.97363\" id=\"tspan2436-9-8\">MUX</tspan></text> </g> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"cc\" id=\"path2704-7-1\" d=\"m 378.36007,-109.04325 41.21405,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2781-3-1-2\" d=\"m 397.55352,-77.213757 29.59146,0\" style=\"fill:none;stroke:#000000;stroke-width:2.17224430999999996;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path transform=\"matrix(1.0107488,0,0,1.0107488,60.51108,-191.79633)\" d=\"m 235,82.5 c 0,1.380712 -1.11929,2.5 -2.5,2.5 -1.38071,0 -2.5,-1.119288 -2.5,-2.5 0,-1.380712 1.11929,-2.5 2.5,-2.5 1.38071,0 2.5,1.119288 2.5,2.5 z\" sodipodi:ry=\"2.5\" sodipodi:rx=\"2.5\" sodipodi:cy=\"82.5\" sodipodi:cx=\"232.5\" id=\"path2921-0-7-7\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" sodipodi:type=\"arc\" /> <text sodipodi:linespacing=\"125%%\" id=\"text13584\" y=\"-80\" x=\"395\" style=\"font-size:20px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-80\" x=\"395\" id=\"tspan13586\" sodipodi:role=\"line\">0</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2833-1\" y=\"-118.89474\" x=\"263.39432\" style=\"font-size:15.16123198999999921px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-118.89474\" x=\"263.39432\" id=\"tspan2835-5\" sodipodi:role=\"line\">IR</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2819-0\" y=\"73.558746\" x=\"457.44885\" style=\"font-size:12.12898539999999947px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"73.558746\" x=\"457.44885\" id=\"tspan2821-3\" sodipodi:role=\"line\">Reg Write</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path22684\" d=\"m 382.56113,168 22.22495,0\" style=\"fill:none;stroke:#000000;stroke-width:2.09409642000000007;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path transform=\"translate(0,-500)\" inkscape:connector-curvature=\"0\" id=\"path23122\" d=\"m 395,640 10,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <g style=\"stroke-width:0.00114010000000000;stroke-miterlimit:4;stroke-dasharray:none\" transform=\"matrix(0.5053744,0,0,1.5223085,479.08072,-422.20151)\" id=\"g2572-5\"> <rect style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00114010000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"rect2574-6\" width=\"25\" height=\"350.00015\" x=\"25\" y=\"175\" /> <path inkscape:connector-curvature=\"0\" style=\"fill:none;stroke:#000000;stroke-width:0.00114010000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"M 25,525 37.5,505 50,525\" id=\"path2576-2\" sodipodi:nodetypes=\"ccc\" /> <text transform=\"matrix(0,0.70710678,-1.4142136,0,0,0)\" xml:space=\"preserve\" style=\"font-size:16.97056197999999938px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"494.41135\" y=\"-26.570417\" id=\"text2578-9\" sodipodi:linespacing=\"100%%\"><tspan sodipodi:role=\"line\" id=\"tspan2580-1\" x=\"494.41135\" y=\"-26.570417\">ID / EX</tspan></text> </g> <rect y=\"79.682701\" x=\"434.00739\" height=\"100.35987\" width=\"30.179092\" id=\"rect2418-1\" style=\"fill:#8ae234;fill-rule:evenodd;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <g id=\"pipe_id\" inkscape:label=\"#g3386\" style=\"fill:none;stroke:#000000;stroke-opacity:0.50000000000000000\"> <g id=\"g3492\" style=\"fill:#000000;stroke:#110011;stroke-width:3\"> <g id=\"g3482\"> <g id=\"g3473\"> <path style=\"fill:none;stroke:#000000;stroke-width:2.62295032000000017;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 258.06428,-109.04325 70.88681,0\" id=\"path2704-7-1-7\" sodipodi:nodetypes=\"cc\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 260,34.265625 230,0 0,0\" id=\"path14929\" inkscape:connector-curvature=\"0\" /> <g id=\"g2529-3\" transform=\"matrix(0.5053744,0,0,1.5223085,234.89781,-422.20153)\" style=\"stroke-width:0.00114010000000000;stroke-miterlimit:4;stroke-dasharray:none\"> <rect y=\"175\" x=\"25\" height=\"350.00015\" width=\"25\" id=\"rect2531-6\" style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00114010000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path sodipodi:nodetypes=\"ccc\" id=\"path2533-7\" d=\"M 25,525 37.5,505 50,525\" style=\"fill:none;stroke:#000000;stroke-width:0.00114010000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2535-5\" y=\"-12.722864\" x=\"494.63922\" style=\"font-size:16.97056197999999938px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\" transform=\"matrix(0,0.70710678,-1.4142136,0,0,0)\"><tspan y=\"-12.722864\" x=\"494.63922\" id=\"tspan2537-3\" sodipodi:role=\"line\">IF / ID</tspan></text> </g> </g> </g> </g> <rect style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" id=\"rect4299\" width=\"60\" height=\"100\" x=\"405\" y=\"580\" transform=\"translate(0,-500)\" /> </g> </g>";
//char* exstage2= " <g id=\"EX_STAGE\" inkscape:label=\"#g3503\" transform=\"translate(-40,30)\" style=\"opacity:0.5\"> <g transform=\"matrix(1.0107488,0,0,1.0107488,339.56464,-30.758717)\" id=\"g2714\"> <rect style=\"fill:#f57900;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" id=\"rect2613\" width=\"40.666668\" height=\"30\" x=\"440\" y=\"110\" /> <text xml:space=\"preserve\" style=\"font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"460.48569\" y=\"129.36816\" id=\"text2615\" sodipodi:linespacing=\"100%%\"><tspan sodipodi:role=\"line\" id=\"tspan2617\" x=\"460.48569\" y=\"129.36816\">Zero?</tspan></text> </g> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"ccccccccc\" id=\"path2619\" d=\"m 706.0534,84.07542 59.86384,34.65883 0,86.64706 -59.86384,34.65881 0,-51.98823 14.96596,-8.6647 0,-34.65883 -14.96596,-8.6647 0,-51.98824 z\" style=\"fill:#729fcf;fill-opacity:1;stroke:#000000;stroke-width:3.22087740999999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2621\" y=\"160\" x=\"745\" style=\"font-size:18.02420615999999853px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"160\" x=\"745\" id=\"tspan2623\" sodipodi:role=\"line\">ALU</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path2911\" d=\"m 540.84221,354.2995 -26.96745,0\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.03091407000000013;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <text sodipodi:linespacing=\"125%%\" id=\"text6160\" y=\"-118\" x=\"518.0965\" style=\"font-size:10.17093945000000055px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-118\" x=\"518.0965\" id=\"tspan6162\" sodipodi:role=\"line\">WB</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text6164\" y=\"-100.55556\" x=\"518.0965\" style=\"font-size:10.17093945000000055px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-100.55556\" x=\"518.0965\" id=\"tspan6166\" sodipodi:role=\"line\">MEM</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text6168\" y=\"-83\" x=\"518.0965\" style=\"font-size:10.17093945000000055px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-83\" x=\"518.0965\" id=\"tspan6170\" sodipodi:role=\"line\">EX</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path2706-8\" d=\"m 516.31283,-97.729542 319.54293,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend-2);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2706-8-2\" d=\"m 516.31644,-115.40721 321.51381,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend-2);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"cc\" id=\"path2743-3\" d=\"m 515.37373,338.48994 30.32246,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02149748999999979;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <g transform=\"matrix(0.61568724,0,0,0.61568724,252.54856,233.82751)\" id=\"g2727-3\"> <path inkscape:connector-curvature=\"0\" style=\"fill:#d3d7cf;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 469.25,164 0,50 20,-10 0,-30 -20,-10 z\" id=\"path2729-1\" sodipodi:nodetypes=\"ccccc\" /> </g> <path inkscape:connector-curvature=\"0\" id=\"path14709\" d=\"m 555,350 290,0 0,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path14933\" d=\"m 515,90 140,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path14935\" d=\"m 515,210 100,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <g transform=\"matrix(1.0107488,0,0,1.4158121,114.89433,-39.146046)\" id=\"g2625-9-7\"> <path inkscape:connector-curvature=\"0\" style=\"fill:#d3d7cf;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 469.25,164 0,50 20,-10 0,-30 -20,-10 z\" id=\"path2627-7-3\" sodipodi:nodetypes=\"ccccc\" /> </g> <g transform=\"matrix(1.0107488,0,0,1.4158121,178.89433,-41.146048)\" id=\"g2625-9-7-8\"> <path inkscape:connector-curvature=\"0\" style=\"fill:#d3d7cf;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 469.25,164 0,50 20,-10 0,-30 -20,-10 z\" id=\"path2627-7-3-1\" sodipodi:nodetypes=\"ccccc\" /> </g> <path inkscape:connector-curvature=\"0\" id=\"path15045\" d=\"m 675,220 30,0 0,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <path inkscape:connector-curvature=\"0\" id=\"path15047\" d=\"m 615,210 30,0 10,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <path inkscape:connector-curvature=\"0\" id=\"path15049\" d=\"m 515,270 130,0 0,-30 10,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15051\" d=\"m 665,110 40,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15053\" d=\"m 767,161 78,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15059\" y=\"280\" x=\"650\" style=\"font-size:7.20000029000000019px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"280\" x=\"650\" id=\"tspan15061\" sodipodi:role=\"line\">ALU SRC</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15063\" d=\"m 570.5,105.27764 0,284.94472\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <path inkscape:connector-curvature=\"0\" id=\"path15067\" d=\"m 570,230 20,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none\" /> <path inkscape:connector-curvature=\"0\" id=\"path15069\" d=\"m 570,105 80,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15071\" d=\"m 580,120 70,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15073\" d=\"m 580,255 10,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none\" /> <path inkscape:connector-curvature=\"0\" id=\"path15124\" d=\"m 630,210 0,80 5,0 160,0 0,-100 50,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path transform=\"translate(125,0)\" d=\"m 461.5,120 c 0,0.82843 -0.67157,1.5 -1.5,1.5 -0.82843,0 -1.5,-0.67157 -1.5,-1.5 0,-0.82843 0.67157,-1.5 1.5,-1.5 0.82843,0 1.5,0.67157 1.5,1.5 z\" sodipodi:ry=\"1.5\" sodipodi:rx=\"1.5\" sodipodi:cy=\"120\" sodipodi:cx=\"460\" style=\"fill:#000000;stroke:none\" id=\"path15138\" sodipodi:type=\"arc\" /> <path inkscape:connector-curvature=\"0\" id=\"path15150\" d=\"m 515,320 85,0 0,115 95,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15152\" d=\"m 515,330 75,0 0,125 105,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15160\" d=\"m 515,-70 170,0 0,340 -20,0 0,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15162\" d=\"m 665,270 0,-15 0,0\" style=\"fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <path inkscape:connector-curvature=\"0\" id=\"path15164\" d=\"m 615,270 0,50 90,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <rect transform=\"matrix(0,1,-1,0,0,0)\" y=\"-755.06293\" x=\"303.73138\" height=\"52.463142\" width=\"33.012695\" id=\"rect2418-3-5\" style=\"fill:#8ae234;fill-rule:evenodd;stroke:#000000;stroke-width:1.10565090000000010;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <path inkscape:connector-curvature=\"0\" id=\"path15184\" d=\"m 730,305 0,-80\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15186-9\" y=\"316.84662\" x=\"728.94128\" style=\"font-size:9.49218750000000000px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan id=\"tspan15190-3\" y=\"316.84662\" x=\"728.94128\" sodipodi:role=\"line\">ALU</tspan><tspan id=\"tspan15225\" y=\"328.71185\" x=\"728.94128\" sodipodi:role=\"line\">Control</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text15186-9-8\" y=\"316.84662\" x=\"728.94128\" style=\"font-size:9.49218750000000000px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan id=\"tspan15190-3-5\" y=\"316.84662\" x=\"728.94128\" sodipodi:role=\"line\">ALU</tspan><tspan id=\"tspan15225-6\" y=\"328.71185\" x=\"728.94128\" sodipodi:role=\"line\">Control</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text15186-9-8-1\" y=\"140\" x=\"805\" style=\"font-size:9.49218750000000000px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan id=\"tspan15190-3-5-1\" y=\"140\" x=\"805\" sodipodi:role=\"line\">ALU</tspan><tspan id=\"tspan15225-6-5\" y=\"151.86523\" x=\"805\" sodipodi:role=\"line\">Result</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15275\" d=\"m 515,-80 260,0 0,400 -20,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15186-9-8-1-9\" y=\"320\" x=\"795\" style=\"font-size:9.49218750000000000px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan id=\"tspan15225-6-5-4\" y=\"320\" x=\"795\" sodipodi:role=\"line\">ALU Op</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15303\" d=\"m 515,-60 20,0 0,440 10,0 0,-20\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15186-9-8-1-9-8\" y=\"384\" x=\"545\" style=\"font-size:9.49218750000000000px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan id=\"tspan15225-6-5-4-1\" y=\"384\" x=\"545\" sodipodi:role=\"line\">Reg Dest</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15349\" d=\"m 765,120 80,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"ccccccccc\" id=\"path2619-7\" d=\"m 576.8186,19.028097 22.11984,12.806524 0,32.016306 -22.11984,12.806517 0,-19.209781 5.52996,-3.201629 0,-12.806524 -5.52996,-3.201628 0,-19.209785 z\" style=\"fill:#729fcf;fill-opacity:1;stroke:#000000;stroke-width:1.19012224999999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path15422\" d=\"m 545,270 0,-210 30,0 0,0 0,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15424\" d=\"m 515,35 60,0 0,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15428\" d=\"m 600,40 245,0\" style=\"fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <g transform=\"matrix(0.27048989,0,0,0.24367426,465.73936,-2.1221749)\" id=\"g2558-4-6\"> <path sodipodi:type=\"arc\" style=\"fill:#edd400;fill-opacity:1;stroke:#000000;stroke-width:1.99839556000000007;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"path2426-7-3\" sodipodi:cx=\"350\" sodipodi:cy=\"237.5\" sodipodi:rx=\"25\" sodipodi:ry=\"37.5\" d=\"m 375,237.5 c 0,20.71068 -11.19288,37.5 -25,37.5 -13.80712,0 -25,-16.78932 -25,-37.5 0,-20.71068 11.19288,-37.5 25,-37.5 13.80712,0 25,16.78932 25,37.5 z\" transform=\"matrix(1.0016064,0,0,1,-20.52208,22.5)\" /> <text xml:space=\"preserve\" style=\"font-size:47.43578720000000004px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"329.99622\" y=\"275.45862\" id=\"text2432-4-1\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" x=\"329.99622\" y=\"275.45862\" id=\"tspan2436-3-7\">2</tspan></text> <text transform=\"scale(0.94913788,1.0535877)\" sodipodi:linespacing=\"125%%\" id=\"text15465\" y=\"220.60469\" x=\"446.34912\" style=\"font-size:87.64001464999999769px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"220.60469\" x=\"446.34912\" id=\"tspan15467\" sodipodi:role=\"line\">+</tspan></text> </g> <text sodipodi:linespacing=\"100%%\" id=\"text2815-5\" y=\"20\" x=\"625\" style=\"font-size:8.91037749999999917px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"20\" x=\"625\" id=\"tspan2817-9\" sodipodi:role=\"line\">Next SEQ PC</tspan></text> <g style=\"stroke-width:0.00113976000000000;stroke-miterlimit:4;stroke-dasharray:none\" transform=\"matrix(0.5053744,0,0,1.5232106,830.95735,-422.06383)\" id=\"g2641-2\"> <rect style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00113976000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"rect2643-7\" width=\"25\" height=\"350.00015\" x=\"25\" y=\"175\" /> <path inkscape:connector-curvature=\"0\" style=\"fill:none;stroke:#000000;stroke-width:0.00113976000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"M 25,525 37.5,505 50,525\" id=\"path2645-0\" sodipodi:nodetypes=\"ccc\" /> </g> <g transform=\"matrix(1.0107488,0,0,1.4158121,179.55647,-160.70819)\" id=\"g2625-9-7-3\" style=\"fill:#000000;stroke:#110011;stroke-width:3\"> <path inkscape:connector-curvature=\"0\" style=\"fill:#d3d7cf;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 469.25,164 0,50 20,-10 0,-30 -20,-10 z\" id=\"path2627-7-3-6\" sodipodi:nodetypes=\"ccccc\" /> </g> <text sodipodi:linespacing=\"125%%\" id=\"text15059-7\" y=\"230\" x=\"590\" style=\"font-size:7.20000029000000019px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"230\" x=\"590\" id=\"tspan15061-5\" sodipodi:role=\"line\">MUX</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text15059-7-3\" y=\"230\" x=\"655\" style=\"font-size:7.20000029000000019px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"230\" x=\"655\" id=\"tspan15061-5-5\" sodipodi:role=\"line\">MUX</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text15059-7-3-6\" y=\"109\" x=\"655\" style=\"font-size:7.20000029000000019px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"109\" x=\"655\" id=\"tspan15061-5-5-2\" sodipodi:role=\"line\">MUX</tspan></text> </g>";
char* exstage2= " <g id=\"EX_STAGE\" inkscape:label=\"#g3503\" transform=\"translate(-40,30)\" style=\"opacity:0.5\"> <g style=\"fill:#000000;stroke:#110011;stroke-width:0.00080617000000000;stroke-miterlimit:4;stroke-dasharray:none\" transform=\"matrix(0.99660639,0,0,1.5194514,433.3363,-390.70152)\" id=\"g2572\"> <rect style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00080617000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"rect2574\" width=\"12.5\" height=\"350.00015\" x=\"70.382805\" y=\"155.91417\" /> <path inkscape:connector-curvature=\"0\" style=\"fill:none;stroke:#000000;stroke-width:0.00080617000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"M 25,525 37.5,505 50,525\" id=\"path2576\" sodipodi:nodetypes=\"ccc\" /> </g> <g transform=\"matrix(1.0107488,0,0,1.0107488,339.56464,-30.758717)\" id=\"g2714\"> <rect style=\"fill:#f57900;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" id=\"rect2613\" width=\"40.666668\" height=\"30\" x=\"440\" y=\"110\" /> <text xml:space=\"preserve\" style=\"font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"460.48569\" y=\"129.36816\" id=\"text2615\" sodipodi:linespacing=\"100%%\"><tspan sodipodi:role=\"line\" id=\"tspan2617\" x=\"460.48569\" y=\"129.36816\">Zero?</tspan></text> </g> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"ccccccccc\" id=\"path2619\" d=\"m 706.0534,84.07542 59.86384,34.65883 0,86.64706 -59.86384,34.65881 0,-51.98823 14.96596,-8.6647 0,-34.65883 -14.96596,-8.6647 0,-51.98824 z\" style=\"fill:#729fcf;fill-opacity:1;stroke:#000000;stroke-width:3.22087740999999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2621\" y=\"160\" x=\"745\" style=\"font-size:18.02420615999999853px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"160\" x=\"745\" id=\"tspan2623\" sodipodi:role=\"line\">ALU</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path2911\" d=\"m 540.84221,354.2995 -26.96745,0\" style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.03091407000000013;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <text sodipodi:linespacing=\"125%%\" id=\"text6160\" y=\"-118\" x=\"518.0965\" style=\"font-size:10.17093945000000055px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-118\" x=\"518.0965\" id=\"tspan6162\" sodipodi:role=\"line\">WB</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text6164\" y=\"-100.55556\" x=\"518.0965\" style=\"font-size:10.17093945000000055px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-100.55556\" x=\"518.0965\" id=\"tspan6166\" sodipodi:role=\"line\">MEM</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text6168\" y=\"-83\" x=\"518.0965\" style=\"font-size:10.17093945000000055px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-83\" x=\"518.0965\" id=\"tspan6170\" sodipodi:role=\"line\">EX</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path2706-8\" d=\"m 516.31283,-97.729542 319.54293,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend-2);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path2706-8-2\" d=\"m 516.31644,-115.40721 321.51381,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend-2);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"cc\" id=\"path2743-3\" d=\"m 515.37373,338.48994 30.32246,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02149748999999979;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <g transform=\"matrix(0.61568724,0,0,0.61568724,252.54856,233.82751)\" id=\"g2727-3\"> <path inkscape:connector-curvature=\"0\" style=\"fill:#d3d7cf;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 469.25,164 0,50 20,-10 0,-30 -20,-10 z\" id=\"path2729-1\" sodipodi:nodetypes=\"ccccc\" /> </g> <path inkscape:connector-curvature=\"0\" id=\"path14709\" d=\"m 555,350 290,0 0,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path14933\" d=\"m 515,90 140,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path14935\" d=\"m 515,210 100,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <g transform=\"matrix(1.0107488,0,0,1.4158121,114.89433,-39.146046)\" id=\"g2625-9-7\"> <path inkscape:connector-curvature=\"0\" style=\"fill:#d3d7cf;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 469.25,164 0,50 20,-10 0,-30 -20,-10 z\" id=\"path2627-7-3\" sodipodi:nodetypes=\"ccccc\" /> </g> <g transform=\"matrix(1.0107488,0,0,1.4158121,178.89433,-41.146048)\" id=\"g2625-9-7-8\"> <path inkscape:connector-curvature=\"0\" style=\"fill:#d3d7cf;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 469.25,164 0,50 20,-10 0,-30 -20,-10 z\" id=\"path2627-7-3-1\" sodipodi:nodetypes=\"ccccc\" /> </g> <path inkscape:connector-curvature=\"0\" id=\"path15045\" d=\"m 675,220 30,0 0,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <path inkscape:connector-curvature=\"0\" id=\"path15047\" d=\"m 615,210 30,0 10,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <path inkscape:connector-curvature=\"0\" id=\"path15049\" d=\"m 515,270 130,0 0,-30 10,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15051\" d=\"m 665,110 40,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15053\" d=\"m 767,161 78,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15059\" y=\"280\" x=\"650\" style=\"font-size:7.20000029000000019px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"280\" x=\"650\" id=\"tspan15061\" sodipodi:role=\"line\">ALU SRC</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15063\" d=\"m 570.5,105.27764 0,284.94472\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <path inkscape:connector-curvature=\"0\" id=\"path15067\" d=\"m 570,230 20,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none\" /> <path inkscape:connector-curvature=\"0\" id=\"path15069\" d=\"m 570,105 80,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15071\" d=\"m 580,120 70,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15073\" d=\"m 580,255 10,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none\" /> <path inkscape:connector-curvature=\"0\" id=\"path15124\" d=\"m 630,210 0,80 5,0 160,0 0,-100 50,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path transform=\"translate(125,0)\" d=\"m 461.5,120 c 0,0.82843 -0.67157,1.5 -1.5,1.5 -0.82843,0 -1.5,-0.67157 -1.5,-1.5 0,-0.82843 0.67157,-1.5 1.5,-1.5 0.82843,0 1.5,0.67157 1.5,1.5 z\" sodipodi:ry=\"1.5\" sodipodi:rx=\"1.5\" sodipodi:cy=\"120\" sodipodi:cx=\"460\" style=\"fill:#000000;stroke:none\" id=\"path15138\" sodipodi:type=\"arc\" /> <path inkscape:connector-curvature=\"0\" id=\"path15150\" d=\"m 515,320 85,0 0,115 95,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15152\" d=\"m 515,330 75,0 0,125 105,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15160\" d=\"m 515,-70 170,0 0,340 -20,0 0,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15162\" d=\"m 665,270 0,-15 0,0\" style=\"fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <path inkscape:connector-curvature=\"0\" id=\"path15164\" d=\"m 615,270 0,50 90,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <rect transform=\"matrix(0,1,-1,0,0,0)\" y=\"-755.06293\" x=\"303.73138\" height=\"52.463142\" width=\"33.012695\" id=\"rect2418-3-5\" style=\"fill:#8ae234;fill-rule:evenodd;stroke:#000000;stroke-width:1.10565090000000010;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <path inkscape:connector-curvature=\"0\" id=\"path15184\" d=\"m 730,305 0,-80\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15186-9\" y=\"316.84662\" x=\"728.94128\" style=\"font-size:9.49218750000000000px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan id=\"tspan15190-3\" y=\"316.84662\" x=\"728.94128\" sodipodi:role=\"line\">ALU</tspan><tspan id=\"tspan15225\" y=\"328.71185\" x=\"728.94128\" sodipodi:role=\"line\">Control</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text15186-9-8\" y=\"316.84662\" x=\"728.94128\" style=\"font-size:9.49218750000000000px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan id=\"tspan15190-3-5\" y=\"316.84662\" x=\"728.94128\" sodipodi:role=\"line\">ALU</tspan><tspan id=\"tspan15225-6\" y=\"328.71185\" x=\"728.94128\" sodipodi:role=\"line\">Control</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text15186-9-8-1\" y=\"140\" x=\"805\" style=\"font-size:9.49218750000000000px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan id=\"tspan15190-3-5-1\" y=\"140\" x=\"805\" sodipodi:role=\"line\">ALU</tspan><tspan id=\"tspan15225-6-5\" y=\"151.86523\" x=\"805\" sodipodi:role=\"line\">Result</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15275\" d=\"m 515,-80 260,0 0,400 -20,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15186-9-8-1-9\" y=\"320\" x=\"795\" style=\"font-size:9.49218750000000000px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan id=\"tspan15225-6-5-4\" y=\"320\" x=\"795\" sodipodi:role=\"line\">ALU Op</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15303\" d=\"m 515,-60 20,0 0,440 10,0 0,-20\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15186-9-8-1-9-8\" y=\"384\" x=\"545\" style=\"font-size:9.49218750000000000px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan id=\"tspan15225-6-5-4-1\" y=\"384\" x=\"545\" sodipodi:role=\"line\">Reg Dest</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15349\" d=\"m 765,120 80,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"ccccccccc\" id=\"path2619-7\" d=\"m 576.8186,19.028097 22.11984,12.806524 0,32.016306 -22.11984,12.806517 0,-19.209781 5.52996,-3.201629 0,-12.806524 -5.52996,-3.201628 0,-19.209785 z\" style=\"fill:#729fcf;fill-opacity:1;stroke:#000000;stroke-width:1.19012224999999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" id=\"path15422\" d=\"m 545,270 0,-210 30,0 0,0 0,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15424\" d=\"m 515,35 60,0 0,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15428\" d=\"m 600,40 245,0\" style=\"fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <g transform=\"matrix(0.27048989,0,0,0.24367426,465.73936,-2.1221749)\" id=\"g2558-4-6\"> <path sodipodi:type=\"arc\" style=\"fill:#edd400;fill-opacity:1;stroke:#000000;stroke-width:1.99839556000000007;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"path2426-7-3\" sodipodi:cx=\"350\" sodipodi:cy=\"237.5\" sodipodi:rx=\"25\" sodipodi:ry=\"37.5\" d=\"m 375,237.5 c 0,20.71068 -11.19288,37.5 -25,37.5 -13.80712,0 -25,-16.78932 -25,-37.5 0,-20.71068 11.19288,-37.5 25,-37.5 13.80712,0 25,16.78932 25,37.5 z\" transform=\"matrix(1.0016064,0,0,1,-20.52208,22.5)\" /> <text xml:space=\"preserve\" style=\"font-size:47.43578720000000004px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"329.99622\" y=\"275.45862\" id=\"text2432-4-1\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" x=\"329.99622\" y=\"275.45862\" id=\"tspan2436-3-7\">2</tspan></text> <text transform=\"scale(0.94913788,1.0535877)\" sodipodi:linespacing=\"125%%\" id=\"text15465\" y=\"220.60469\" x=\"446.34912\" style=\"font-size:87.64001465000001190px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"220.60469\" x=\"446.34912\" id=\"tspan15467\" sodipodi:role=\"line\">+</tspan></text> </g> <text sodipodi:linespacing=\"100%%\" id=\"text2815-5\" y=\"20\" x=\"625\" style=\"font-size:8.91037749999999917px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"20\" x=\"625\" id=\"tspan2817-9\" sodipodi:role=\"line\">Next SEQ PC</tspan></text> <g style=\"stroke-width:0.00113976000000000;stroke-miterlimit:4;stroke-dasharray:none\" transform=\"matrix(0.5053744,0,0,1.5232106,830.95735,-422.06383)\" id=\"g2641-2\"> <rect style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00113976000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"rect2643-7\" width=\"25\" height=\"350.00015\" x=\"25\" y=\"175\" /> <path inkscape:connector-curvature=\"0\" style=\"fill:none;stroke:#000000;stroke-width:0.00113976000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"M 25,525 37.5,505 50,525\" id=\"path2645-0\" sodipodi:nodetypes=\"ccc\" /> </g> <g transform=\"matrix(1.0107488,0,0,1.4158121,179.55647,-160.70819)\" id=\"g2625-9-7-3\" style=\"fill:#000000;stroke:#110011;stroke-width:3\"> <path inkscape:connector-curvature=\"0\" style=\"fill:#d3d7cf;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 469.25,164 0,50 20,-10 0,-30 -20,-10 z\" id=\"path2627-7-3-6\" sodipodi:nodetypes=\"ccccc\" /> </g> <text sodipodi:linespacing=\"125%%\" id=\"text15059-7\" y=\"230\" x=\"590\" style=\"font-size:7.20000029000000019px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"230\" x=\"590\" id=\"tspan15061-5\" sodipodi:role=\"line\">MUX</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text15059-7-3\" y=\"230\" x=\"655\" style=\"font-size:7.20000029000000019px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"230\" x=\"655\" id=\"tspan15061-5-5\" sodipodi:role=\"line\">MUX</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text15059-7-3-6\" y=\"109\" x=\"655\" style=\"font-size:7.20000029000000019px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"109\" x=\"655\" id=\"tspan15061-5-5-2\" sodipodi:role=\"line\">MUX</tspan></text> </g>";
char* dmstageRead2= " <g id=\"DM_READ_STAGE\" inkscape:label=\"#g4076\" transform=\"translate(-40,30)\"> <g transform=\"translate(-0.1481358,0.9634786)\" inkscape:label=\"#g3592\" id=\"DM_1\" style=\"opacity:0.5\"> <g id=\"g2641\" transform=\"matrix(0.5053744,0,0,1.5232106,843.05501,-422.08727)\" style=\"stroke-width:0.00113976000000000;stroke-miterlimit:4;stroke-dasharray:none\"> <rect y=\"175\" x=\"25\" height=\"350.00015\" width=\"25\" id=\"rect2643\" style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00113976000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path sodipodi:nodetypes=\"ccc\" id=\"path2645\" d=\"M 25,525 37.5,505 50,525\" style=\"fill:none;stroke:#000000;stroke-width:0.00113976000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2647\" y=\"-21.11791\" x=\"494.97482\" style=\"font-size:16.97056197999999938px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\" transform=\"matrix(0,0.70710678,-1.4142136,0,0,0)\"><tspan y=\"-21.11791\" x=\"494.97482\" id=\"tspan2649\" sodipodi:role=\"line\">EX / MEM</tspan></text> </g> <g id=\"g2678\" transform=\"matrix(0.5053744,0,0,1.5223085,1051.2798,-422.20176)\" style=\"stroke-width:0.00114010000000000;stroke-miterlimit:4;stroke-dasharray:none\"> <rect y=\"175\" x=\"25\" height=\"350.00015\" width=\"25\" id=\"rect2680\" style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00114010000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path sodipodi:nodetypes=\"ccc\" id=\"path2682\" d=\"M 25,525 37.5,505 50,525\" style=\"fill:none;stroke:#000000;stroke-width:0.00114010000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2684\" y=\"-18.319565\" x=\"494.97482\" style=\"font-size:16.97056197999999938px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\" transform=\"matrix(0,0.70710677,-1.4142136,0,0,0)\"><tspan y=\"-18.319565\" x=\"494.97482\" id=\"tspan2686\" sodipodi:role=\"line\">MEM / WB</tspan></text> </g> <text xml:space=\"preserve\" style=\"font-size:9.80768967000000025px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"870.10309\" y=\"-100\" id=\"text6164-0\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan6166-2\" x=\"870.10309\" y=\"-100\">MEM</tspan></text> <text xml:space=\"preserve\" style=\"font-size:9.80768967000000025px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"870.10309\" y=\"-124\" id=\"text6168-3\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan6170-7\" x=\"870.10309\" y=\"-124\">WB</tspan></text> <g id=\"g2657-9\" transform=\"matrix(1.1461655,0,0,1.0107488,807.09391,-67.578064)\" /> <path style=\"fill:none;stroke:#000000;stroke-width:1.12346803999999989px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" d=\"m 869.82121,190.33501 56.79812,0\" id=\"path15126\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 1005,150 60,0\" id=\"path15132\" inkscape:connector-curvature=\"0\" /> <path sodipodi:type=\"arc\" id=\"path15134\" style=\"fill:#000000;stroke:none\" sodipodi:cx=\"940\" sodipodi:cy=\"150\" sodipodi:rx=\"1.5\" sodipodi:ry=\"1.5\" d=\"m 941.5,150 c 0,0.82843 -0.67157,1.5 -1.5,1.5 -0.82843,0 -1.5,-0.67157 -1.5,-1.5 0,-0.82843 0.67157,-1.5 1.5,-1.5 0.82843,0 1.5,0.67157 1.5,1.5 z\" transform=\"translate(125,0)\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 1065,280 -180,0\" id=\"path15140\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 870,350 195,0 0,0\" id=\"path15142\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" d=\"M 925,350 z\" id=\"path15144\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" d=\"m 870,160 55,0\" id=\"path15351\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" d=\"m 870.00761,-94.99239 19.98478,0 0,144.404197 0,0\" id=\"path15353\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" d=\"m 870,120 20,0 0,-50 0,0\" id=\"path15355\" inkscape:connector-curvature=\"0\" /> <g id=\"g2714-04\" transform=\"matrix(1.0107488,0,0,1.0107488,434.56464,-60.758717)\"> <rect y=\"110\" x=\"440\" height=\"30\" width=\"40.666668\" id=\"rect2613-4\" style=\"fill:#f57900;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2615-4\" y=\"128.24976\" x=\"460.504\" style=\"font-size:9px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"128.24976\" x=\"460.504\" id=\"tspan2617-4\" sodipodi:role=\"line\">Branch</tspan></text> </g> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 867.96875,-108.59375 97.03125,0 L 965,110\" id=\"path15388\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 865,-130 200,0\" id=\"path15390\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 865,-120 160,0 0,350 -60,0 0,-20\" id=\"path15392\" inkscape:connector-curvature=\"0\" /> <g id=\"g2657-9-2\" transform=\"matrix(0.5053744,0,0,1.0107488,916.28865,-67.68037)\" style=\"stroke-width:0.00139917000000000;stroke-miterlimit:4;stroke-dasharray:none\"> <rect y=\"175\" x=\"100\" height=\"100\" width=\"75\" id=\"rect2395-0-0\" style=\"fill:#cc0000;fill-rule:evenodd;stroke:#000000;stroke-width:0.00139917000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> </g> <rect style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" id=\"rect4287\" width=\"80\" height=\"100\" x=\"925\" y=\"610\" transform=\"translate(0,-500)\" /> </g> <g inkscape:label=\"#g4070\" id=\"dm_4\"> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 925,350 0,90 -155,0\" id=\"path15146\" inkscape:connector-curvature=\"0\" /> <path inkscape:connector-curvature=\"0\" id=\"path15386\" d=\"m 920,53 15,0 0,-375 -830,0 0,295\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15430\" d=\"m 867,40 40,0 0,-290 -740,0 0,0 0,250 -30,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow2Mend-6-6)\" /> <path sodipodi:nodetypes=\"cccc\" inkscape:connector-curvature=\"0\" id=\"path15136\" d=\"m 885.5,162.5 0,320 -305,0 0,-360\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> </g> </g>";
char* dmstageWrite2= " <g id=\"DM_READ_STAGE\" inkscape:label=\"#g4076\" transform=\"translate(-40,30)\" style=\"opacity:0.5\"> <g transform=\"translate(-0.1481358,0.9634786)\" inkscape:label=\"#g3592\" id=\"DM_1\" style=\"opacity:1\"> <g id=\"g2641\" transform=\"matrix(0.5053744,0,0,1.5232106,843.05501,-422.08727)\" style=\"stroke-width:0.00113976000000000;stroke-miterlimit:4;stroke-dasharray:none\"> <rect y=\"175\" x=\"25\" height=\"350.00015\" width=\"25\" id=\"rect2643\" style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00113976000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path sodipodi:nodetypes=\"ccc\" id=\"path2645\" d=\"M 25,525 37.5,505 50,525\" style=\"fill:none;stroke:#000000;stroke-width:0.00113976000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2647\" y=\"-21.11791\" x=\"494.97482\" style=\"font-size:16.97056197999999938px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\" transform=\"matrix(0,0.70710678,-1.4142136,0,0,0)\"><tspan y=\"-21.11791\" x=\"494.97482\" id=\"tspan2649\" sodipodi:role=\"line\">EX / MEM</tspan></text> </g> <g id=\"g2678\" transform=\"matrix(0.5053744,0,0,1.5223085,1051.2798,-422.20176)\" style=\"stroke-width:0.00114010000000000;stroke-miterlimit:4;stroke-dasharray:none\"> <rect y=\"175\" x=\"25\" height=\"350.00015\" width=\"25\" id=\"rect2680\" style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00114010000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path sodipodi:nodetypes=\"ccc\" id=\"path2682\" d=\"M 25,525 37.5,505 50,525\" style=\"fill:none;stroke:#000000;stroke-width:0.00114010000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2684\" y=\"-18.319565\" x=\"494.97482\" style=\"font-size:16.97056197999999938px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\" transform=\"matrix(0,0.70710677,-1.4142136,0,0,0)\"><tspan y=\"-18.319565\" x=\"494.97482\" id=\"tspan2686\" sodipodi:role=\"line\">MEM / WB</tspan></text> </g> <text xml:space=\"preserve\" style=\"font-size:9.80768967000000025px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"870.10309\" y=\"-100\" id=\"text6164-0\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan6166-2\" x=\"870.10309\" y=\"-100\">MEM</tspan></text> <text xml:space=\"preserve\" style=\"font-size:9.80768967000000025px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"870.10309\" y=\"-124\" id=\"text6168-3\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan6170-7\" x=\"870.10309\" y=\"-124\">WB</tspan></text> <g id=\"g2657-9\" transform=\"matrix(1.1461655,0,0,1.0107488,807.09391,-67.578064)\" /> <path style=\"fill:none;stroke:#000000;stroke-width:1.12346803999999989px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" d=\"m 869.82121,190.33501 56.79812,0\" id=\"path15126\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 1005,150 60,0\" id=\"path15132\" inkscape:connector-curvature=\"0\" /> <path sodipodi:type=\"arc\" id=\"path15134\" style=\"fill:#000000;stroke:none\" sodipodi:cx=\"940\" sodipodi:cy=\"150\" sodipodi:rx=\"1.5\" sodipodi:ry=\"1.5\" d=\"m 941.5,150 c 0,0.82843 -0.67157,1.5 -1.5,1.5 -0.82843,0 -1.5,-0.67157 -1.5,-1.5 0,-0.82843 0.67157,-1.5 1.5,-1.5 0.82843,0 1.5,0.67157 1.5,1.5 z\" transform=\"translate(125,0)\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 1065,280 -180,0\" id=\"path15140\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 870,350 195,0 0,0\" id=\"path15142\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" d=\"M 925,350 z\" id=\"path15144\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" d=\"m 870,160 55,0\" id=\"path15351\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" d=\"m 870.00761,-94.99239 19.98478,0 0,144.404197 0,0\" id=\"path15353\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" d=\"m 870,120 20,0 0,-50 0,0\" id=\"path15355\" inkscape:connector-curvature=\"0\" /> <g id=\"g2714-04\" transform=\"matrix(1.0107488,0,0,1.0107488,434.56464,-60.758717)\"> <rect y=\"110\" x=\"440\" height=\"30\" width=\"40.666668\" id=\"rect2613-4\" style=\"fill:#f57900;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2615-4\" y=\"128.24976\" x=\"460.504\" style=\"font-size:9px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"128.24976\" x=\"460.504\" id=\"tspan2617-4\" sodipodi:role=\"line\">Branch</tspan></text> </g> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 867.96875,-108.59375 97.03125,0 L 965,110\" id=\"path15388\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 865,-130 200,0\" id=\"path15390\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 865,-120 160,0 0,350 -60,0 0,-20\" id=\"path15392\" inkscape:connector-curvature=\"0\" /> <g id=\"g2657-9-2\" transform=\"matrix(0.5053744,0,0,1.0107488,916.28865,-67.68037)\" style=\"stroke-width:0.00139917000000000;stroke-miterlimit:4;stroke-dasharray:none\"> <rect y=\"175.69958\" x=\"18.8479\" height=\"100\" width=\"75\" id=\"rect2395-0-0\" style=\"fill:#cc0000;fill-rule:evenodd;stroke:#000000;stroke-width:0.00139917000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> </g> <rect style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" id=\"rect4287\" width=\"80\" height=\"100\" x=\"925\" y=\"610\" transform=\"translate(0,-500)\" /> </g> <g inkscape:label=\"#g4070\" id=\"dm_4\"> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 925,350 0,90 -155,0\" id=\"path15146\" inkscape:connector-curvature=\"0\" /> <path inkscape:connector-curvature=\"0\" id=\"path15386\" d=\"m 920,53 15,0 0,-375 -830,0 0,295\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15430\" d=\"m 867,40 40,0 0,-290 -740,0 0,0 0,250 -30,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow2Mend-6-6)\" /> <path sodipodi:nodetypes=\"cccc\" inkscape:connector-curvature=\"0\" id=\"path15136\" d=\"m 885.5,162.5 0,320 -305,0 0,-360\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> </g> </g>";
char* wbstage2= " <g id=\"WB_STAGE\" inkscape:label=\"#g4348\" transform=\"translate(-40,30)\" style=\"opacity:0.5\"> <g inkscape:label=\"#g4310\" id=\"pipe_wb\" style=\"opacity:0.50000000000000000\"> <rect transform=\"matrix(0.58912994,0,0,1.5223083,1059.1859,-422.20168)\" y=\"175\" x=\"25\" height=\"350.00015\" width=\"25\" id=\"rect2680-0\" style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00114010000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <g id=\"dm_2\" inkscape:label=\"#g4291\"> <g transform=\"matrix(1.0107488,0,0,1.0107488,644.89432,47.03188)\" id=\"g2670\"> <path inkscape:connector-curvature=\"0\" style=\"fill:#d3d7cf;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 469.25,164 0,50 20,-10 0,-30 -20,-10 z\" id=\"path2672\" sodipodi:nodetypes=\"ccccc\" /> </g> <path inkscape:connector-curvature=\"0\" id=\"path2787\" d=\"m 1119.1882,253.22463 -15.1613,0 0,25.26872 -15.1612,0\" style=\"fill:none;stroke:#000000;stroke-width:2.02149748999999979;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.02149773000000010;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 1111.1022,251.20313 0,4.04299 8.086,-2.02149 -8.086,-2.0215\" id=\"use2789\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2823\" y=\"419.99817\" x=\"1125.541\" style=\"font-size:12.12898539999999947px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"419.99817\" x=\"1125.541\" id=\"tspan2825\" sodipodi:role=\"line\">WB Data</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15148\" d=\"m 1090.1732,349.99716 14.8296,0 0,115.00568 -336.13864,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15154\" d=\"m 1085,150 20,0 0,70\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15156\" d=\"m 1105,220 15,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <path inkscape:connector-curvature=\"0\" id=\"path15158\" d=\"m 1135,239.17188 30,0 0,115 10,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <path transform=\"translate(0,-500)\" inkscape:connector-curvature=\"0\" id=\"path3340\" d=\"m 1090,390 40,0 0,330\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15059-7-3-3\" y=\"240\" x=\"1120\" style=\"font-size:7.20000029000000019px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"240\" x=\"1120\" id=\"tspan15061-5-5-6\" sodipodi:role=\"line\">MUX</tspan></text> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow2Mend-6-6)\" d=\"m 1105.3877,461.21321 0,30 -709.99996,0 0,-350.00001\" id=\"path15396\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 383.54686,167.72467 0,221.75351 825.17324,0 0,-35.27897 -34.3822,0\" id=\"path2801\" sodipodi:nodetypes=\"ccccc\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 1086.3928,-123.02944 20,0 0,-160 -715.00001,0 0,280.0000027 35,0 0,80.0000003\" id=\"path15326\" inkscape:connector-curvature=\"0\" /> </g> </g> <rect style=\"fill:#8ae234;fill-rule:evenodd;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" id=\"rect2418\" width=\"30.179092\" height=\"100.35987\" x=\"404.57379\" y=\"79.723572\" /> </g>";
char* restRead= " <g id=\"REST_READ_STAGE\" inkscape:label=\"#g3418\"> <g style=\"stroke-width:0.00080617;stroke-miterlimit:4;stroke-dasharray:none\" transform=\"matrix(1.0107488,0,0,1.5223085,432.12918,-392.20151)\" id=\"g2572\"> <rect style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00080617;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"rect2574\" width=\"12.5\" height=\"350.00015\" x=\"31.25\" y=\"175\" /> <path inkscape:connector-curvature=\"0\" style=\"fill:none;stroke:#000000;stroke-width:0.00080617;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"M 25,525 37.5,505 50,525\" id=\"path2576\" sodipodi:nodetypes=\"ccc\" /> </g> <text sodipodi:linespacing=\"100%%\" id=\"text2837\" y=\"-348.23868\" x=\"104.85988\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-348.23868\" x=\"104.85988\" id=\"tspan2839\" sodipodi:role=\"line\">%s</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2845\" y=\"-351.89212\" x=\"326.78763\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-351.89212\" x=\"326.78763\" id=\"tspan2847\" sodipodi:role=\"line\">%s</tspan><tspan id=\"tspan2849\" y=\"-335.72015\" x=\"326.78763\" sodipodi:role=\"line\"></tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2851\" y=\"-350\" x=\"620\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan id=\"tspan2855\" y=\"-350\" x=\"620\" sodipodi:role=\"line\">%s</tspan><tspan id=\"tspan2859\" y=\"-333.82803\" x=\"620\" sodipodi:role=\"line\"></tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2861\" y=\"-349.62494\" x=\"915.09967\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan id=\"tspan2869\" y=\"-349.62494\" x=\"915.09967\" sodipodi:role=\"line\">%s</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2873\" y=\"-350\" x=\"1100\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan id=\"tspan2875\" y=\"-350\" x=\"1100\" sodipodi:role=\"line\">%s</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2885\" y=\"-310\" x=\"95.759201\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-310\" x=\"95.759201\" id=\"tspan2887\" sodipodi:role=\"line\">IF</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2889\" y=\"-304\" x=\"315.99216\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-304\" x=\"315.99216\" id=\"tspan2891\" sodipodi:role=\"line\">ID</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2893\" y=\"-303.42661\" x=\"605.19019\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-303.42661\" x=\"605.19019\" id=\"tspan2895\" sodipodi:role=\"line\">EX</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2897\" y=\"-309.57007\" x=\"891.64716\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-309.57007\" x=\"891.64716\" id=\"tspan2899\" sodipodi:role=\"line\">MEM</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2901\" y=\"-309.57007\" x=\"1083.6938\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-309.57007\" x=\"1083.6938\" id=\"tspan2903\" sodipodi:role=\"line\">WB</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text6168-3-8\" y=\"-91.999992\" x=\"1047.6521\" style=\"font-size:9.80768967px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-91.999992\" x=\"1047.6521\" id=\"tspan6170-7-9\" sodipodi:role=\"line\">WB</tspan></text> <g transform=\"matrix(3.9992806,0,0,1.5161232,-1394.8643,-365.93052)\" id=\"g2714-0\"> <rect style=\"fill:#f57900;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" id=\"rect2613-6\" width=\"40.666668\" height=\"30\" x=\"440\" y=\"110\" /> <text xml:space=\"preserve\" style=\"font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"460.48569\" y=\"129.36816\" id=\"text2615-1\" sodipodi:linespacing=\"100%%\"><tspan sodipodi:role=\"line\" id=\"tspan2617-5\" x=\"460.48569\" y=\"129.36816\" /></text> </g> <text sodipodi:linespacing=\"125%%\" id=\"text12184\" y=\"-180\" x=\"375\" style=\"font-size:16.875px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-180\" x=\"375\" id=\"tspan12186\" sodipodi:role=\"line\">Hazard Detection </tspan><tspan id=\"tspan12190\" y=\"-158.90625\" x=\"375\" sodipodi:role=\"line\">Unit</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path2706-8-2-2-0\" d=\"m 403.85909,-150.83239 0,38.42354\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend-2);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"ccc\" id=\"path2442-1-2-7\" d=\"m 364.13407,-180.35094 -109.02685,0 0,101.34922\" style=\"fill:none;stroke:#000000;stroke-width:2.24102449;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:4.04299545;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 342.9561,-183.86062 0,8.08598 16.17198,-4.04298 -16.17198,-4.043\" id=\"use2779-1\" inkscape:connector-curvature=\"0\" /> <path inkscape:connector-curvature=\"0\" id=\"path14705\" d=\"m 364.98416,-189.98416 -159.96832,0 0,63.87457\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <rect transform=\"matrix(0,1,-1,0,0,0)\" y=\"-729.22076\" x=\"452.86047\" height=\"71.940048\" width=\"45.268639\" id=\"rect2418-3\" style=\"fill:#8ae234;fill-rule:evenodd;stroke:#000000;stroke-width:1.51612306;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15186\" y=\"471.06396\" x=\"695.01544\" style=\"font-size:12.65625px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"471.06396\" x=\"695.01544\" id=\"tspan15188\" sodipodi:role=\"line\">Forwarding</tspan><tspan id=\"tspan15190\" y=\"486.88428\" x=\"695.01544\" sodipodi:role=\"line\">Unit</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15398\" d=\"m 565,-70 0,-100 -40,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15400\" d=\"m 365,-170 -319.999999,0 0,380\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow2Mend-6-6)\" /> <g style=\"stroke-width:0.0011401;stroke-miterlimit:4;stroke-dasharray:none\" transform=\"matrix(0.58912994,0,0,1.5223083,1019.1859,-392.20168)\" id=\"g2678-6\"> <path inkscape:connector-curvature=\"0\" style=\"fill:none;stroke:#000000;stroke-width:0.0011401;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"M 25,525 37.5,505 50,525\" id=\"path2682-6\" sodipodi:nodetypes=\"ccc\" /> </g> <path inkscape:connector-curvature=\"0\" id=\"path3342\" d=\"m 665,450 0,-50 -100,0 0,-120\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path3344\" d=\"m 680,450 0,-60 -25,0 0,-200 -35,0 0,-20\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow2Mend-6-6)\" /> <rect y=\"-125\" x=\"195\" height=\"531\" width=\"25\" id=\"rect3371\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <rect y=\"-125.64728\" x=\"452.03113\" height=\"533.92603\" width=\"24.994709\" id=\"rect3371-7\" style=\"fill:none;stroke:#000000;stroke-width:2.00529075;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <rect y=\"-124.53099\" x=\"1023.0737\" height=\"531\" width=\"25\" id=\"rect3371-3\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <g id=\"g3836\" style=\"fill:#000000;stroke:#110011;stroke-width:3\" transform=\"translate(-40.034639,30.559771)\"> <rect style=\"fill:none;stroke:#000000;stroke-width:2.00333333;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" id=\"rect3371-5\" width=\"25.041666\" height=\"531.88501\" x=\"844.10815\" y=\"-155.3501\" /> </g> <text sodipodi:linespacing=\"125%%\" id=\"text4479\" y=\"150\" x=\"395\" style=\"font-size:15px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"150\" x=\"395\" id=\"tspan4481\" sodipodi:role=\"line\">Register</tspan><tspan id=\"tspan4483\" y=\"168.75\" x=\"395\" sodipodi:role=\"line\">File</tspan></text> </g> </g> <rect style=\"fill:#cc0000;fill-opacity:1;stroke:none;opacity:0.5\" id=\"rect4302\" width=\"39.811291\" height=\"102\" x=\"120.16116\" y=\"167.85095\" /> <text xml:space=\"preserve\" style=\"font-size:11.63990974px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"100\" y=\"160\" id=\"text4304\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan4306\" x=\"100\" y=\"160\">Instruction Memory</tspan></text> <text xml:space=\"preserve\" style=\"font-size:19.24236488px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"1180\" y=\"40\" id=\"text4319\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan4321\" x=\"1180\" y=\"40\">Threads</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"64.052956\" id=\"tspan4323\">IF Thread</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"88.105911\" id=\"tspan4325\">ID Thread</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"112.15887\" id=\"tspan4327\">EX Thread</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"136.21182\" id=\"tspan4329\">DM Thread</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"160.26479\" id=\"tspan4331\">WB Thread</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"184.31773\" id=\"tspan4333\">Display Thread</tspan></text> <rect style=\"opacity:0.5;fill:#cc0000;fill-opacity:1;stroke:none\" id=\"rect4302-3\" width=\"40.926777\" height=\"98.25\" x=\"910.75\" y=\"103\" /> <text xml:space=\"preserve\" style=\"font-size:15.01493835px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"908\" y=\"238\" id=\"text4353\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan4355\" x=\"908\" y=\"238\">Data Memory</tspan></text> </g> </g> </svg> ";
char* restWrite=" <g id=\"REST_READ_STAGE\" inkscape:label=\"#g3418\"> <g style=\"stroke-width:0.00080617;stroke-miterlimit:4;stroke-dasharray:none\" transform=\"matrix(1.0107488,0,0,1.5223085,432.12918,-392.20151)\" id=\"g2572\"> <rect style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00080617;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"rect2574\" width=\"12.5\" height=\"350.00015\" x=\"31.25\" y=\"175\" /> <path inkscape:connector-curvature=\"0\" style=\"fill:none;stroke:#000000;stroke-width:0.00080617;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"M 25,525 37.5,505 50,525\" id=\"path2576\" sodipodi:nodetypes=\"ccc\" /> </g> <text sodipodi:linespacing=\"100%%\" id=\"text2837\" y=\"-348.23868\" x=\"104.85988\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-348.23868\" x=\"104.85988\" id=\"tspan2839\" sodipodi:role=\"line\">%s</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2845\" y=\"-351.89212\" x=\"326.78763\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-351.89212\" x=\"326.78763\" id=\"tspan2847\" sodipodi:role=\"line\">%s</tspan><tspan id=\"tspan2849\" y=\"-335.72015\" x=\"326.78763\" sodipodi:role=\"line\"></tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2851\" y=\"-350\" x=\"620\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan id=\"tspan2855\" y=\"-350\" x=\"620\" sodipodi:role=\"line\">%s</tspan><tspan id=\"tspan2859\" y=\"-333.82803\" x=\"620\" sodipodi:role=\"line\"></tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2861\" y=\"-349.62494\" x=\"915.09967\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan id=\"tspan2869\" y=\"-349.62494\" x=\"915.09967\" sodipodi:role=\"line\">%s</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2873\" y=\"-350\" x=\"1100\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan id=\"tspan2875\" y=\"-350\" x=\"1100\" sodipodi:role=\"line\">%s</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2885\" y=\"-310\" x=\"95.759201\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-310\" x=\"95.759201\" id=\"tspan2887\" sodipodi:role=\"line\">IF</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2889\" y=\"-304\" x=\"315.99216\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-304\" x=\"315.99216\" id=\"tspan2891\" sodipodi:role=\"line\">ID</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2893\" y=\"-303.42661\" x=\"605.19019\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-303.42661\" x=\"605.19019\" id=\"tspan2895\" sodipodi:role=\"line\">EX</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2897\" y=\"-309.57007\" x=\"891.64716\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-309.57007\" x=\"891.64716\" id=\"tspan2899\" sodipodi:role=\"line\">MEM</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2901\" y=\"-309.57007\" x=\"1083.6938\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-309.57007\" x=\"1083.6938\" id=\"tspan2903\" sodipodi:role=\"line\">WB</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text6168-3-8\" y=\"-91.999992\" x=\"1047.6521\" style=\"font-size:9.80768967px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-91.999992\" x=\"1047.6521\" id=\"tspan6170-7-9\" sodipodi:role=\"line\">WB</tspan></text> <g transform=\"matrix(3.9992806,0,0,1.5161232,-1394.8643,-365.93052)\" id=\"g2714-0\"> <rect style=\"fill:#f57900;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" id=\"rect2613-6\" width=\"40.666668\" height=\"30\" x=\"440\" y=\"110\" /> <text xml:space=\"preserve\" style=\"font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"460.48569\" y=\"129.36816\" id=\"text2615-1\" sodipodi:linespacing=\"100%%\"><tspan sodipodi:role=\"line\" id=\"tspan2617-5\" x=\"460.48569\" y=\"129.36816\" /></text> </g> <text sodipodi:linespacing=\"125%%\" id=\"text12184\" y=\"-180\" x=\"375\" style=\"font-size:16.875px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-180\" x=\"375\" id=\"tspan12186\" sodipodi:role=\"line\">Hazard Detection </tspan><tspan id=\"tspan12190\" y=\"-158.90625\" x=\"375\" sodipodi:role=\"line\">Unit</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path2706-8-2-2-0\" d=\"m 403.85909,-150.83239 0,38.42354\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend-2);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"ccc\" id=\"path2442-1-2-7\" d=\"m 364.13407,-180.35094 -109.02685,0 0,101.34922\" style=\"fill:none;stroke:#000000;stroke-width:2.24102449;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:4.04299545;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 342.9561,-183.86062 0,8.08598 16.17198,-4.04298 -16.17198,-4.043\" id=\"use2779-1\" inkscape:connector-curvature=\"0\" /> <path inkscape:connector-curvature=\"0\" id=\"path14705\" d=\"m 364.98416,-189.98416 -159.96832,0 0,63.87457\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <rect transform=\"matrix(0,1,-1,0,0,0)\" y=\"-729.22076\" x=\"452.86047\" height=\"71.940048\" width=\"45.268639\" id=\"rect2418-3\" style=\"fill:#8ae234;fill-rule:evenodd;stroke:#000000;stroke-width:1.51612306;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15186\" y=\"471.06396\" x=\"695.01544\" style=\"font-size:12.65625px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"471.06396\" x=\"695.01544\" id=\"tspan15188\" sodipodi:role=\"line\">Forwarding</tspan><tspan id=\"tspan15190\" y=\"486.88428\" x=\"695.01544\" sodipodi:role=\"line\">Unit</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15398\" d=\"m 565,-70 0,-100 -40,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15400\" d=\"m 365,-170 -319.999999,0 0,380\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow2Mend-6-6)\" /> <g style=\"stroke-width:0.0011401;stroke-miterlimit:4;stroke-dasharray:none\" transform=\"matrix(0.58912994,0,0,1.5223083,1019.1859,-392.20168)\" id=\"g2678-6\"> <path inkscape:connector-curvature=\"0\" style=\"fill:none;stroke:#000000;stroke-width:0.0011401;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"M 25,525 37.5,505 50,525\" id=\"path2682-6\" sodipodi:nodetypes=\"ccc\" /> </g> <path inkscape:connector-curvature=\"0\" id=\"path3342\" d=\"m 665,450 0,-50 -100,0 0,-120\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path3344\" d=\"m 680,450 0,-60 -25,0 0,-200 -35,0 0,-20\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow2Mend-6-6)\" /> <rect y=\"-125\" x=\"195\" height=\"531\" width=\"25\" id=\"rect3371\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <rect y=\"-125.64728\" x=\"452.03113\" height=\"533.92603\" width=\"24.994709\" id=\"rect3371-7\" style=\"fill:none;stroke:#000000;stroke-width:2.00529075;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <rect y=\"-124.53099\" x=\"1023.0737\" height=\"531\" width=\"25\" id=\"rect3371-3\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <g id=\"g3836\" style=\"fill:#000000;stroke:#110011;stroke-width:3\" transform=\"translate(-40.034639,30.559771)\"> <rect style=\"fill:none;stroke:#000000;stroke-width:2.00333333;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" id=\"rect3371-5\" width=\"25.041666\" height=\"531.88501\" x=\"844.10815\" y=\"-155.3501\" /> </g> <text sodipodi:linespacing=\"125%%\" id=\"text4479\" y=\"150\" x=\"395\" style=\"font-size:15px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"150\" x=\"395\" id=\"tspan4481\" sodipodi:role=\"line\">Register</tspan><tspan id=\"tspan4483\" y=\"168.75\" x=\"395\" sodipodi:role=\"line\">File</tspan></text> </g> </g> <rect style=\"fill:#cc0000;fill-opacity:1;stroke:none;opacity:0.5\" id=\"rect4302\" width=\"39.811291\" height=\"102\" x=\"120.16116\" y=\"167.85095\" /> <text xml:space=\"preserve\" style=\"font-size:11.63990974px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"100\" y=\"160\" id=\"text4304\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan4306\" x=\"100\" y=\"160\">Instruction Memory</tspan></text> <text xml:space=\"preserve\" style=\"font-size:19.24236488px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"1180\" y=\"40\" id=\"text4319\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan4321\" x=\"1180\" y=\"40\">Threads</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"64.052956\" id=\"tspan4323\">IF Thread</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"88.105911\" id=\"tspan4325\">ID Thread</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"112.15887\" id=\"tspan4327\">EX Thread</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"136.21182\" id=\"tspan4329\">DM Thread</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"160.26479\" id=\"tspan4331\">WB Thread</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"184.31773\" id=\"tspan4333\">Display Thread</tspan></text> <rect style=\"opacity:0.5;fill:#cc0000;fill-opacity:1;stroke:none\" id=\"rect4302-3\" width=\"40.573223\" height=\"98.25\" x=\"948.58026\" y=\"103\" /> <text xml:space=\"preserve\" style=\"font-size:15.01493835px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"908\" y=\"238\" id=\"text4353\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan4355\" x=\"908\" y=\"238\">Data Memory</tspan></text> </g> </g> </svg> ";
char* dm1= " <g id=\"DM_READ_STAGE\" inkscape:label=\"#g4076\" transform=\"translate(-40,30)\"> <g transform=\"translate(-0.1481358,0.9634786)\" inkscape:label=\"#g3592\" id=\"DM_1\" style=\"opacity:1\"> <g id=\"g2641\" transform=\"matrix(0.5053744,0,0,1.5232106,843.05501,-422.08727)\" style=\"stroke-width:0.00113976000000000;stroke-miterlimit:4;stroke-dasharray:none\"> <rect y=\"175\" x=\"25\" height=\"350.00015\" width=\"25\" id=\"rect2643\" style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00113976000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path sodipodi:nodetypes=\"ccc\" id=\"path2645\" d=\"M 25,525 37.5,505 50,525\" style=\"fill:none;stroke:#000000;stroke-width:0.00113976000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2647\" y=\"-21.11791\" x=\"494.97482\" style=\"font-size:16.97056197999999938px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\" transform=\"matrix(0,0.70710678,-1.4142136,0,0,0)\"><tspan y=\"-21.11791\" x=\"494.97482\" id=\"tspan2649\" sodipodi:role=\"line\">EX / MEM</tspan></text> </g> <g id=\"g2678\" transform=\"matrix(0.5053744,0,0,1.5223085,1051.2798,-422.20176)\" style=\"stroke-width:0.00114010000000000;stroke-miterlimit:4;stroke-dasharray:none\"> <rect y=\"175\" x=\"25\" height=\"350.00015\" width=\"25\" id=\"rect2680\" style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00114010000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path sodipodi:nodetypes=\"ccc\" id=\"path2682\" d=\"M 25,525 37.5,505 50,525\" style=\"fill:none;stroke:#000000;stroke-width:0.00114010000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2684\" y=\"-18.319565\" x=\"494.97482\" style=\"font-size:16.97056197999999938px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\" transform=\"matrix(0,0.70710677,-1.4142136,0,0,0)\"><tspan y=\"-18.319565\" x=\"494.97482\" id=\"tspan2686\" sodipodi:role=\"line\">MEM / WB</tspan></text> </g> <text xml:space=\"preserve\" style=\"font-size:9.80768967000000025px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"870.10309\" y=\"-100\" id=\"text6164-0\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan6166-2\" x=\"870.10309\" y=\"-100\">MEM</tspan></text> <text xml:space=\"preserve\" style=\"font-size:9.80768967000000025px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"870.10309\" y=\"-124\" id=\"text6168-3\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan6170-7\" x=\"870.10309\" y=\"-124\">WB</tspan></text> <g id=\"g2657-9\" transform=\"matrix(1.1461655,0,0,1.0107488,807.09391,-67.578064)\" /> <path style=\"fill:none;stroke:#000000;stroke-width:1.12346803999999989px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" d=\"m 869.82121,190.33501 56.79812,0\" id=\"path15126\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 1005,150 60,0\" id=\"path15132\" inkscape:connector-curvature=\"0\" /> <path sodipodi:type=\"arc\" id=\"path15134\" style=\"fill:#000000;stroke:none\" sodipodi:cx=\"940\" sodipodi:cy=\"150\" sodipodi:rx=\"1.5\" sodipodi:ry=\"1.5\" d=\"m 941.5,150 c 0,0.82843 -0.67157,1.5 -1.5,1.5 -0.82843,0 -1.5,-0.67157 -1.5,-1.5 0,-0.82843 0.67157,-1.5 1.5,-1.5 0.82843,0 1.5,0.67157 1.5,1.5 z\" transform=\"translate(125,0)\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 1065,280 -180,0\" id=\"path15140\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 870,350 195,0 0,0\" id=\"path15142\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" d=\"M 925,350 z\" id=\"path15144\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" d=\"m 870,160 55,0\" id=\"path15351\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" d=\"m 870.00761,-94.99239 19.98478,0 0,144.404197 0,0\" id=\"path15353\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" d=\"m 870,120 20,0 0,-50 0,0\" id=\"path15355\" inkscape:connector-curvature=\"0\" /> <g id=\"g2714-04\" transform=\"matrix(1.0107488,0,0,1.0107488,434.56464,-60.758717)\"> <rect y=\"110\" x=\"440\" height=\"30\" width=\"40.666668\" id=\"rect2613-4\" style=\"fill:#f57900;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2615-4\" y=\"128.24976\" x=\"460.504\" style=\"font-size:9px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"128.24976\" x=\"460.504\" id=\"tspan2617-4\" sodipodi:role=\"line\">Branch</tspan></text> </g> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 867.96875,-108.59375 97.03125,0 L 965,110\" id=\"path15388\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 865,-130 200,0\" id=\"path15390\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 865,-120 160,0 0,350 -60,0 0,-20\" id=\"path15392\" inkscape:connector-curvature=\"0\" /> <g id=\"g2657-9-2\" transform=\"matrix(0.5053744,0,0,1.0107488,916.28865,-67.68037)\" style=\"stroke-width:0.00139917000000000;stroke-miterlimit:4;stroke-dasharray:none\" /> <rect style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" id=\"rect4287\" width=\"80\" height=\"100\" x=\"925\" y=\"610\" transform=\"translate(0,-500)\" /> </g> <g inkscape:label=\"#g4070\" id=\"dm_4\"> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 925,350 0,90 -155,0\" id=\"path15146\" inkscape:connector-curvature=\"0\" /> <path inkscape:connector-curvature=\"0\" id=\"path15386\" d=\"m 920,53 15,0 0,-375 -830,0 0,295\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15430\" d=\"m 867,40 40,0 0,-290 -740,0 0,0 0,250 -30,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow2Mend-6-6)\" /> <path sodipodi:nodetypes=\"cccc\" inkscape:connector-curvature=\"0\" id=\"path15136\" d=\"m 885.5,162.5 0,320 -305,0 0,-360\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> </g> </g>";
char* dm2= " <g id=\"DM_READ_STAGE\" inkscape:label=\"#g4076\" transform=\"translate(-40,30)\"> <g transform=\"translate(-0.1481358,0.9634786)\" inkscape:label=\"#g3592\" id=\"DM_1\" style=\"opacity:0.5\"> <g id=\"g2641\" transform=\"matrix(0.5053744,0,0,1.5232106,843.05501,-422.08727)\" style=\"stroke-width:0.00113976000000000;stroke-miterlimit:4;stroke-dasharray:none\"> <rect y=\"175\" x=\"25\" height=\"350.00015\" width=\"25\" id=\"rect2643\" style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00113976000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path sodipodi:nodetypes=\"ccc\" id=\"path2645\" d=\"M 25,525 37.5,505 50,525\" style=\"fill:none;stroke:#000000;stroke-width:0.00113976000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2647\" y=\"-21.11791\" x=\"494.97482\" style=\"font-size:16.97056197999999938px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\" transform=\"matrix(0,0.70710678,-1.4142136,0,0,0)\"><tspan y=\"-21.11791\" x=\"494.97482\" id=\"tspan2649\" sodipodi:role=\"line\">EX / MEM</tspan></text> </g> <g id=\"g2678\" transform=\"matrix(0.5053744,0,0,1.5223085,1051.2798,-422.20176)\" style=\"stroke-width:0.00114010000000000;stroke-miterlimit:4;stroke-dasharray:none\"> <rect y=\"175\" x=\"25\" height=\"350.00015\" width=\"25\" id=\"rect2680\" style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00114010000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path sodipodi:nodetypes=\"ccc\" id=\"path2682\" d=\"M 25,525 37.5,505 50,525\" style=\"fill:none;stroke:#000000;stroke-width:0.00114010000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" inkscape:connector-curvature=\"0\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2684\" y=\"-18.319565\" x=\"494.97482\" style=\"font-size:16.97056197999999938px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\" transform=\"matrix(0,0.70710677,-1.4142136,0,0,0)\"><tspan y=\"-18.319565\" x=\"494.97482\" id=\"tspan2686\" sodipodi:role=\"line\">MEM / WB</tspan></text> </g> <text xml:space=\"preserve\" style=\"font-size:9.80768967000000025px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"870.10309\" y=\"-100\" id=\"text6164-0\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan6166-2\" x=\"870.10309\" y=\"-100\">MEM</tspan></text> <text xml:space=\"preserve\" style=\"font-size:9.80768967000000025px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"870.10309\" y=\"-124\" id=\"text6168-3\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan6170-7\" x=\"870.10309\" y=\"-124\">WB</tspan></text> <g id=\"g2657-9\" transform=\"matrix(1.1461655,0,0,1.0107488,807.09391,-67.578064)\" /> <path style=\"fill:none;stroke:#000000;stroke-width:1.12346803999999989px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" d=\"m 869.82121,190.33501 56.79812,0\" id=\"path15126\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 1005,150 60,0\" id=\"path15132\" inkscape:connector-curvature=\"0\" /> <path sodipodi:type=\"arc\" id=\"path15134\" style=\"fill:#000000;stroke:none\" sodipodi:cx=\"940\" sodipodi:cy=\"150\" sodipodi:rx=\"1.5\" sodipodi:ry=\"1.5\" d=\"m 941.5,150 c 0,0.82843 -0.67157,1.5 -1.5,1.5 -0.82843,0 -1.5,-0.67157 -1.5,-1.5 0,-0.82843 0.67157,-1.5 1.5,-1.5 0.82843,0 1.5,0.67157 1.5,1.5 z\" transform=\"translate(125,0)\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 1065,280 -180,0\" id=\"path15140\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 870,350 195,0 0,0\" id=\"path15142\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" d=\"M 925,350 z\" id=\"path15144\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" d=\"m 870,160 55,0\" id=\"path15351\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" d=\"m 870.00761,-94.99239 19.98478,0 0,144.404197 0,0\" id=\"path15353\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" d=\"m 870,120 20,0 0,-50 0,0\" id=\"path15355\" inkscape:connector-curvature=\"0\" /> <g id=\"g2714-04\" transform=\"matrix(1.0107488,0,0,1.0107488,434.56464,-60.758717)\"> <rect y=\"110\" x=\"440\" height=\"30\" width=\"40.666668\" id=\"rect2613-4\" style=\"fill:#f57900;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <text sodipodi:linespacing=\"100%%\" id=\"text2615-4\" y=\"128.24976\" x=\"460.504\" style=\"font-size:9px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"128.24976\" x=\"460.504\" id=\"tspan2617-4\" sodipodi:role=\"line\">Branch</tspan></text> </g> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 867.96875,-108.59375 97.03125,0 L 965,110\" id=\"path15388\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 865,-130 200,0\" id=\"path15390\" inkscape:connector-curvature=\"0\" /> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 865,-120 160,0 0,350 -60,0 0,-20\" id=\"path15392\" inkscape:connector-curvature=\"0\" /> <g id=\"g2657-9-2\" transform=\"matrix(0.5053744,0,0,1.0107488,916.28865,-67.68037)\" style=\"stroke-width:0.00139917000000000;stroke-miterlimit:4;stroke-dasharray:none\" /> <rect style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" id=\"rect4287\" width=\"80\" height=\"100\" x=\"925\" y=\"610\" transform=\"translate(0,-500)\" /> </g> <g inkscape:label=\"#g4070\" id=\"dm_4\"> <path style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" d=\"m 925,350 0,90 -155,0\" id=\"path15146\" inkscape:connector-curvature=\"0\" /> <path inkscape:connector-curvature=\"0\" id=\"path15386\" d=\"m 920,53 15,0 0,-375 -830,0 0,295\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15430\" d=\"m 867,40 40,0 0,-290 -740,0 0,0 0,250 -30,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow2Mend-6-6)\" /> <path sodipodi:nodetypes=\"cccc\" inkscape:connector-curvature=\"0\" id=\"path15136\" d=\"m 885.5,162.5 0,320 -305,0 0,-360\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> </g> </g>";
char* rest0= " <g id=\"REST_READ_STAGE\" inkscape:label=\"#g3418\"> <g style=\"stroke-width:0.00080617;stroke-miterlimit:4;stroke-dasharray:none\" transform=\"matrix(1.0107488,0,0,1.5223085,432.12918,-392.20151)\" id=\"g2572\"> <rect style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00080617;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"rect2574\" width=\"12.5\" height=\"350.00015\" x=\"31.25\" y=\"175\" /> <path inkscape:connector-curvature=\"0\" style=\"fill:none;stroke:#000000;stroke-width:0.00080617;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"M 25,525 37.5,505 50,525\" id=\"path2576\" sodipodi:nodetypes=\"ccc\" /> </g> <text sodipodi:linespacing=\"100%%\" id=\"text2837\" y=\"-348.23868\" x=\"104.85988\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-348.23868\" x=\"104.85988\" id=\"tspan2839\" sodipodi:role=\"line\">Instruction Fetch</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2845\" y=\"-351.89212\" x=\"326.78763\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-351.89212\" x=\"326.78763\" id=\"tspan2847\" sodipodi:role=\"line\">Instruction Decode</tspan><tspan id=\"tspan2849\" y=\"-335.72015\" x=\"326.78763\" sodipodi:role=\"line\">Register Fetch</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2851\" y=\"-350\" x=\"620\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan id=\"tspan2855\" y=\"-350\" x=\"620\" sodipodi:role=\"line\">Execute</tspan><tspan id=\"tspan2859\" y=\"-333.82803\" x=\"620\" sodipodi:role=\"line\">Address Calc.</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2861\" y=\"-349.62494\" x=\"915.09967\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan id=\"tspan2869\" y=\"-349.62494\" x=\"915.09967\" sodipodi:role=\"line\">Memory Access</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2873\" y=\"-350\" x=\"1100\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan id=\"tspan2875\" y=\"-350\" x=\"1100\" sodipodi:role=\"line\">Write Back</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2885\" y=\"-310\" x=\"95.759201\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-310\" x=\"95.759201\" id=\"tspan2887\" sodipodi:role=\"line\">IF</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2889\" y=\"-304\" x=\"315.99216\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-304\" x=\"315.99216\" id=\"tspan2891\" sodipodi:role=\"line\">ID</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2893\" y=\"-303.42661\" x=\"605.19019\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-303.42661\" x=\"605.19019\" id=\"tspan2895\" sodipodi:role=\"line\">EX</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2897\" y=\"-309.57007\" x=\"891.64716\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-309.57007\" x=\"891.64716\" id=\"tspan2899\" sodipodi:role=\"line\">MEM</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2901\" y=\"-309.57007\" x=\"1083.6938\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-309.57007\" x=\"1083.6938\" id=\"tspan2903\" sodipodi:role=\"line\">WB</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text6168-3-8\" y=\"-91.999992\" x=\"1047.6521\" style=\"font-size:9.80768967px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-91.999992\" x=\"1047.6521\" id=\"tspan6170-7-9\" sodipodi:role=\"line\">WB</tspan></text> <g transform=\"matrix(3.9992806,0,0,1.5161232,-1394.8643,-365.93052)\" id=\"g2714-0\"> <rect style=\"fill:#f57900;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" id=\"rect2613-6\" width=\"40.666668\" height=\"30\" x=\"440\" y=\"110\" /> <text xml:space=\"preserve\" style=\"font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"460.48569\" y=\"129.36816\" id=\"text2615-1\" sodipodi:linespacing=\"100%%\"><tspan sodipodi:role=\"line\" id=\"tspan2617-5\" x=\"460.48569\" y=\"129.36816\" /></text> </g> <text sodipodi:linespacing=\"125%%\" id=\"text12184\" y=\"-180\" x=\"375\" style=\"font-size:16.875px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-180\" x=\"375\" id=\"tspan12186\" sodipodi:role=\"line\">Hazard Detection </tspan><tspan id=\"tspan12190\" y=\"-158.90625\" x=\"375\" sodipodi:role=\"line\">Unit</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path2706-8-2-2-0\" d=\"m 403.85909,-150.83239 0,38.42354\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend-2);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"ccc\" id=\"path2442-1-2-7\" d=\"m 364.13407,-180.35094 -109.02685,0 0,101.34922\" style=\"fill:none;stroke:#000000;stroke-width:2.24102449;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:4.04299545;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 342.9561,-183.86062 0,8.08598 16.17198,-4.04298 -16.17198,-4.043\" id=\"use2779-1\" inkscape:connector-curvature=\"0\" /> <path inkscape:connector-curvature=\"0\" id=\"path14705\" d=\"m 364.98416,-189.98416 -159.96832,0 0,63.87457\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <rect transform=\"matrix(0,1,-1,0,0,0)\" y=\"-729.22076\" x=\"452.86047\" height=\"71.940048\" width=\"45.268639\" id=\"rect2418-3\" style=\"fill:#8ae234;fill-rule:evenodd;stroke:#000000;stroke-width:1.51612306;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15186\" y=\"471.06396\" x=\"695.01544\" style=\"font-size:12.65625px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"471.06396\" x=\"695.01544\" id=\"tspan15188\" sodipodi:role=\"line\">Forwarding</tspan><tspan id=\"tspan15190\" y=\"486.88428\" x=\"695.01544\" sodipodi:role=\"line\">Unit</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15398\" d=\"m 565,-70 0,-100 -40,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15400\" d=\"m 365,-170 -319.999999,0 0,380\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow2Mend-6-6)\" /> <g style=\"stroke-width:0.0011401;stroke-miterlimit:4;stroke-dasharray:none\" transform=\"matrix(0.58912994,0,0,1.5223083,1019.1859,-392.20168)\" id=\"g2678-6\"> <path inkscape:connector-curvature=\"0\" style=\"fill:none;stroke:#000000;stroke-width:0.0011401;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"M 25,525 37.5,505 50,525\" id=\"path2682-6\" sodipodi:nodetypes=\"ccc\" /> </g> <path inkscape:connector-curvature=\"0\" id=\"path3342\" d=\"m 665,450 0,-50 -100,0 0,-120\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path3344\" d=\"m 680,450 0,-60 -25,0 0,-200 -35,0 0,-20\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow2Mend-6-6)\" /> <rect y=\"-125\" x=\"195\" height=\"531\" width=\"25\" id=\"rect3371\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <rect y=\"-125.64728\" x=\"452.03113\" height=\"533.92603\" width=\"24.994709\" id=\"rect3371-7\" style=\"fill:none;stroke:#000000;stroke-width:2.00529075;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <rect y=\"-124.53099\" x=\"1023.0737\" height=\"531\" width=\"25\" id=\"rect3371-3\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <g id=\"g3836\" style=\"fill:#000000;stroke:#110011;stroke-width:3\" transform=\"translate(-40.034639,30.559771)\"> <rect style=\"fill:none;stroke:#000000;stroke-width:2.00333333;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" id=\"rect3371-5\" width=\"25.041666\" height=\"531.88501\" x=\"844.10815\" y=\"-155.3501\" /> </g> <text sodipodi:linespacing=\"125%%\" id=\"text4479\" y=\"150\" x=\"395\" style=\"font-size:15px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"150\" x=\"395\" id=\"tspan4481\" sodipodi:role=\"line\">Register</tspan><tspan id=\"tspan4483\" y=\"168.75\" x=\"395\" sodipodi:role=\"line\">File</tspan></text> </g> </g> <rect style=\"fill:#cc0000;fill-opacity:1;stroke:none;opacity:0.5\" id=\"rect4302\" width=\"39.811291\" height=\"102\" x=\"120.16116\" y=\"167.85095\" /> <text xml:space=\"preserve\" style=\"font-size:11.63990974px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"100\" y=\"160\" id=\"text4304\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan4306\" x=\"100\" y=\"160\">Instruction Memory</tspan></text> <text xml:space=\"preserve\" style=\"font-size:19.24236488px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"1180\" y=\"40\" id=\"text4319\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan4321\" x=\"1180\" y=\"40\">Threads</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"64.052956\" id=\"tspan4323\">IF Thread</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"88.105911\" id=\"tspan4325\">ID Thread</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"112.15887\" id=\"tspan4327\">EX Thread</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"136.21182\" id=\"tspan4329\">DM Thread</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"160.26479\" id=\"tspan4331\">WB Thread</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"184.31773\" id=\"tspan4333\">Display Thread</tspan></text> <text xml:space=\"preserve\" style=\"font-size:15.01493835px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"908\" y=\"238\" id=\"text4353\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan4355\" x=\"908\" y=\"238\">Data Memory</tspan></text> ";
char* readBlock1= " <rect style=\"opacity:1;fill:#cc0000;fill-opacity:1;stroke:none\" id=\"MemReadBlock\" width=\"40.926777\" height=\"98.25\" x=\"910.75\" y=\"103\" />";
char* readBlock2= " <rect style=\"opacity:0.5;fill:#cc0000;fill-opacity:1;stroke:none\" id=\"MemReadBlock\" width=\"40.926777\" height=\"98.25\" x=\"910.75\" y=\"103\" />";
char* writeBlock1= " <rect style=\"opacity:1;fill:#cc0000;fill-opacity:1;stroke:none\" id=\"MemWriteBlock\" width=\"37.426777\" height=\"98.25\" x=\"951.5614\" y=\"102.95101\" /> </g> </g> </svg> ";
char* writeBlock2= " <rect style=\"opacity:0.5;fill:#cc0000;fill-opacity:1;stroke:none\" id=\"MemWriteBlock\" width=\"37.426777\" height=\"98.25\" x=\"951.5614\" y=\"102.95101\" /> </g> </g> </svg> ";
FILE* img;
void draw (FILE* img,bool ifs, bool id, bool ex, bool dm, bool wb, bool memRead,bool memWrite, int ifstr, int idstr, int exstr, int dmstr,int wbstr) {
// ifs true -> active
fprintf(img,"%s", start);
char *str1,*str2,*str3,*str4,*str5;
str1 = (char*) malloc(sizeof(char)*100);
str2 = (char*) malloc(sizeof(char)*100);
str3 = (char*) malloc(sizeof(char)*100);
str4 = (char*) malloc(sizeof(char)*100);
str5 = (char*) malloc(sizeof(char)*100);
if (ifs){
fprintf(img,"%s", ifstage1);
strcpy(str1, "IF THREAD");
}
else {
fprintf(img,"%s", ifstage2);
strcpy(str1, "");
}
if (id){
fprintf(img,"%s", idstage1);
strcpy(str2, "ID THREAD");
}
else {
fprintf(img,"%s", idstage2);
strcpy(str2, "");
}
if (ex){
fprintf(img,"%s", exstage1);
strcpy(str3, "EX THREAD");
}
else {
fprintf(img,"%s", exstage2);
strcpy(str3, "");
}
if (dm){
fprintf(img,"%s", dm1);
strcpy(str4, "DM THREAD");
}
else {
fprintf(img,"%s", dm2);
strcpy(str4, "");
}
if (wb){
fprintf(img,"%s", wbstage1);
strcpy(str5, "WB THREAD");
}
else {
fprintf(img,"%s", wbstage2);
strcpy(str5, "");
}
//fprintf(img," <g id=\"REST_READ_STAGE\" inkscape:label=\"#g3418\"> <g style=\"stroke-width:0.00080617;stroke-miterlimit:4;stroke-dasharray:none\" transform=\"matrix(1.0107488,0,0,1.5223085,432.12918,-392.20151)\" id=\"g2572\"> <rect style=\"fill:#8ae234;fill-opacity:1;stroke:#000000;stroke-width:0.00080617;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" id=\"rect2574\" width=\"12.5\" height=\"350.00015\" x=\"31.25\" y=\"175\" /> <path inkscape:connector-curvature=\"0\" style=\"fill:none;stroke:#000000;stroke-width:0.00080617;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"M 25,525 37.5,505 50,525\" id=\"path2576\" sodipodi:nodetypes=\"ccc\" /> </g> <text sodipodi:linespacing=\"100%%\" id=\"text2837\" y=\"-348.23868\" x=\"104.85988\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-348.23868\" x=\"104.85988\" id=\"tspan2839\" sodipodi:role=\"line\">0x%08x</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2845\" y=\"-351.89212\" x=\"326.78763\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-351.89212\" x=\"326.78763\" id=\"tspan2847\" sodipodi:role=\"line\">0x%08x</tspan><tspan id=\"tspan2849\" y=\"-335.72015\" x=\"326.78763\" sodipodi:role=\"line\"></tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2851\" y=\"-350\" x=\"620\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan id=\"tspan2855\" y=\"-350\" x=\"620\" sodipodi:role=\"line\">0x%08x</tspan><tspan id=\"tspan2859\" y=\"-333.82803\" x=\"620\" sodipodi:role=\"line\"></tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2861\" y=\"-349.62494\" x=\"915.09967\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan id=\"tspan2869\" y=\"-349.62494\" x=\"915.09967\" sodipodi:role=\"line\">0x%08x</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2873\" y=\"-350\" x=\"1100\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan id=\"tspan2875\" y=\"-350\" x=\"1100\" sodipodi:role=\"line\">0x%08x</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2885\" y=\"-310\" x=\"95.759201\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-310\" x=\"95.759201\" id=\"tspan2887\" sodipodi:role=\"line\">IF</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2889\" y=\"-304\" x=\"315.99216\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-304\" x=\"315.99216\" id=\"tspan2891\" sodipodi:role=\"line\">ID</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2893\" y=\"-303.42661\" x=\"605.19019\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-303.42661\" x=\"605.19019\" id=\"tspan2895\" sodipodi:role=\"line\">EX</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2897\" y=\"-309.57007\" x=\"891.64716\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-309.57007\" x=\"891.64716\" id=\"tspan2899\" sodipodi:role=\"line\">MEM</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2901\" y=\"-309.57007\" x=\"1083.6938\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-309.57007\" x=\"1083.6938\" id=\"tspan2903\" sodipodi:role=\"line\">WB</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text6168-3-8\" y=\"-91.999992\" x=\"1047.6521\" style=\"font-size:9.80768967px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-91.999992\" x=\"1047.6521\" id=\"tspan6170-7-9\" sodipodi:role=\"line\">WB</tspan></text> <g transform=\"matrix(3.9992806,0,0,1.5161232,-1394.8643,-365.93052)\" id=\"g2714-0\"> <rect style=\"fill:#f57900;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" id=\"rect2613-6\" width=\"40.666668\" height=\"30\" x=\"440\" y=\"110\" /> <text xml:space=\"preserve\" style=\"font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"460.48569\" y=\"129.36816\" id=\"text2615-1\" sodipodi:linespacing=\"100%%\"><tspan sodipodi:role=\"line\" id=\"tspan2617-5\" x=\"460.48569\" y=\"129.36816\" /></text> </g> <text sodipodi:linespacing=\"125%%\" id=\"text12184\" y=\"-180\" x=\"375\" style=\"font-size:16.875px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-180\" x=\"375\" id=\"tspan12186\" sodipodi:role=\"line\">Hazard Detection </tspan><tspan id=\"tspan12190\" y=\"-158.90625\" x=\"375\" sodipodi:role=\"line\">Unit</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path2706-8-2-2-0\" d=\"m 403.85909,-150.83239 0,38.42354\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend-2);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"ccc\" id=\"path2442-1-2-7\" d=\"m 364.13407,-180.35094 -109.02685,0 0,101.34922\" style=\"fill:none;stroke:#000000;stroke-width:2.24102449;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:4.04299545;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 342.9561,-183.86062 0,8.08598 16.17198,-4.04298 -16.17198,-4.043\" id=\"use2779-1\" inkscape:connector-curvature=\"0\" /> <path inkscape:connector-curvature=\"0\" id=\"path14705\" d=\"m 364.98416,-189.98416 -159.96832,0 0,63.87457\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <rect transform=\"matrix(0,1,-1,0,0,0)\" y=\"-729.22076\" x=\"452.86047\" height=\"71.940048\" width=\"45.268639\" id=\"rect2418-3\" style=\"fill:#8ae234;fill-rule:evenodd;stroke:#000000;stroke-width:1.51612306;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15186\" y=\"471.06396\" x=\"695.01544\" style=\"font-size:12.65625px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"471.06396\" x=\"695.01544\" id=\"tspan15188\" sodipodi:role=\"line\">Forwarding</tspan><tspan id=\"tspan15190\" y=\"486.88428\" x=\"695.01544\" sodipodi:role=\"line\">Unit</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15398\" d=\"m 565,-70 0,-100 -40,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15400\" d=\"m 365,-170 -319.999999,0 0,380\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow2Mend-6-6)\" /> <g style=\"stroke-width:0.0011401;stroke-miterlimit:4;stroke-dasharray:none\" transform=\"matrix(0.58912994,0,0,1.5223083,1019.1859,-392.20168)\" id=\"g2678-6\"> <path inkscape:connector-curvature=\"0\" style=\"fill:none;stroke:#000000;stroke-width:0.0011401;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"M 25,525 37.5,505 50,525\" id=\"path2682-6\" sodipodi:nodetypes=\"ccc\" /> </g> <path inkscape:connector-curvature=\"0\" id=\"path3342\" d=\"m 665,450 0,-50 -100,0 0,-120\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path3344\" d=\"m 680,450 0,-60 -25,0 0,-200 -35,0 0,-20\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow2Mend-6-6)\" /> <rect y=\"-125\" x=\"195\" height=\"531\" width=\"25\" id=\"rect3371\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <rect y=\"-125.64728\" x=\"452.03113\" height=\"533.92603\" width=\"24.994709\" id=\"rect3371-7\" style=\"fill:none;stroke:#000000;stroke-width:2.00529075;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <rect y=\"-124.53099\" x=\"1023.0737\" height=\"531\" width=\"25\" id=\"rect3371-3\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <g id=\"g3836\" style=\"fill:#000000;stroke:#110011;stroke-width:3\" transform=\"translate(-40.034639,30.559771)\"> <rect style=\"fill:none;stroke:#000000;stroke-width:2.00333333;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" id=\"rect3371-5\" width=\"25.041666\" height=\"531.88501\" x=\"844.10815\" y=\"-155.3501\" /> </g> <text sodipodi:linespacing=\"125%%\" id=\"text4479\" y=\"150\" x=\"395\" style=\"font-size:15px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"150\" x=\"395\" id=\"tspan4481\" sodipodi:role=\"line\">Register</tspan><tspan id=\"tspan4483\" y=\"168.75\" x=\"395\" sodipodi:role=\"line\">File</tspan></text> </g> </g> <rect style=\"fill:#cc0000;fill-opacity:1;stroke:none;opacity:0.5\" id=\"rect4302\" width=\"39.811291\" height=\"102\" x=\"120.16116\" y=\"167.85095\" /> <text xml:space=\"preserve\" style=\"font-size:11.63990974px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"100\" y=\"160\" id=\"text4304\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan4306\" x=\"100\" y=\"160\">Instruction Memory</tspan></text> <text xml:space=\"preserve\" style=\"font-size:19.24236488px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"1180\" y=\"40\" id=\"text4319\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan4321\" x=\"1180\" y=\"40\">Threads</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"64.052956\" id=\"tspan4323\">%s</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"88.105911\" id=\"tspan4325\">%s</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"112.15887\" id=\"tspan4327\">%s</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"136.21182\" id=\"tspan4329\">%s</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"160.26479\" id=\"tspan4331\">%s</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"184.31773\" id=\"tspan4333\">Display Thread</tspan></text> <text xml:space=\"preserve\" style=\"font-size:15.01493835px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"908\" y=\"238\" id=\"text4353\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan4355\" x=\"908\" y=\"238\">Data Memory</tspan></text>", ifstr, idstr, exstr, dmstr, wbstr,str1,str2,str3,str4,str5);
fprintf(img," <g id=\"REST_READ_STAGE\" inkscape:label=\"#g3418\"> <text sodipodi:linespacing=\"100%%\" id=\"text2837\" y=\"-348.23868\" x=\"104.85988\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-348.23868\" x=\"104.85988\" id=\"tspan2839\" sodipodi:role=\"line\">0x%08x</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2845\" y=\"-351.89212\" x=\"326.78763\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-351.89212\" x=\"326.78763\" id=\"tspan2847\" sodipodi:role=\"line\">0x%08x</tspan><tspan id=\"tspan2849\" y=\"-335.72015\" x=\"326.78763\" sodipodi:role=\"line\"></tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2851\" y=\"-350\" x=\"620\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan id=\"tspan2855\" y=\"-350\" x=\"620\" sodipodi:role=\"line\">0x%08x</tspan><tspan id=\"tspan2859\" y=\"-333.82803\" x=\"620\" sodipodi:role=\"line\"></tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2861\" y=\"-349.62494\" x=\"915.09967\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan id=\"tspan2869\" y=\"-349.62494\" x=\"915.09967\" sodipodi:role=\"line\">0x%08x</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2873\" y=\"-350\" x=\"1100\" style=\"font-size:16.1719799px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan id=\"tspan2875\" y=\"-350\" x=\"1100\" sodipodi:role=\"line\">0x%08x</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2885\" y=\"-310\" x=\"95.759201\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-310\" x=\"95.759201\" id=\"tspan2887\" sodipodi:role=\"line\">IF</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2889\" y=\"-304\" x=\"315.99216\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-304\" x=\"315.99216\" id=\"tspan2891\" sodipodi:role=\"line\">ID</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2893\" y=\"-303.42661\" x=\"605.19019\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-303.42661\" x=\"605.19019\" id=\"tspan2895\" sodipodi:role=\"line\">EX</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2897\" y=\"-309.57007\" x=\"891.64716\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-309.57007\" x=\"891.64716\" id=\"tspan2899\" sodipodi:role=\"line\">MEM</tspan></text> <text sodipodi:linespacing=\"100%%\" id=\"text2901\" y=\"-309.57007\" x=\"1083.6938\" style=\"font-size:20.21497536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" xml:space=\"preserve\"><tspan y=\"-309.57007\" x=\"1083.6938\" id=\"tspan2903\" sodipodi:role=\"line\">WB</tspan></text> <text sodipodi:linespacing=\"125%%\" id=\"text6168-3-8\" y=\"-91.999992\" x=\"1047.6521\" style=\"font-size:9.80768967px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-91.999992\" x=\"1047.6521\" id=\"tspan6170-7-9\" sodipodi:role=\"line\">WB</tspan></text> <g transform=\"matrix(3.9992806,0,0,1.5161232,-1394.8643,-365.93052)\" id=\"g2714-0\"> <rect style=\"fill:#f57900;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" id=\"rect2613-6\" width=\"40.666668\" height=\"30\" x=\"440\" y=\"110\" /> <text xml:space=\"preserve\" style=\"font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:100%%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans\" x=\"460.48569\" y=\"129.36816\" id=\"text2615-1\" sodipodi:linespacing=\"100%%\"><tspan sodipodi:role=\"line\" id=\"tspan2617-5\" x=\"460.48569\" y=\"129.36816\" /></text> </g> <text sodipodi:linespacing=\"125%%\" id=\"text12184\" y=\"-180\" x=\"375\" style=\"font-size:16.875px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"-180\" x=\"375\" id=\"tspan12186\" sodipodi:role=\"line\">Hazard Detection </tspan><tspan id=\"tspan12190\" y=\"-158.90625\" x=\"375\" sodipodi:role=\"line\">Unit</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path2706-8-2-2-0\" d=\"m 403.85909,-150.83239 0,38.42354\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;marker-end:url(#Arrow1Mend-2);visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path inkscape:connector-curvature=\"0\" sodipodi:nodetypes=\"ccc\" id=\"path2442-1-2-7\" d=\"m 364.13407,-180.35094 -109.02685,0 0,101.34922\" style=\"fill:none;stroke:#000000;stroke-width:2.24102449;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" /> <path style=\"fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:4.04299545;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"m 342.9561,-183.86062 0,8.08598 16.17198,-4.04298 -16.17198,-4.043\" id=\"use2779-1\" inkscape:connector-curvature=\"0\" /> <path inkscape:connector-curvature=\"0\" id=\"path14705\" d=\"m 364.98416,-189.98416 -159.96832,0 0,63.87457\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <rect transform=\"matrix(0,1,-1,0,0,0)\" y=\"-729.22076\" x=\"452.86047\" height=\"71.940048\" width=\"45.268639\" id=\"rect2418-3\" style=\"fill:#8ae234;fill-rule:evenodd;stroke:#000000;stroke-width:1.51612306;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1\" /> <text sodipodi:linespacing=\"125%%\" id=\"text15186\" y=\"471.06396\" x=\"695.01544\" style=\"font-size:12.65625px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"471.06396\" x=\"695.01544\" id=\"tspan15188\" sodipodi:role=\"line\">Forwarding</tspan><tspan id=\"tspan15190\" y=\"486.88428\" x=\"695.01544\" sodipodi:role=\"line\">Unit</tspan></text> <path inkscape:connector-curvature=\"0\" id=\"path15398\" d=\"m 565,-70 0,-100 -40,0\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path15400\" d=\"m 365,-170 -319.999999,0 0,380\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow2Mend-6-6)\" /> <g style=\"stroke-width:0.0011401;stroke-miterlimit:4;stroke-dasharray:none\" transform=\"matrix(0.58912994,0,0,1.5223083,1019.1859,-392.20168)\" id=\"g2678-6\"> <path inkscape:connector-curvature=\"0\" style=\"fill:none;stroke:#000000;stroke-width:0.0011401;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate\" d=\"M 25,525 37.5,505 50,525\" id=\"path2682-6\" sodipodi:nodetypes=\"ccc\" /> </g> <path inkscape:connector-curvature=\"0\" id=\"path3342\" d=\"m 665,450 0,-50 -100,0 0,-120\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend-2-5-7-6-9)\" /> <path inkscape:connector-curvature=\"0\" id=\"path3344\" d=\"m 680,450 0,-60 -25,0 0,-200 -35,0 0,-20\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow2Mend-6-6)\" /> <rect y=\"-125\" x=\"195\" height=\"531\" width=\"25\" id=\"rect3371\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <rect y=\"-125.64728\" x=\"452.03113\" height=\"533.92603\" width=\"24.994709\" id=\"rect3371-7\" style=\"fill:none;stroke:#000000;stroke-width:2.00529075;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <rect y=\"-124.53099\" x=\"1023.0737\" height=\"531\" width=\"25\" id=\"rect3371-3\" style=\"fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" /> <g id=\"g3836\" style=\"fill:#000000;stroke:#110011;stroke-width:3\" transform=\"translate(-40.034639,30.559771)\"> <rect style=\"fill:none;stroke:#000000;stroke-width:2.00333333;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" id=\"rect3371-5\" width=\"25.041666\" height=\"531.88501\" x=\"844.10815\" y=\"-155.3501\" /> </g> <text sodipodi:linespacing=\"125%%\" id=\"text4479\" y=\"150\" x=\"395\" style=\"font-size:15px;font-style:normal;font-weight:normal;text-align:center;line-height:125%%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" xml:space=\"preserve\"><tspan y=\"150\" x=\"395\" id=\"tspan4481\" sodipodi:role=\"line\">Register</tspan><tspan id=\"tspan4483\" y=\"168.75\" x=\"395\" sodipodi:role=\"line\">File</tspan></text> </g> </g> <rect style=\"fill:#cc0000;fill-opacity:1;stroke:none;opacity:0.5\" id=\"rect4302\" width=\"39.811291\" height=\"102\" x=\"120.16116\" y=\"167.85095\" /> <text xml:space=\"preserve\" style=\"font-size:11.63990974px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"100\" y=\"160\" id=\"text4304\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan4306\" x=\"100\" y=\"160\">Instruction Memory</tspan></text> <text xml:space=\"preserve\" style=\"font-size:19.24236488px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"1180\" y=\"40\" id=\"text4319\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan4321\" x=\"1180\" y=\"40\">Threads</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"64.052956\" id=\"tspan4323\">%s</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"88.105911\" id=\"tspan4325\">%s</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"112.15887\" id=\"tspan4327\">%s</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"136.21182\" id=\"tspan4329\">%s</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"160.26479\" id=\"tspan4331\">%s</tspan><tspan sodipodi:role=\"line\" x=\"1180\" y=\"184.31773\" id=\"tspan4333\">Display Thread</tspan></text> <text xml:space=\"preserve\" style=\"font-size:15.01493835px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans\" x=\"908\" y=\"238\" id=\"text4353\" sodipodi:linespacing=\"125%%\"><tspan sodipodi:role=\"line\" id=\"tspan4355\" x=\"908\" y=\"238\">Data Memory</tspan></text>", ifstr, idstr, exstr, dmstr, wbstr,str1,str2,str3,str4,str5);
// read and write strings are reverse !!
if (memWrite) fprintf(img,"%s",readBlock1);
else fprintf(img,"%s", readBlock2);
if (memRead)fprintf(img,"%s", writeBlock1);
else fprintf(img,"%s", writeBlock2);
}