An example of function sharing implementation for reconfigurable systems