Commit 581afcf9ab7471b891af005bc8392c10e48c08d3

Con Kolivas 2013-06-21T11:18:00

Use only one cgsem in avalon signalling when the write thread should commit work by reading the status bytes off during an avalon_read, minimising the number of usb calls and resetting from only one place.