SYNTHESIZE

Generates the VHDL files describing the digital circuit implementing the pwas function

Contents

Method of pwas object.

Description

This method generates automatically the VHDL files for the implementation of a digital architecture which computes the value of the pwas function. The value of the function in a point x is computed by linear interpolation of the value of the function in the vertices of the simplex containing x.

In order to map into a fixed point architecture, all the values are rescaled and quantized: if you want the circuit to compute the value of the pwas function in a point x, you must give to the circuit the value A x + B. The result f given by the circuit must be transformed into alpha f + beta, in order to come back to the original domain. x --> A x + B, f --> alpha f + beta. The values A, B, alpha and beta are stored in a structure synthesisInfo, property of the pwas object. They can be retrieved by using method getSynthesisInfo. The structure also stores the number of bits used to represent data in the circuit and other useful information (see method getSynthesisInfo).

Two circuit architectures are available: a serial one, employing a Multiply and Accumulate block and a parallel one employing as many multipliers as the number of dimensions of the domain plus one. Three different methods for the acquisition of the inputs can be chosen for both architectures: serial bitwise (at each clock cycle, one bit of all input components is read), serial component-wise (at each clock cycle a whole component of the input point is read) or parallel (all components of the input point are read in parallel).

A log file is also generated in which the circuit performances are reported.

Syntax

object = synthesize(object,circuit_parameters,[options])

The pwas object is returned as output because it is modified inside the method. circuit_parameters is a structure with the following fields:

It is possible to specify further options for the synthesis process. options is a structure with the following fields:

Acknowledgements

Contributors:

Copyright is with: