miniproject for digital systems