Read is completely combinatorial and simply return on dout the value of the RAM @ raddr.
dout
raddr
Write is triggered by the clock, and write din to the RAM if we is set.
din
we