17. A single purpose dedicated processor is required that will produce a selected output as per the code loop in Figure 1. ( \( g o_{-} i \) is a binary input of temperature, the values are presented on the inputs \( x_{-} i, y_{-} i \), and \( r_{-} i \). The output is produced on output d_o). [5 marks] ``` int x, y, r; while (1) { while (!go_i); x =x_i; y=y_i; r= x+y; if (r >22) r = 0; else { if (13<= r<=22) r=7; else r = 15; } d_o = r; } ``` From the above code, sketch the logic FSMD diagram for a single purpose processor.