brg added

Added baud rate generator code