Understanding SRAM Randomization Effects and Data Remanence

  • Thread starter Thread starter Artlav
  • Start date Start date
AI Thread Summary
The discussion focuses on the peculiar behavior of SRAM memory blocks, specifically the IS61LV25616, which shows a consistent but non-random pattern upon power cycling. When left uninitialized, the SRAM retains a baseline state that exhibits only minor differences (1-2%) between power cycles, influenced by previous content. This behavior suggests that SRAM cells have a preferred state due to variations in transistor parameters, leading to a predictable pattern rather than complete randomness. Additionally, the high data remanence of SRAM is questioned, as even brief power loss results in a seemingly random image. The conclusion emphasizes the need to write to the SRAM to establish a known state, highlighting the complexities of data retention and initialization in SRAM technology.
Artlav
Messages
161
Reaction score
1
Hello.

While tinkering with some digital circuits i noticed a peculiarity i don't quite understand.

The culprit is an SRAM memory block, used as a video buffer (specifically, IS61LV25616 asynchronous CMOS static ram), which on power on remains in it's uninitialized state.

As could be expected, the image appears to be quite random.

However, there is a peculiarity - the random is not very random.
If i compare the content between two power cycles without writing anything, there would be only about 1-2% of difference.
If i write something into it, then cycle the power, it is no more than 10-20% different from the baseline.
The baseline is writing all 1's, then turning off for 10 seconds.

More interestingly, if i write something into it, power cycle, write something else, power cycle, write the first thing again, power cycle, then the decays of first and third ones would still be only about 1-2% different, and 1 and 2 could be anything between 2 and about 20% different.

It appears that there is some kind of default pattern it settles into when unpowered, slightly altered by it's prior content.

I wonder what is causing it?
Where are the origins of that pattern?


Another thing along the same alley - the SRAM is often noted for it's high data remanence, however turning the power off even for a fraction of a second (in human terms) results in a completely randomized image.
What have i missed there?
 
Engineering news on Phys.org
Ideally an SRAM cell is perfectly symmetric and is equally likely to be found in either state. However, in practice the transistors forming the SRAM have statistical variations in their parameters (such as threshold voltage and transconductance) which give each cell a preferred state. On power-up, each SRAM cell will settle into its preferred state. This is why the state of the SRAM array on power-up is not random, but appears to have a pattern. You need to write the cell in order to get it into a known state.
 
Makes sense, thank you.

What about the data remanence?
 
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
Thread 'Electromagnet magnetic field issue'
Hi Guys We are a bunch a mechanical engineers trying to build a simple electromagnet. Our design is based on a very similar magnet. However, our version is about 10 times less magnetic and we are wondering why. Our coil has exactly same length, same number of layers and turns. What is possibly wrong? PIN and bracket are made of iron and are in electrical contact, exactly like the reference design. Any help will be appreciated. Thanks. edit: even same wire diameter and coil was wounded by a...
Thread 'Beauty of old electrical and measuring things, etc.'
Even as a kid, I saw beauty in old devices. That made me want to understand how they worked. I had lots of old things that I keep and now reviving. Old things need to work to see the beauty. Here's what I've done so far. Two views of the gadgets shelves and my small work space: Here's a close up look at the meters, gauges and other measuring things: This is what I think of as surface-mount electrical components and wiring. The components are very old and shows how...
Back
Top