add ports for hardware debug
fix bug with mvPred