the block diagram for an electronic device