Modular analysis and design of log-domain circuits based on LIN↔ELIN transformations