Now I THINK I see what you are asking. You understand that the AoA gauge does not need to know the aircraft weight to tell you your margin from the stall, but you are asking how the computer transposes that information into a forecast speed which it paints onto the speed tape?
Is that your question?
That's exactly my question.