Գրեք սա: Cost-driven design of smart microsystems