core: improve u232c_in module
core: fix bug of SHLD
core: refactored memory controller
core: fix wtime