Figure:
System
design in SDL
Open figure