This model is perhaps more complex than it really needs to be,
but it does have some nice features from a learning point of view.
Firstly, rather than a ‘super efficient’shifting model which is dif-
ficult to read, the shift and add function in process p1 is laid out in
detail so each stage of the multiplication can be followed through.
Also notice the use of the signal finished which is used to show
when the calculation is completed. This is useful when designing
a controller to show that the calculation has been completed.
Synthesis of the multiplication function
After completion, this model was run through a standard synthesis
software tool, targeted ...