00:00:00.000 A single-port RAM shares one read and write address Address one already holds three one. Drive five two as the new word. The rising edge returns three one and also stores five two at that address. 00:00:13.667 Write twice, then read without writing The first edge writes three one and reads uninitialized storage. The second writes five two and reads three one. The third edge reads five two with write disabled. 00:00:27.708 This RTL specifies a read of the old word At the edge, the read assignment takes the current memory value. With writing enabled, the other assignment schedules a change to that location. This RTL therefore returns the old value. 00:00:42.250 Recheck same-address behavior when changing implementations A design that needs the new word on a simultaneous read and write would expect a different answer. When changing the memory implementation, rerun the same transaction to verify its mode.