Good evening Frank,
Welcome! I hope that you enjoy scanning through the various boards on this forum and their eclectic mix.
This doesn't sound good that your CDI unit has expired. Your engine number from the top of the right hand inner crankcase could help to tie things down as to which unit might be a suitable replacement, but these aren't cheap!

Yamaha XT600E 1997 similar motor to your's I believe, CDI part number: 3TB - 82305 - 10 Cost = £246-20 + P&P + VAT
Yamaha XT600E 1991 similar motor to your's I believe, CDI part number: 3TB - 82305 - 00 Cost = £246-20 + P&P + VAT
Yamaha SRX400E 1991 CDI part number: 3VN - 82305 - 00 Cost = £446-96 + P&P + VAT
All these items are available on "back order" from Fowlers of Bristol
XT600E_1967_Electrics_1Alternatively, I would advise that you speak with Electrex World, explaining your apparent problem. They may be able to offer you an alternative compatable CDI unit or repair yours. Contact details:
Electrex_World_homeAnother source of information could be to contact: Martin Sweetman, Slipstream Tuning, Sevenoaks, Kent. Martin has been tuning and racing Yamaha 600 singles for at least 30 years and with the engine number, he may be able to advise on alternatives or supply a unit. Contact details:
Slipstream_Tuning_homeI am sorry that I cannot be definitive about these units, but I hope this helps you sort the electrics and get the beastie fired up.

My regards, Bill