Joined: Dec 2011
I Ride: 1996 ZX7R, 1996 ZX7RR (track)
Did this issue just start out of the blue or was something done to the bike and now the issues? Need a little back history. For the sake of your wallet don’t just start replacing parts, it usually doesn’t end well.
Also, I would doubt it is the CDI. They can be checked against values in the service manual.
Simple things like bad wiring/connections and loose/bad grounds are very common on these bikes. Likely something simple.