Added macro to test if a cycle mask matches a board mask.