Advertisement
SubhamRath

withsamp

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