Are you aware they are only supposed to match when the D100 is set to 29.92?
If so, you really need to go to a avionics shop to have this looked at. The discrepancy is likely not fixed- it will change as you change altitude. A good shop can look at a few different altitudes and tell you which wire(s) are broken.
When was your last transponder check? Was it working then?