Generator architecture for single gate RAM with high performance