| 2472 | } |
| 2473 | |
| 2474 | struct match { |
| 2475 | uint32_t src_hi, src_lo; // source bit range |
| 2476 | uint32_t dst_hi, dst_lo; // destination bit range |
| 2477 | }; |
| 2478 | |
| 2479 | // force certain regions of bits to match |
| 2480 | uint32_t enforce_bit_match(uint32_t inp, unsigned bit, vector<match> matches) |