An Adaptive Pattern Recognition hardware with On-chip Dynamic and Partial Reconfiguration -- *