Architecture driven circuit partitioning