摘要 |
A method is provided for determining a global mask value for filtering incoming messages in a CAN environment having a predetermined number of match registers, where the global mask value has one or more bits. A set of incoming messages to be identified is established. Each of the one or more bits in the global mask value is set to a first digital value. The following steps are repeated until the set of incoming messages to be identified fits within a predetermined number of match registers: adding a don't_care bit to the global mask value and determining a best position for the added don't_care bit. The don't_care bit is represented by a second digital value in the best position.
|