minimac_refactor: recode minimac_memory.v using Migen

to be cleaned up
miscope inserted for debug, to remove