TX system-level analysis by behavioral modeling of RF building blocks: the IEEE802.11a and IEEE802.15.3a case studies