SMS: Digital logic design