Consider the implementation of the Algorithmic State Machine (ASM) shown in Figure Q2.1.
a) Draw a schematic diagram of the datapath using the following components:
registers, adders, multipliers, comparators, multiplexers, and counters (with synchronous reset and increment inputs, as required). Clearly indicate all control signals in the diagram. [10 marks]
wait Xdata N-X CO AinpA
mul MXY Xdata
reset
acc A AM CC C+1 Ydata
X=0 ?
TRUE
FALSE
init Ydata C-C+1
C=N
FALSE
end TRUE ZA Xdata
Figure Q2.1