fix custom-1 rocc encoding
add hwacha exception support