The ==? and !=? operators seem to be defined since IEEE 1800-2005 and allow x and z bits on the RHS to be ignored while performing (in)equality comparison. This greatly simplifies writing down comparisons where only a few bits scattered through a given value are relevant, currently requiring a long LHS expression to compact them.
Feature Description
The
==?
and!=?
operators seem to be defined since IEEE 1800-2005 and allowx
andz
bits on the RHS to be ignored while performing (in)equality comparison. This greatly simplifies writing down comparisons where only a few bits scattered through a given value are relevant, currently requiring a long LHS expression to compact them.