HDL Code Generation from SIMULINK Environment for Li-Ion Cells State of Charge and Parameter Estimation