Photonic topology optimization with semiconductor-foundry design-rule constraints | Synapse