Corrected state machine in TX.v, updated spart, and other modules