Fix bug in phits readin

Paul Zakalek requested to merge wip into master

Merge request reports