The M E G A System for Semi-Custom Design