您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 其它行业文档 > SRAM在Candence中仿真静态噪声容限
DepartmentofElectricalandComputerEngineeringVishalSaxena-1-SRAMStaticCharacterizationVishalSaxena,BoiseStateUniversity(vishalsaxena@boisestate.edu)VishalSaxena-2-SRAMReadStaticNoiseMargin(SNM)Duringreads,WLandBLareheldatVDDBreakthefeedbackfromthecross-coupledinvertersPlotvoltagetransfercharacteristics(VTC)oftheinverterinthehalfcircuitasshownbelow(V2vsV1)UsethisplottoformthebutterflycurvebyoverlappingtheVTCwithitsinverseRepresentsthetwohalvesdrivingeachotherReadSNMisthesideofthelargestsquarefittedinthebutterflycurveVishalSaxena-3-SRAMReadStaticNoiseMargin(SNM)Sinceit’sdifficultwithSpectretoplottheinverseofthecurveonthesamegraphImporttheV2vsV1inMATLABanddopost-processingtogeneratethebutterflycurveVishalSaxena-4-ReadSNMTestBenchVishalSaxena-5-ReadSNMTestBenchSelectandsavethetraceasa.csvfile,sayVout.csvStartMatlabinthesamedirectoryCanalsouseExcelEitherimportthe.csvfileandplotyourselvesORUsethescriptinthefollowingslidesVishalSaxena-6-MatlabScripttoplotButterflyCurves%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%ScripttoplotSRAMButterflycurve%%SavethevinvsvoutDCsweepplotintheSpectreasa%CSVfile'Vout.csv'%RunthisscriptinthesamedirectoryastheCSVfile%Thefileusesthefunctionimportfile%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%importfile('Vout1.csv');%Changefilenameappropriately%vinisthefirstcolumnvin=data(:,1);%voutisthesecondcolumnvout=data(:,2);figure()plot(vin,vout);holdon;gridon;plot(vout,vin);%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%VishalSaxena-7-MatlabImportfileFunction%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%functionimportfile(fileToRead1)%IMPORTFILE(FILETOREAD1)%Importsdatafromthespecifiedfile%FILETOREAD1:filetoread%ImportthefilenewData1=importdata(fileToRead1);%Createnewvariablesinthebaseworkspacefromthosefields.vars=fieldnames(newData1);fori=1:length(vars)assignin('base',vars{i},newData1.(vars{i}));End%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%VishalSaxena-8-ReadButterflyPlotFitthelargestsquareinthebutterflyTwostablestates(0and1)AhigherSNMindicatesbetterreadstabilityVishalSaxena-9-SRAMWriteNoiseMargin(WNM)Duringawrite,WLisatVDD,andthedataisdrivenontotheBLsBreakthefeedbackfromthecross-coupledinvertersPlotvoltagetransfercharacteristics(VTCs)oftheinverterinthehalfcircuitasshownbelow(V2vsV1andV1vsV2)Here,VTCsofthetwohalvesarenotthesameSinceoneoftheBLisdriventoVDDandotherto0(asymmetry).WriteNMisthesideofthelargestsquarefittedinbetweenthetwocurvesVishalSaxena-10-WriteNMTestBenchVishalSaxena-11-WriteButterflyPlotFitthelargestsquarebetweenthecurvesTwostablestates(0and1)AhigherWNMindicatesbetterwritestability
本文标题:SRAM在Candence中仿真静态噪声容限
链接地址:https://www.777doc.com/doc-7275335 .html