Re: Is there a "reset" circuit in modern RAM chips?
Posted by cadet1620 on May 01, 2018; 4:36pm
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Is-there-a-reset-circuit-in-modern-RAM-chips-tp4031976p4031977.html
I don't know of any large RAM chips that have memory reset hardware. The high speed, small size requirements mean that there can be no "extra" gates or wiring added.
Real RAM chips are not made of DFFs and multiplexors. The circuitry would be much too big.
The boot code accesses the RAM to determine its size and may do a quick memory test, but is not required to zero the RAM. The OS assumes that it is starting with uninitialized RAM. In general, you should assume that library calls like alloc() return uninitialized memory.
--Mark