This design project is meant to cover several aspects of digital design.
First, it is a very high speed system - one that would be too fast for
most micocontrollers and hence the CPLD approach is realistic (as contrasted
with our previous projects which would be better implemented in a micro
controller). It also illustrates some realistic applications involving
analog functions as well as digital. It also illustrates some digital arithmetic
processes.
The wattmeter will take the form shown below.

The challenge in this design will be (1) reading, studying, and interpreting
the specifications for the ADC and DAC and applying them to the design,
and (2) Obtaining the product of the two digital inputs.
Some consideration must be given to the maximum input frequency and
the affect of sampling the current at a slightly different time than the
voltage. An analysis of these two consideration
is provided
Before we proceded with the design, some actual results will be seen (to prove that it can, in fact, be done)..
The method of multiplication to be used is Booths' Algorithm, which you should check out.
(To be continued...
)