Adding adapted serialdebug python program to the uart core.
Adding the logic for tx bit and bitrate counters.
Adding debug output for tx side.