數字設計 第9章 存儲器、CPLD和FPGA學習課件_第1頁
數字設計 第9章 存儲器、CPLD和FPGA學習課件_第2頁
數字設計 第9章 存儲器、CPLD和FPGA學習課件_第3頁
數字設計 第9章 存儲器、CPLD和FPGA學習課件_第4頁
數字設計 第9章 存儲器、CPLD和FPGA學習課件_第5頁
已閱讀5頁,還剩23頁未讀 繼續免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

Chapter9Memory、CPLDandFPGA本章只要求存儲器中的ROM及其用于組合邏輯電路的設計2/28/20252/28/2025chapter9memoryROM(read-onlymemory)RAM(random-accessmemory)Non-volatilewhilepowereddownVolatilewhilepowereddownOftenbeusedstorefirmwareorinitialprogramofthecomputer…DataexchangeandstoringtemporarilyinCPUorothermicroprocessormemory:storebitsinastructuredway2/28/2025chapter99.1Read-OnlyMemory(ROM)1.basicstrcture2n×bROMn-bitaddressinputb-bitdataoutputA0A1A2An-2An-1D0D1Db-1……×××××D0Db-1…0…00An-1…A00…011…11××××××××××b-bitdatasketchmapofRAM2/28/2025chapter92.InternalROMstructureRow(address)decoder…A0A1An-1…storagearray

(M×b)…D0Db-1outputcircuit…01MaddressinputDataoutput2/28/2025chapter9wordline

bitlineaddressdecoder輸出電路addressinputadatastoredunitdatastoredarrayDataoutputhasdiode:store1nodiode:store08×4ROMstructure2/28/2025chapter93.Two-dimensionaldecoding128×1ROM0000000~00011110010000~00111111110000~1111111……地址2/28/2025chapter9MOStransistorsasstorageelements2/28/2025chapter94.commercialROMtypesmask-programmableROM,arrayconnectionsareprogrammedduringsemiconductormanufactureusingamask.veryfast.verydense.expensive,2-4weekturn-around,lowpowerProgrammableROM(PROM),fusestoprogramonceinthefield,usePROMprogrammer,inexpensivewordlinebitlinefuse2/28/2025chapter9EPROM(ErasablePROM),fusesimplementedusingfloating-gateMOStransistorstoprogram10k~100ktimesinthefield,erasedbyfloodingwithUVlight.E2PROM(ElectricallyEPROM),byte-program,individualstoredbitsmaybeerasedelectrically.flashE2PROM,aspecifictypeofE2PROMthatiserasedandprogrammedinlargeblocks2/28/2025chapter9floating-gateMOSstorageelementserasedbyUVlight2/28/2025chapter9按照數據的輸入/輸出分為串行EEPROM和并行EEPROM。串行EEPROM:在讀寫數據時,輸入/輸出時通過2線、3線、4線或SPI總線等接口方式進行的。并行EEPROM:數據的輸入/輸出是通過并行總線進行的。近期,低功耗,寫入/擦除速度快的產品很多,如Microchip公司的新型8千位、16千位串行EEPROM,最快時鐘10MHZ,寫入時間5ms,電流3mA,內置寫保護功能,可保存數據達200年,承受100萬次擦寫。Atmel公司的AT24C××系列……2/28/2025chapter95.UsingROMfor“random”combinationallogicfunctionsStoretheoutputvalueofagiventruthtableintheROM,thefunctioninputsareconnectedtotheaddressinput.Exp1:thedualpolaritydecoder.(P.801)POLI1I0Y3Y2Y1Y0000011100110110101101011111010010001010100110001011100018×4ROMA0A1A2D0D1D3D2POLI1I0Y0Y1Y2Y32/28/2025chapter9Exp2:4×4multiplier每行第一個數據單元的地址每行包含16個數據單元的數據2/28/2025chapter9MoreExp.:ROM在同步時序電路設計中的應用位序列信號的產生:計數器—ROM法設計一個碼長為8位的序列信號發生器,信號序列為01111110。CLKCLRLDENPENTDCBAQCQDQBQARCOADD2ADD1ADD0SEQVCCCLK…D0D1D2D38×4ROM2/28/2025chapter9address

QCQBQAROM中存儲的數據D3~D0000000000100010100001011000110000011010001110000111100002/28/2025chapter9ROM在組合電路設計中的應用試用8×4ROM實現如下組合邏輯函數

F1=AB+A’C,F2=AB+B’C解:先化作標準和式

以輸入變量作為ROM的地址,將輸出值放入ROM單元。用16字×4位ROM實現2輸入變量的與非、或非、異或和同或

實現4位二進制碼—格雷碼的轉換2/28/2025chapter9Random-accessmemory(RAM)StaticRAMDynamicRAMbotharevolatileRandomaccessmeans:locationsinthememorycanbewrittentoorreadfrominanyorder,regardlessofthememorylocationthatwaslastaccessed.storeabitofdatainthestateofaflip-flopstoreabitofdataasachargeinacapacitor2/28/2025chapter99.3StaticRandom-AccessMemory2n×bRAMstructureA0A1Din0An-2An-1D0D1Db-1…Dinb-1…CSOEWEAddressinputsDatainputsControlinputsDataoutputs×××××D0Db-1…0…00An-1…A00…011…11××××××××××CS、OE有效,b位數據輸出CS、WE有效,b位數據輸入……2/28/2025chapter9SRAMinternalstructureAddressdecoder…A0A1An-1…Storagearray

(M×b)…D0Db-1Outputcircuit…01MD0Db-1…WR/RDcontrolWE_LCS_LOE_L2/28/2025chapter9Astatic-RAMcellSEL_L、WR_Lbothnegated,Dlatchholdthedata;SEL_Lisasserted,tri-statebufferenable,dataoutput(read);SEL_L、WR_Lbothbeasserted,Dlatchopen,anewbitisstored.storeabitofdatainthestateofaflip-flop2/28/2025chapter9synchronousSRAMAbitofstorageisalsoalatch.Control,addressesandwritingorreadingdataarealloccurredattheedgeofthesameclock.2/28/2025chapter99.4dynamicRAMWrite:Chargethecapacitor---store1;Dischargethecapacitor---store0.Read:PrechargebitlinetoavoltagehalfwaybetweenHandL;SetwordlinetoH;ThecapacitorvoltageisH---bitlineispulledslightlyhigherThecapacitorvoltageisL---bitlineispulledslightlylowerstoreabitofdatainaseparatecapacitorthroughaMOStransistor,andneedtoberefreshedperiodically.2/28/2025chapter92/28/2025chapter9SDRAMControlanddataoperationsarereferencedtoacommonclocksignal.是singledatarate,與系統總線速度同步,在一個時鐘周期的上升沿傳輸一次數據。曾經是PC電腦上最為廣泛應用的一種內存類型,分為PC66、PC100、PC133等不同規格,而規格后面的數字就代表著該內存最大所能正常工作系統總線速度2/28/2025chapter9雙數據傳輸模式同步動態隨機存儲器,即DDRSDRAM(DoubleDataRateSynchronousDynamicRandomAccessMemory)是一種繼SDRAM后產生的內存技術,為具有雙倍數據傳輸率之SDRAM,其數據傳輸速度為系統頻率之兩倍,由于速度增加,其傳輸效能優于傳統的SDRAM。一個時鐘周期內傳輸兩次次數據,它能夠在時鐘的上升期和下降期各傳輸一次數據。2/28/2025chapter9存儲容量的擴展

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
  • 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論