def __init__(self, cs, dims, start_address=<NUM_LIT:0>, element_size=<NUM_LIT:8>, filename_base=None):
assert isinstance(cs, CacheSimulator),"<STR_LIT>"<EOL>ndim = len(dims)<EOL>assert ndim < <NUM_LIT:3>, "<STR_LIT>"<EOL>self.dims = dims<EOL>self.npts = reduce(int.__mul__, self.dims, <NUM_LIT:1>)<EOL>self.cs = cs<EOL>self.startAddress = start_address<EOL>self.element_size = element_size<EOL>self.filename_base = filename_base<EOL>self.count = <NUM_LIT:0><EOL>
Create interface to interact with cache visualizer.

:param cs: CacheSimulator object.
:param dims: dimensions at which you wish to visualize the data
             for eg. [10,15]. tells visualize a 2d array of
             10 rows and 15 columns of elements having wordSize.
:param start_address: starting address of the array.
:param element_size: size of each element in bytes.
:param filename_base: base name of VTK file to be outputed for Paraview.