Fix the detection on Avalon2. Parser the power good signal

Fix the detection on Avalon2. Parser the power good signal. Tested on Avalon2/Avalon3 machines.