the datapath extraction is not accurate, so the report_hierarchy must cope with errors
remove IO_TYPE
Revert "the datapath extraction is not accurate, so the report_hierarchy must cope with errors"

This reverts commit c75c9604b495d81499e682a6b7159deb22100cca.
fix version errors and reduce mismtach cases for interface types WIRE and PIPE
handshake estimation is better
further refine the results of report_hierarchy
Merge branch 'datapath' into dev