# SRAM model source: Week8 memory-technology p.4 ~ p. [video link](https://www.youtube.com/watch?v=4S3tSiRqRi8&ab_channel=soclab) ## SRAM v.s. DRAM  ### SRAM: used for cache #### pros * Static: 沒斷電資料就還在 * Faster than DRAM #### cons * 和DRAM比需要較多的transistor -> expensive ### DRAM: used for main memory or larger cache #### pros * Higher density thus cheaper #### cons * 1 transistor per bit * Dynamic: 要一直充電 ## SRAM Cell Need 6 transistor for one bit data -> 兩個inverter迴受加上兩個nmos開關  ## SRAM Read note: BL = bit line, SL = select line  1. 把BL和BL'都充到Vdd 2. 打開SL(充到Vdd) 3. 看是BL還是BL'掉到0就知道裡面的值 ## SRAM Write note: BL的capacitance要比裡面transistor的大  1. 先把BL和BL'充到想要的值 (0和Vdd或Vdd和0) 2. 打開SL(充到Vdd) 3. 等M1到M4充完再斷開SL 
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up