Fixed simlib.v model for $mem
Implemented dynamic bit-/part-select for memory writes
Also simulate unmapped memories in "make test"