rejig shadow ram interface to remove possibly troublesome casts.
remove references to defunct files.
try to fix shadowram write bug (confirmed reading is fine, and that
it is writing that is the problem).
fix some synthesis warnings.
try to fix shadow ram write bug.