icache.py copy simulation code from dcache.py, fix syntax