drcachesim should support any associativity
drcachesim currently only supports power-of-2 associatvities. This is not an inherent property of set-associative caches, and it is not uncommon for production silicon to feature e.g. 3-way or 5-way for L1, or perhaps 12-way or 24-way for outer caches. The size is related to the associativites and hence also might not be a power of 2, e.g. 48K for a 3-way L1.
For correlation against this silicon, and to get more data points in cache studies, it would be useful to support these associativities.
This looks fairly straightforward, it needs some minor adjustments to option validation, and uses of assoc_bits or masking need to change.