How can I calculate the number of cache lines per set or the cache size with the given information?
- m (number of physical address bits): 32
- C (cache size): unknown
- B (Block size in bytes): 32
- E (number of lines per set): unknown
- S (number of cache sets): 32
- t (tag bits): 22
- s (set index bits): 5
- b (block offset bits): 5
- associativity unknown
Since we can calculate C with C=B*E*S or E with E=C/(B*S). I just need to know how to calculate C or E.