Designing with field-effect transistors