Unless you boosted the bike with a roll around battery charger or your regulator was running wide open without any regulation, it would be very unusual to have 2 blown modules. There are a few basic things you may want to check before replacing the module. Inspect both connectors going to the ignition module. Remove, inspect & re-install both connectors. Try engine again. If no spark then you may want to check the following 3 items. Power to the coil, the crank sensor and the cam sensor.
1) There is a white w/ black wire going to terminal "B" of the coil. Check to see if there is battery voltage on that wire during engine cranking (with kill switch in the RUN position). You should see battery voltage on that wire during cranking.
2) Locate the crank sensor in the lower engine block. Disconnect the crank sensor from the wiring harness. (connector # 79). Remove both spark plugs.
Connect your voltmeter across the 2 crank sensor terminals. Place your volt meter in 20 AC scale. While cranking the engine, do you read at least 2 volts AC.
Be sure your meter is reading AC volts.
3) To check the cam sensor, locate the Ignition module. There are 2 connectors going to the ignition module. One is gray and the other is black. Each connector has 12 pin positions. On the Gray Connector, pin # 1 has a Red w/ white wire. Pin # 3 has a Green with white wire going to it. Pin # 8 has a Black w/ white wire going to it. Lift the rear wheel off the ground and place the engine in 5th gear. Place your voltmeter in the 20 Volt DC range. Connect your volt meter across Pin # 8 (negative) and Pin # 3 (positive). Turn On the ignition with kill switch in RUN position. Rotate the rear wheel by hand and watch the meter. The meter should go from appox +5 volts to Zero volts, then back to 5 volts then to zero volts ,,, over & over again. That is 5v,0v,5v,0v,5v,0v,5v,0v.....
Because the ignition module supplies the 5 volt reference, the module must be hooked up while performing this test. You must back probe the connector with your meter.
There's more, but I would be surprised if you passed all 3 tests.