Fixes to System C

System C protocol is now working.