FPGA architectures and CAD algorithms with dynamic power gating support