Quiz 2 for HW/SW codesign