Show the ASM diagram for a controller of a system that has a 16-bit register, A and a 4-bit register, N. When a signal of 1 appears on the input line s, the register A is shifted right the number of places (0 to 15) as specified by N (with 0's put in the left bits). The register A can be shifted only one place at a time. The register N can be decremented (decreased by 1). When shifting is complete, a 1 is to appear on output line d for two clock periods.
a. Show the ASMD
b. Show the data path
c. Show the control unit
d. Show the entire circuit connected (both data path and control unit).