Thanks for your kind response.
As I am new to DDR. Now I am just following the DDR4 standard JEDEC spec. I want to implement the whole system as in the above figure. Is it possible first design a memory module and then the memory controller?
A simulation model of the memory in Verilog is always provided by the manufacturer. No need to write that on your own. You can focus on the memory controller part.
Generally, yes.
You say you are using JEDEC DDR4 spec as a guide, so you should already have a brief idea which specific functions need to be implemented between logical interface layer implemented in memory controller and I/O buffers.