This document proposes a generalized division-free architecture and compact memory structure for resampling in particle filters. It aims to avoid the high hardware cost of traditional multinomial resampling by using accumulators and comparators instead of division and normalization. The architecture is independent of the number of particles and can be used for different resampling methods. Memory usage is optimized by accumulating weights and random numbers on-the-fly instead of storing cumulative sums, reducing area by up to 45% and memory usage by up to 50%. The architecture achieves resampling without ordering, normalization or generating ordered random numbers.