Advertisement
SubhamRath

dc read test

Aug 12th, 2020
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 KB | None | 0 0
  1. **** Spice Netlist for Cell 'readwhos' *****
  2.  
  3. ************** Module readwhos **************
  4. xi0 b bb wl n2 n0 6T
  5.  
  6. ****voltage source grounding*****
  7. v0 n2 gnd dc='0' ac='0'
  8. ****power supply to 6T*****
  9. vdd n0 n2 dc='5' ac='0'
  10.  
  11. **pullup**
  12. m0 bb read n1 n1 PMOS4 l='400n' w='2000n' m='1'
  13. m1 b read n1 n1 PMOS4 l='400n' w='2000n' m='1'
  14.  
  15. **power supply for pullup**
  16. vp n1 n2 dc='5' ac='0'
  17. **routing cap bit line**
  18. c0 gnd b 1280f
  19.  
  20. **routing cap bitb line**
  21. c1 gnd bb 1280f
  22.  
  23. **routing cap wordline**
  24. c2 gnd wl 2560f
  25.  
  26. **jutction cap for bit**
  27. m2 b gnd gnd gnd NMOS4 l='400n' w='650n' m='127'
  28.  
  29. **jutction cap for bitb**
  30. m3 bb gnd gnd gnd NMOS4 l='400n' w='650n' m='127'
  31.  
  32. **bit line conditioning**
  33. m6 b write gnd gnd NMOS4 l='400n' w='1000n' m='1'
  34.  
  35. **bitb line conditioning**
  36. m5 bb writeb gnd gnd NMOS4 l='400n' w='1000n' m='1'
  37.  
  38. **wordline oxide cap**
  39. m4 gnd wl gnd gnd NMOS4 l='400n' w='650n' m='256'
  40. m8 gnd wl vdd vdd NMOS4 l='400n' w='650n' m='256'
  41.  
  42. **wordline pulse voltage**
  43. vwl wl n2 dc=5 ac=0
  44. * pulse 0 5v 10ns 200ps 200ps 20ns 30ns
  45.  
  46. **bit line conditioning pulse voltage**
  47. vwrite write gnd dc=0 ac=0
  48. * pulse 0 5v 40ns 200ps 200ps 20ns 120ns
  49.  
  50. **bitb line conditioning pulse voltage**
  51. vwriteb writeb gnd dc=0 ac=0
  52. * pulse 0 5v 100ns 200ps 200ps 20ns 60ns
  53.  
  54. **pullup conditioning pulse voltage**
  55. vread read n2 gnd dc=0 ac=0
  56. * pulse 0v 5v 10ns 200ps 200ps 20ns 30ns
  57.  
  58. **vcvs as sense amplifier**
  59. e0 opread gnd b bb 1.0
  60.  
  61. ************** Module 6T **************
  62. .include '../myLab/6T/6T0p9.sp'
  63.  
  64.  
  65. **************Model File***************
  66. **************Model File***************
  67. .include '../myLab/scn4m_subm/models/ff/nmos.sp'
  68. .include '../myLab/scn4m_subm/models/ff/pmos.sp'
  69.  
  70.  
  71.  
  72.  
  73. *****Condition set and variable declaration*****
  74. .temp -40
  75. .param vsupply=5
  76. .global gnd
  77. .nodeset V(xi0.n0)=5
  78. .dc vwl 0 5 0.1
  79. .control
  80. run
  81. plot b,bb
  82. plot wl
  83. plot xi0.n0,xi0.n1
  84. plot read
  85. plot write,writeb
  86. .endc
  87. .end
  88.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement