Embedded systems are found in a wide range of applications, from automotive products to complex medical equipment. Their success depends heavily on effective design and optimization, which involves balancing cost. Architects must carefully consider the firmware architecture, algorithms, and real-time constraints to ensure the system meets its funct