Design of Digital Systems and Devices (Lecture Notes