【SRAM】SRAM 计算SNM(statistics noise margin)
我的Modern Memory Device的期末作业,选题为SRAM与它的SNM(静态噪声容限),我觉得这个没啥技术含量,纯粹凑数用的。但是在网上找到里一个测试静态噪声容限的方法。可以试一试。
python代码如下
# -*- coding: utf-8 -*-
"""
Created on Mon Apr 4 14:45:29 2022
@author: Daoxuan
"""
import csv
from csv import reader
import numpy as np
import pandas as pd
from matplotlib import pyplot
"import panda as pd"
filename = r'C:\Users\Desktop\MEM\1_1B.csv'
raw_data = pd.read_csv(filename)
v1 = raw_data['/net2 X']
v2 = raw_data['/net2 Y']
v1_array = np.array(v1)
v2_array = np.array(v2)
x = v1_array/1.414 + v2_array/1.414
y = -v1_array/1.414 + v2_array/1.414
x1 = x[::-1]
diff = x - x1
pyplot.plot(-y,x)
pyplot.plot(y,x)
pyplot.plot(y,diff)
Max = max(diff)
print(Max)
"""
"""
pyplot.show()
一些有用的链接
https://inst.eecs.berkeley.edu/~ee290d/fa13/LectureNotes/Lecture14.pdf
https://zhuanlan.zhihu.com/p/392836594
https://www.bing.com/videos/search?q=How+to+caculate+SRAM+SNM&docid=608012716216380935&mid=91A028DA721A7CC8070791A028DA721A7CC80707&view=detail&FORM=VIREhttp://venividiwiki.ee.virginia.edu/mediawiki/index.php/ToolsSimulationMemoryStaticNoiseMargin
另外兄弟们千万别被骗了,这学期被骗了1.3W美金,我特么剩下的生活费全被骗走了,cnm,死骗子。祝你全家福里就你一个人,我TMD回国之后等着吃你的席!!!