An exemplary embodiment includes a method that receives a plurality of
mathematical expressions having a plurality of input variables. The
mathematical expressions can then be parsed, checked for proper syntax
and one or more abstract syntax trees can be formed. Next, the input
variables are then assigned to input ports of the dynamically
configurable arithmetic unit. Then using the parsed mathematical
expressions with the assigned input ports, a list of operations to be
performed by the dynamically configurable arithmetic unit are determined.
And lastly, an interface to the dynamically configurable arithmetic unit
is generated using in part the variable-to-input port assignments and the
list of operations.