hdl refacroting, timings enhancements, pins assignings error fixed