Hardware compare