Digital electronics : fundamental concepts and applications