Looking at buying a cummins with shot motor, are all 6bts the same? I know they have different HP figures and probably some small parts, but are all blocks the same?

For example a guy is selling 190HP take outs from buses, would that have same block as the 180HP out of the 3/4 ton truck?