A memory device comprises a plurality of banks of storage locations
accessible in response to access requests. Data refresh means are
provided for refreshing data stored in the storage locations within
prescribed times, whereby the memory device autonomously perform a
refresh. A cache memory is embedded in the memory device. The cache
memory has a plurality of cache storage locations for storing data
contained in recently accessed storage locations. Access control means
control the access to the storage locations and to the cache storage
locations in response to the access requests: an access request is
diverted to the cache memory whenever access to anyone of the recently
accessed storage locations is requested. Any cache storage location is
freely associable to any storage location in any bank, the association
between any cache storage location and a storage location in the
plurality of banks being established by a storage location association
table in the access control means.