Estimation of average switching activity in combinational and sequential circuits | Synapse