updated tx controller and flex counter
Merge branch 'master' of github.com:iDFLO/ece337project