Design, implementation and performance evaluation of a fully programmable twin- channel time interval generator