Advertisement
SubhamRath

6T full

Jul 30th, 2020
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.54 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='5000n' m='1'
  13. m1 b read n1 n1 PMOS4 l='400n' w='5000n' m='1'
  14.  
  15. **power supply for pullup**
  16. vp n1 n2 dc='5' ac='0'
  17.  
  18. **routing cap bit line**
  19. c0 gnd b 1280f
  20.  
  21. **routing cap bitb line**
  22. c1 gnd bb 1280f
  23.  
  24. **routing cap wordline**
  25. c2 gnd wl 2560f
  26.  
  27. **jutction cap for bit**
  28. m2 b gnd gnd gnd NMOS4 l='400n' w='950n' m='127'
  29.  
  30. **jutction cap for bitb**
  31. m3 bb gnd gnd gnd NMOS4 l='400n' w='950n' m='127'
  32.  
  33. **bit line conditioning**
  34. m6 b write gnd gnd NMOS4 l='400n' w='3000n' m='1'
  35.  
  36. **bitb line conditioning**
  37. m5 bb writeb gnd gnd NMOS4 l='400n' w='3000n' m='1'
  38.  
  39. **wordline oxide cap**
  40. m4 gnd wl gnd gnd NMOS4 l='400n' w='950n' m='254'
  41.  
  42. **wordline pulse voltage**
  43. vwl wl n2 pulse 0 5v 10ns 200ps 200ps 50ns 55ns
  44.  
  45. **bit line conditioning pulse voltage**
  46. vwrite write gnd pulse 0 5v 40ns 200ps 200ps 30ns 170ns
  47.  
  48. **bitb line conditioning pulse voltage**
  49. vwriteb writeb gnd pulse 0 5v 120ns 200ps 200ps 30ns 90ns
  50.  
  51. **pullup conditioning pulse voltage**
  52. vread read n2 pulse 0v 5v 10ns 200ps 200ps 20ns 80ns
  53.  
  54. **vcvs as sense amplifier**
  55. e0 opread gnd b bb 1.0
  56.  
  57. ************** Module 6T **************
  58. ************** Module 6T **************
  59. .subckt 6T bit bitb ws agnd avdd example_param=1.0
  60. m5 avdd n1 n0 avdd PMOS4 l='400n' w='600n' m='1'
  61. m6 n1 n0 avdd avdd PMOS4 l='400n' w='600n' m='1'
  62. m3 bit ws n0 agnd NMOS4 l='400n' w='950n' m='1'
  63. m4 n1 ws bitb agnd NMOS4 l='400n' w='950n' m='1'
  64. m1 agnd n1 n0 agnd NMOS4 l='400n' w='3600n' m='1'
  65. m2 n1 n0 agnd agnd NMOS4 l='400n' w='3600n' m='1'
  66. .ends 6T
  67.  
  68.  
  69. **************Model File***************
  70. **************Model File***************
  71. .MODEL NMOS4 NMOS ( LEVEL = 49
  72. +VERSION = 3.1 TNOM = 27 TOX = 7.6E-9
  73. +XJ = 1.5E-7 NCH = 1.7E17 VTH0 = 0.4964448
  74. +K1 = 0.5307769 K2 = 0.0199705 K3 = 0.2963637
  75. +K3B = 0.2012165 W0 = 2.836319E-6 NLX = 2.894802E-7
  76. +DVT0W = 0 DVT1W = 5.3E6 DVT2W = -0.032
  77. +DVT0 = 0.112017 DVT1 = 0.2453972 DVT2 = -0.171915
  78. +U0 = 444.9381976 UA = 2.921284E-10 UB = 1.773281E-18
  79. +UC = 7.067896E-11 VSAT = 1.130785E5 A0 = 1.1356246
  80. +AGS = 0.2810374 B0 = 2.844393E-7 B1 = 5E-6
  81. +KETA = -7.8181E-3 A1 = 0 A2 = 1
  82. +RDSW = 925.2701982 PRWG = -1E-3 PRWB = -1E-3
  83. +WR = 1 WINT = 7.186965E-8 LINT = 1.735515E-9
  84. +XL = -2E-8 XW = 0 DWG = -1.712973E-8
  85. +DWB = 5.851691E-9 VOFF = -0.132935 NFACTOR = 0.5710974
  86. +CIT = 0 CDSC = 8.607229E-4 CDSCD = 0
  87. +CDSCB = 0 ETA0 = 2.128321E-3 ETAB = 0
  88. +DSUB = 0.0257957 PCLM = 0.6766314 PDIBLC1 = 1
  89. +PDIBLC2 = 1.787424E-3 PDIBLCB = 0 DROUT = 0.7873539
  90. +PSCBE1 = 6.973485E9 PSCBE2 = 1.46235E-7 PVAG = 0.05
  91. +DELTA = 0.01 MOBMOD = 1 PRT = 0
  92. +UTE = -1.5 KT1 = -0.11 KT1L = 0
  93. +KT2 = 0.022 UA1 = 4.31E-9 UB1 = -7.61E-18
  94. +UC1 = -5.6E-11 AT = 3.3E4 WL = 0
  95. +WLN = 1 WW = 0 WWN = 1
  96. +WWL = 0 LL = 0 LLN = 1
  97. +LW = 0 LWN = 1 LWL = 0
  98. +CAPMOD = 2 CGDO = 1.96E-10 CGSO = 1.96E-10
  99. +CGBO = 0 CJ = 9.276962E-4 PB = 0.8157962
  100. +MJ = 0.3557696 CJSW = 3.181055E-10 PBSW = 0.6869149
  101. +MJSW = 0.1 PVTH0 = -0.0252481 PRDSW = -96.4502805
  102. +PK2 = -4.805372E-3 WKETA = -7.643187E-4 LKETA = -0.0129496 )
  103.  
  104. .MODEL PMOS4 PMOS ( LEVEL = 49
  105. +VERSION = 3.1 TNOM = 27 TOX = 7.6E-9
  106. +XJ = 1.5E-7 NCH = 1.7E17 VTH0 = -0.6636594
  107. +K1 = 0.4564781 K2 = -0.019447 K3 = 39.382919
  108. +K3B = -2.8930965 W0 = 2.655585E-6 NLX = 1.51028E-7
  109. +DVT0W = 0 DVT1W = 5.3E6 DVT2W = -0.032
  110. +DVT0 = 1.1744581 DVT1 = 0.7631128 DVT2 = -0.1035171
  111. +U0 = 151.3305606 UA = 2.061211E-10 UB = 1.823477E-18
  112. +UC = -8.97321E-12 VSAT = 9.915604E4 A0 = 1.1210053
  113. +AGS = 0.3961954 B0 = 6.493139E-7 B1 = 4.273215E-6
  114. +KETA = -9.27E-3 A1 = 0 A2 = 1
  115. +RDSW = 2.30725E3 PRWG = -1E-3 PRWB = 0
  116. +WR = 1 WINT = 5.962233E-8 LINT = 4.30928E-9
  117. +XL = -2E-8 XW = 0 DWG = -1.596201E-8
  118. +DWB = 1.378919E-8 VOFF = -0.15 NFACTOR = 2
  119. +CIT = 0 CDSC = 6.593084E-4 CDSCD = 0
  120. +CDSCB = 0 ETA0 = 0.0286461 ETAB = 0
  121. +DSUB = 0.2436027 PCLM = 4.3597508 PDIBLC1 = 7.447024E-4
  122. +PDIBLC2 = 4.256073E-3 PDIBLCB = 0 DROUT = 0.0120292
  123. +PSCBE1 = 1.347622E10 PSCBE2 = 5E-9 PVAG = 3.669793
  124. +DELTA = 0.01 MOBMOD = 1 PRT = 0
  125. +UTE = -1.5 KT1 = -0.11 KT1L = 0
  126. +KT2 = 0.022 UA1 = 4.31E-9 UB1 = -7.61E-18
  127. +UC1 = -5.6E-11 AT = 3.3E4 WL = 0
  128. +WLN = 1 WW = 0 WWN = 1
  129. +WWL = 0 LL = 0 LLN = 1
  130. +LW = 0 LWN = 1 LWL = 0
  131. +CAPMOD = 2 CGDO = 2.307E-10 CGSO = 2.307E-10
  132. +CGBO = 0 CJ = 1.420282E-3 PB = 0.99
  133. +MJ = 0.5490877 CJSW = 4.773605E-10 PBSW = 0.99
  134. +MJSW = 0.1997417 PVTH0 = 6.58707E-3 PRDSW = -93.5582228
  135. +PK2 = 1.011593E-3 WKETA = -0.0101398 LKETA = 6.027967E-3 )
  136.  
  137.  
  138.  
  139. *****Condition set and variable declaration*****
  140. .temp 27
  141. .param vsupply=5
  142. .global gnd
  143. .nodeset V(xi0.n0)=5
  144. .tran 1n 210n
  145. .op
  146. .save v(b) v(bb) v(opread) V(xi0.n0) V(xi0.n1) v(read) v(write) v(wl) v(writeb)
  147.  
  148. .end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement