From the top directory, type make.
Go to the memory folder and type make.
In the memory folder, type make sim.
For specific memory modules, there are parameters that can be configured.
RAM: RAM=1 to use RAM; RAM=0 otherwise (default).
R: R=1 for READ_DATA > WRITE_DATA; R=0 otherwise (default).