-
Notifications
You must be signed in to change notification settings - Fork 7
/
CLRDRAM-HP.asc
579 lines (579 loc) · 18.2 KB
/
CLRDRAM-HP.asc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
Version 4
SHEET 1 9124 2520
WIRE -1392 -1648 -1392 -1664
WIRE -1392 -1552 -1392 -1568
WIRE 768 -1392 624 -1392
WIRE 624 -1360 624 -1392
WIRE 768 -1312 768 -1392
WIRE 2064 -1312 768 -1312
WIRE 304 -1280 96 -1280
WIRE 576 -1280 304 -1280
WIRE 2064 -1248 2064 -1312
WIRE 624 -1232 624 -1264
WIRE 624 -1232 384 -1232
WIRE 1728 -1168 1680 -1168
WIRE 1936 -1168 1728 -1168
WIRE -608 -1152 -608 -1184
WIRE -240 -1152 -240 -1184
WIRE 384 -1152 384 -1232
WIRE -1584 -1136 -1584 -1152
WIRE 384 -1136 384 -1152
WIRE -1104 -1120 -1104 -1136
WIRE 2128 -1088 1984 -1088
WIRE 2208 -1088 2128 -1088
WIRE 2336 -1088 2208 -1088
WIRE 2128 -1056 2128 -1088
WIRE 2336 -1056 2336 -1088
WIRE -1584 -1040 -1584 -1056
WIRE -608 -1040 -608 -1072
WIRE -240 -1040 -240 -1072
WIRE 2208 -1040 2176 -1040
WIRE 2288 -1040 2256 -1040
WIRE -1104 -1024 -1104 -1040
WIRE 384 -976 384 -1072
WIRE 2480 -960 2416 -960
WIRE 2624 -960 2576 -960
WIRE 2064 -944 2064 -1152
WIRE 2128 -944 2128 -960
WIRE 2128 -944 2064 -944
WIRE 2208 -944 2256 -1040
WIRE 2208 -944 2128 -944
WIRE 2256 -944 2208 -1040
WIRE 2336 -944 2336 -960
WIRE 2336 -944 2256 -944
WIRE 2416 -944 2416 -960
WIRE 2416 -944 2336 -944
WIRE 768 -896 768 -1312
WIRE 2064 -848 2064 -944
WIRE 2208 -848 2064 -848
WIRE 2416 -848 2416 -944
WIRE 2416 -848 2304 -848
WIRE 1936 -800 1904 -800
WIRE 2176 -800 1936 -800
WIRE 2224 -800 2176 -800
WIRE 2352 -800 2224 -800
WIRE 2368 -800 2352 -800
WIRE 2176 -784 2176 -800
WIRE 2352 -784 2352 -800
WIRE 432 -736 384 -736
WIRE 640 -736 432 -736
WIRE 2064 -736 2064 -848
WIRE 2096 -736 2064 -736
WIRE 2240 -736 2192 -736
WIRE 2272 -736 2240 -736
WIRE 2416 -736 2416 -848
WIRE 2416 -736 2368 -736
WIRE 720 -720 720 -864
WIRE 2240 -688 2240 -736
WIRE 2240 -672 2240 -688
WIRE 832 -656 688 -656
WIRE 912 -656 832 -656
WIRE 1040 -656 912 -656
WIRE -3824 -640 -3824 -736
WIRE -800 -624 -800 -656
WIRE -512 -624 -512 -656
WIRE -208 -624 -208 -656
WIRE 96 -624 96 -656
WIRE 832 -624 832 -656
WIRE 1040 -624 1040 -656
WIRE 2064 -624 2064 -736
WIRE 2128 -624 2064 -624
WIRE 2208 -624 2128 -624
WIRE 2336 -624 2272 -624
WIRE 2416 -624 2416 -736
WIRE 2416 -624 2336 -624
WIRE 912 -608 880 -608
WIRE 992 -608 960 -608
WIRE 2128 -608 2128 -624
WIRE 2336 -608 2336 -624
WIRE 1168 -528 1120 -528
WIRE 1312 -528 1264 -528
WIRE 2208 -528 2272 -624
WIRE 2208 -528 2176 -528
WIRE 2272 -528 2208 -624
WIRE 2288 -528 2272 -528
WIRE -800 -512 -800 -544
WIRE -512 -512 -512 -544
WIRE -208 -512 -208 -544
WIRE 96 -512 96 -544
WIRE 768 -512 768 -704
WIRE 832 -512 832 -528
WIRE 832 -512 768 -512
WIRE 912 -512 960 -608
WIRE 912 -512 832 -512
WIRE 960 -512 912 -608
WIRE 1040 -512 1040 -528
WIRE 1040 -512 960 -512
WIRE 1120 -512 1120 -528
WIRE 1120 -512 1040 -512
WIRE 2128 -480 2128 -512
WIRE 2128 -480 2016 -480
WIRE 2256 -480 2128 -480
WIRE 2336 -480 2336 -512
WIRE 2336 -480 2256 -480
WIRE 768 -432 768 -512
WIRE 912 -432 768 -432
WIRE 1120 -432 1120 -512
WIRE 1120 -432 1008 -432
WIRE 1120 -416 1120 -432
WIRE 1968 -400 1712 -400
WIRE 640 -384 608 -384
WIRE 880 -384 640 -384
WIRE 928 -384 880 -384
WIRE 1056 -384 928 -384
WIRE 1296 -384 1056 -384
WIRE 2624 -384 2624 -960
WIRE 2624 -384 2384 -384
WIRE 880 -368 880 -384
WIRE 1056 -368 1056 -384
WIRE 768 -352 768 -432
WIRE 768 -320 768 -352
WIRE 800 -320 768 -320
WIRE 944 -320 896 -320
WIRE 976 -320 944 -320
WIRE 1120 -320 1120 -416
WIRE 1120 -320 1072 -320
WIRE 1312 -304 1312 -528
WIRE -4432 -288 -4432 -320
WIRE 944 -272 944 -320
WIRE -4480 -256 -4512 -256
WIRE -4224 -240 -4432 -240
WIRE -4048 -240 -4128 -240
WIRE -4512 -208 -4512 -256
WIRE -4512 -208 -4592 -208
WIRE 768 -192 768 -320
WIRE 832 -192 768 -192
WIRE 912 -192 832 -192
WIRE 1040 -192 976 -192
WIRE 1120 -192 1120 -320
WIRE 1120 -192 1040 -192
WIRE 832 -176 832 -192
WIRE 1040 -176 1040 -192
WIRE -4512 -160 -4512 -208
WIRE -4480 -160 -4512 -160
WIRE -4432 -160 -4432 -192
WIRE 912 -96 976 -192
WIRE 912 -96 880 -96
WIRE 976 -96 912 -192
WIRE 992 -96 976 -96
WIRE 832 -48 832 -80
WIRE 832 -48 720 -48
WIRE 960 -48 832 -48
WIRE 1040 -48 1040 -80
WIRE 1040 -48 960 -48
WIRE 672 32 416 32
WIRE -4432 64 -4432 32
WIRE 1312 64 1312 -208
WIRE 2384 64 2384 -384
WIRE 2384 64 1312 64
WIRE -4480 96 -4512 96
WIRE -4224 112 -4432 112
WIRE -4048 112 -4128 112
WIRE 1312 128 1312 64
WIRE 1312 128 1200 128
WIRE -4512 144 -4512 96
WIRE -4512 144 -4592 144
WIRE 1200 160 1200 128
WIRE -4512 192 -4512 144
WIRE -4480 192 -4512 192
WIRE -4432 192 -4432 160
WIRE 1088 272 880 272
WIRE 1152 272 1152 240
WIRE 1152 272 1088 272
WIRE 1200 304 1200 256
WIRE 1200 320 1200 304
WIRE 1312 432 1312 128
FLAG -1104 -1024 0
FLAG -1104 -1136 Eq
FLAG 720 0 0
FLAG -608 -1040 0
FLAG -608 -1184 sense_P
FLAG 1040 -128 0
FLAG 832 -128 0
FLAG 960 -432 0
FLAG 848 -320 0
FLAG 1024 -320 0
FLAG 640 -384 Eq
FLAG 944 -272 VDDby2
FLAG 416 32 sense_N
FLAG 720 48 0
FLAG 768 -352 bitline0
FLAG 1120 -416 bitline1
FLAG 624 -1312 0
FLAG 384 -1152 mb0
FLAG 304 -1280 ra0
FLAG 1200 208 0
FLAG 1200 304 mb3
FLAG 1088 272 ra3
FLAG -1392 -1552 0
FLAG -1392 -1664 ra0
FLAG 688 -704 VDD
FLAG 1040 -576 VDD
FLAG 832 -576 VDD
FLAG 688 -752 VDD
FLAG 432 -736 sense_p
FLAG 912 -656 ACT
FLAG 960 -48 NLAT
FLAG -240 -1040 0
FLAG -240 -1184 sense_N
FLAG -1584 -1152 ra3
FLAG -1584 -1040 0
FLAG -800 -512 0
FLAG -800 -656 VDD
FLAG -512 -512 0
FLAG -512 -656 VDDby2
FLAG 384 -976 PV
FLAG -208 -512 0
FLAG -208 -656 PV
FLAG 1200 384 PV
FLAG 2016 -432 0
FLAG 2336 -560 0
FLAG 2128 -560 0
FLAG 2256 -848 0
FLAG 2144 -736 0
FLAG 2320 -736 0
FLAG 1936 -800 Eq
FLAG 2240 -688 VDDby2
FLAG 1712 -400 sense_N
FLAG 2016 -384 0
FLAG 1984 -1136 VDD
FLAG 2336 -1008 VDD
FLAG 2128 -1008 VDD
FLAG 1984 -1184 VDD
FLAG 1728 -1168 sense_p
FLAG 2208 -1088 ACT_u
FLAG 2256 -480 NLAT_u
FLAG 96 -512 0
FLAG 96 -656 ISO
FLAG 768 -752 0
FLAG 1216 -528 0
FLAG 720 -864 ISO
FLAG 1184 -576 ISO
FLAG 2528 -960 0
FLAG 2496 -1008 ISO
FLAG 2064 -1200 0
FLAG 2112 -1232 ISO
FLAG -4432 -144 0
FLAG -4672 -592 0
FLAG -4672 -672 WR_VDD
FLAG -4432 -336 WR_VDD
FLAG -4592 -208 WR_0
FLAG -4432 -592 0
FLAG -4432 -672 WR_0
FLAG -4160 -592 0
FLAG -4160 -672 WR_1
FLAG -4176 -240 0
FLAG -4208 -288 CSEL
FLAG -4432 208 0
FLAG -4432 16 WR_VDD
FLAG -4592 144 WR_1
FLAG -4176 112 0
FLAG -4208 64 CSEL
FLAG -4048 -240 bitline0
FLAG -4048 112 bitline1
FLAG -3824 -560 0
FLAG -3824 -736 CSEL
SYMBOL nmos4 672 -48 R0
WINDOW 0 104 24 Invisible 2
WINDOW 3 179 41 Invisible 2
SYMATTR InstName M1
SYMATTR Value2 l={mc(SA_nset_L, process_var)} w={mc(SA_nset_W, process_var)}
SYMBOL voltage -1104 -1136 R0
WINDOW 0 -72 21 Left 2
WINDOW 3 -99 147 Left 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V_EQ
SYMATTR Value PULSE(0 {core_voltage*1} 0 0.5n 0.5n 18n 100n 2)
SYMBOL voltage -608 -1168 R0
WINDOW 123 0 0 Left 2
WINDOW 39 -71 197 Left 2
WINDOW 3 -71 169 Left 2
SYMATTR SpiceLine Rser=100 Cpar=1fF
SYMATTR Value PULSE({core_voltage} 0 {20n + psense_act} 0.5n 0.5n 75n)
SYMATTR InstName V_SP
SYMBOL nmos4 992 -176 R0
WINDOW 0 104 24 Invisible 2
WINDOW 3 179 41 Invisible 2
SYMATTR InstName M2
SYMATTR Value2 l={mc(SA_nmos_L,process_var)} w={mc(SA_nmos_W, process_var)}
SYMBOL nmos4 880 -176 M0
WINDOW 0 104 24 Invisible 2
WINDOW 3 179 41 Invisible 2
SYMATTR InstName M3
SYMATTR Value2 l={mc(SA_nmos_L,process_var)} w={mc(SA_nmos_W,process_var)}
SYMBOL nmos4 1008 -384 M270
WINDOW 0 104 24 Invisible 2
WINDOW 3 179 41 Invisible 2
SYMATTR InstName M4
SYMATTR Value2 l={mc(SA_eq_L,process_var)} w={mc(SA_eq_W, process_var)}
SYMBOL nmos4 800 -368 M90
WINDOW 0 104 24 Invisible 2
WINDOW 3 179 41 Invisible 2
SYMATTR InstName M5
SYMATTR Value2 l={mc(SA_eq_L,process_var)} w={mc(SA_eq_W,process_var)}
SYMBOL nmos4 976 -368 M90
WINDOW 0 104 24 Invisible 2
WINDOW 3 179 41 Invisible 2
SYMATTR InstName M6
SYMATTR Value2 l={mc(SA_eq_L,process_var)} w={mc(SA_eq_W,process_var)}
SYMBOL nmos4 576 -1360 R0
WINDOW 0 104 24 Invisible 2
WINDOW 3 179 41 Invisible 2
SYMATTR InstName M7
SYMATTR Value nmoslp
SYMATTR Value2 l={mc(access_tran_L,process_var)} w={mc(access_tran_W,process_var)}
SYMBOL cap 368 -1136 R0
WINDOW 3 41 47 Left 2
SYMATTR Value {mc(cell_cap, process_var)}
SYMATTR InstName cell_cap_0
SYMATTR SpiceLine IC={-plate_voltage + {cell_init_voltage}}
SYMBOL nmos4 1152 160 R0
WINDOW 0 104 24 Invisible 2
WINDOW 3 179 41 Invisible 2
SYMATTR InstName M8
SYMATTR Value nmoslp
SYMATTR Value2 l={mc(access_tran_L,process_var)} w={mc(access_tran_W,process_var)}
SYMBOL cap 1184 320 R0
WINDOW 3 41 47 Left 2
SYMATTR Value {mc(cell_cap, process_var)}
SYMATTR InstName cell_cap_2
SYMATTR SpiceLine IC={-plate_voltage + 0.02*1.2}
SYMBOL voltage -1392 -1664 R0
WINDOW 0 -72 21 Left 2
WINDOW 3 -99 147 Left 2
WINDOW 123 0 0 Left 2
WINDOW 39 -72 49 Left 2
SYMATTR InstName V_RA0
SYMATTR Value PULSE(0 {mc(wordline_voltage*wl0_act, 0.00)} 20n 0.5n 0.5n 75n)
SYMATTR SpiceLine Rser={mc(wordline_R*WL_res_factor, process_var)} Cpar={mc(wordline_C*WL_cap_factor, process_var)}
SYMBOL pmos4 640 -656 M180
WINDOW 0 56 32 Invisible 2
WINDOW 3 56 72 Invisible 2
SYMATTR InstName M9
SYMATTR Value2 l={mc(SA_pset_L, process_var)} w={mc(SA_pset_W, process_var)}
SYMBOL pmos4 992 -528 M180
WINDOW 0 56 32 Invisible 2
WINDOW 3 56 72 Invisible 2
SYMATTR InstName M10
SYMATTR Value2 l={mc(SA_pmos_L, process_var)} w={mc(SA_pmos_W,process_var)}
SYMBOL pmos4 880 -528 R180
WINDOW 0 56 32 Invisible 2
WINDOW 3 56 72 Invisible 2
SYMATTR InstName M11
SYMATTR Value2 l={mc(SA_pmos_L, process_var)} w={mc(SA_pmos_W, process_var)}
SYMBOL voltage -240 -1168 R0
WINDOW 123 0 0 Left 2
WINDOW 39 -71 197 Left 2
WINDOW 3 -71 169 Left 2
SYMATTR SpiceLine Rser=100 Cpar=1fF
SYMATTR Value PULSE(0 {core_voltage -3n} {20n + nsense_act} 0.5n 0.5n 75n)
SYMATTR InstName V_SN
SYMBOL voltage -1584 -1152 R0
WINDOW 0 -72 21 Left 2
WINDOW 3 -99 147 Left 2
WINDOW 123 0 0 Left 2
WINDOW 39 -72 49 Left 2
SYMATTR InstName V_RA3
SYMATTR Value PULSE(0 {mc(wordline_voltage*wl0_act, 0.00)} 20n 0.5n 0.5n 75n)
SYMATTR SpiceLine Rser={mc(wordline_R*WL_res_factor, process_var)} Cpar={mc(wordline_C*WL_cap_factor, process_var)}
SYMBOL voltage -800 -640 R0
WINDOW 123 0 0 Left 2
WINDOW 39 -71 197 Left 2
WINDOW 3 -71 169 Left 2
SYMATTR Value {core_voltage}
SYMATTR InstName VDD_source
SYMBOL voltage -512 -640 R0
WINDOW 123 0 0 Left 2
WINDOW 39 -71 197 Left 2
WINDOW 3 -71 169 Left 2
SYMATTR Value {core_voltage/2}
SYMATTR InstName V_HALFVDD
SYMBOL voltage -208 -640 R0
WINDOW 123 0 0 Left 2
WINDOW 39 -71 197 Left 2
WINDOW 3 -71 169 Left 2
SYMATTR Value {plate_voltage}
SYMATTR InstName V_PV
SYMBOL nmos4 1968 -480 R0
WINDOW 0 104 24 Invisible 2
WINDOW 3 179 41 Invisible 2
SYMATTR InstName M12
SYMATTR Value2 l={mc(SA_nset_L, process_var)} w={mc(SA_nset_W, process_var)}
SYMBOL nmos4 2288 -608 R0
WINDOW 0 104 24 Invisible 2
WINDOW 3 179 41 Invisible 2
SYMATTR InstName M13
SYMATTR Value2 l={mc(SA_nmos_L,process_var)} w={mc(SA_nmos_W, process_var)}
SYMBOL nmos4 2176 -608 M0
WINDOW 0 104 24 Invisible 2
WINDOW 3 179 41 Invisible 2
SYMATTR InstName M14
SYMATTR Value2 l={mc(SA_nmos_L,process_var)} w={mc(SA_nmos_W,process_var)}
SYMBOL nmos4 2304 -800 M270
WINDOW 0 104 24 Invisible 2
WINDOW 3 179 41 Invisible 2
SYMATTR InstName M15
SYMATTR Value2 l={mc(SA_eq_L,process_var)} w={mc(SA_eq_W, process_var)}
SYMBOL nmos4 2096 -784 M90
WINDOW 0 104 24 Invisible 2
WINDOW 3 179 41 Invisible 2
SYMATTR InstName M16
SYMATTR Value2 l={mc(SA_eq_L,process_var)} w={mc(SA_eq_W,process_var)}
SYMBOL nmos4 2272 -784 M90
WINDOW 0 104 24 Invisible 2
WINDOW 3 179 41 Invisible 2
SYMATTR InstName M17
SYMATTR Value2 l={mc(SA_eq_L,process_var)} w={mc(SA_eq_W,process_var)}
SYMBOL pmos4 1936 -1088 M180
WINDOW 0 56 32 Invisible 2
WINDOW 3 56 72 Invisible 2
SYMATTR InstName M18
SYMATTR Value2 l={mc(SA_pset_L, process_var)} w={mc(SA_pset_W, process_var)}
SYMBOL pmos4 2288 -960 M180
WINDOW 0 56 32 Invisible 2
WINDOW 3 56 72 Invisible 2
SYMATTR InstName M19
SYMATTR Value2 l={mc(SA_pmos_L, process_var)} w={mc(SA_pmos_W,process_var)}
SYMBOL pmos4 2176 -960 R180
WINDOW 0 56 32 Invisible 2
WINDOW 3 56 72 Invisible 2
SYMATTR InstName M20
SYMATTR Value2 l={mc(SA_pmos_L, process_var)} w={mc(SA_pmos_W, process_var)}
SYMBOL voltage 96 -640 R0
WINDOW 123 0 0 Left 2
WINDOW 39 -71 197 Left 2
WINDOW 3 -71 169 Left 2
SYMATTR Value {2.5V}
SYMATTR InstName V_ISO
SYMBOL bitline 768 -848 R90
SYMATTR InstName X1
SYMATTR SpiceLine R={mc(40,0.05)} C={mc(bitline_cap / 512, 0.05)}
SYMBOL bitline 1312 -256 R90
SYMATTR InstName X2
SYMATTR SpiceLine R={mc(40,0.05)} C={mc(bitline_cap / 512, 0.05)}
SYMBOL nmos4 720 -800 R0
SYMATTR InstName M49
SYMATTR Value2 l={mc(SA_nmos_L * ISO_L_factor, 0.05)} w={mc(SA_nmos_W / ISO_W_factor, 0.05)}
SYMBOL nmos4 -4480 -240 R0
SYMATTR InstName M47
SYMATTR Value2 l={mc(SA_nWR_L, process_var)} w={mc(SA_nWR_W, process_var)}
SYMBOL pmos4 -4480 -336 R0
SYMATTR InstName M54
SYMATTR Value2 l={mc(SA_pWR_L, process_var)} w={mc(SA_pWR_W, process_var)}
SYMBOL voltage -4672 -688 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V_WRVDD
SYMATTR Value {core_voltage}
SYMBOL voltage -4432 -688 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V_WR0
SYMATTR Value {core_voltage}
SYMBOL voltage -4160 -688 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V_WR1
SYMATTR Value 0
SYMBOL nmos4 -4128 -288 R90
WINDOW 0 56 32 Invisible 2
WINDOW 3 0 101 VRight 2
SYMATTR InstName M55
SYMATTR Value2 l={mc(SA_CSEL_L, process_var)} w={mc(SA_CSEL_W, process_var)}
SYMBOL nmos4 -4480 112 R0
SYMATTR InstName M56
SYMATTR Value2 l={mc(SA_nWR_L, process_var)} w={mc(SA_nWR_W, process_var)}
SYMBOL pmos4 -4480 16 R0
SYMATTR InstName M57
SYMATTR Value2 l={mc(SA_pWR_L, process_var)} w={mc(SA_pWR_W, process_var)}
SYMBOL nmos4 -4128 64 R90
WINDOW 0 56 32 Invisible 2
WINDOW 3 0 101 VRight 2
SYMATTR InstName M58
SYMATTR Value2 l={mc(SA_CSEL_L, process_var)} w={mc(SA_CSEL_W, process_var)}
SYMBOL voltage -3824 -656 R0
WINDOW 123 0 0 Left 2
WINDOW 39 -71 197 Left 2
WINDOW 3 -226 48 Left 2
SYMATTR Value PULSE(0 2.5 75n 0.5n 0.5n 15n)
SYMATTR InstName V_CSEL
SYMBOL nmos4 1264 -576 R90
SYMATTR InstName M21
SYMATTR Value2 l={mc(SA_nmos_L * ISO_L_factor, 0.05)} w={mc(SA_nmos_W / ISO_W_factor, 0.05)}
SYMBOL nmos4 2112 -1152 R180
SYMATTR InstName M22
SYMATTR Value2 l={mc(SA_nmos_L * ISO_L_factor, 0.05)} w={mc(SA_nmos_W / ISO_W_factor, 0.05)}
SYMBOL nmos4 2576 -1008 R90
SYMATTR InstName M23
SYMATTR Value2 l={mc(SA_nmos_L * ISO_L_factor, 0.05)} w={mc(SA_nmos_W / ISO_W_factor, 0.05)}
TEXT -376 136 Left 2 !.include ./transistor_model.pm
TEXT 800 -952 VLeft 2 ;Bitline to array0
TEXT 1296 96 VLeft 2 ;Bitline to array1
TEXT -448 104 Left 2 !.tran 120ns uic
TEXT -392 216 Left 2 ;Plot Eq, ra0, ra1, bitline0+1.25, bitline1+1.25, sense_n+2.5, and sense_p+3.75
TEXT 48 -1296 Left 2 ;Word line in array 0
TEXT 832 256 Left 2 ;Word line in array 1
TEXT -368 168 Left 2 ;.step param X 0.0v 1.5v 0.1v
TEXT -832 80 Left 2 !.param process_var=0.05
TEXT -832 40 Left 2 !.step param run 1 10000 1
TEXT -832 456 Left 2 !.param cell_cap={24fF * cell_cap_factor}
TEXT -832 496 Left 2 !.param bitline_cap={70f}
TEXT -920 168 Left 2 ;DRAM Circuit Parameters
TEXT -832 536 Left 2 !.param access_tran_L={85nm*access_tran_L_factor}
TEXT -832 576 Left 2 !.param access_tran_W={55nm*access_tran_W_factor}
TEXT -824 1264 Left 2 !.param bitline_R=R_per_cell*cells_per_BL
TEXT -552 1200 Left 2 ;ohm
TEXT -824 1200 Left 2 !.param R_per_cell=60
TEXT -824 1168 Left 2 ;Bitline Resistance
TEXT -824 760 Left 2 !.param SA_nmos_L={160nm*SA_nmos_L_factor}
TEXT -824 784 Left 2 !.param SA_nmos_W={1900nm*SA_nmos_W_factor}
TEXT -824 816 Left 2 !.param SA_pmos_L={160nm*SA_pmos_L_factor}
TEXT -824 840 Left 2 !.param SA_pmos_W={1330nm*SA_pmos_W_factor}
TEXT -824 880 Left 2 !.param SA_eq_L=96.3n
TEXT -824 904 Left 2 !.param SA_eq_W=541n
TEXT -824 944 Left 2 !.param SA_nset_L={255nm*SA_nset_L_factor}
TEXT -824 968 Left 2 !.param SA_nset_W={220nm*SA_nset_W_factor}
TEXT -824 1008 Left 2 !.param SA_pset_L={255nm*SA_pset_L_factor}
TEXT -824 1032 Left 2 !.param SA_pset_W={220nm*SA_pset_W_factor}
TEXT -824 1232 Left 2 !.param cells_per_BL=512
TEXT -832 424 Left 2 ;Cell Array
TEXT -824 728 Left 2 ;Sense Amp.
TEXT -832 224 Left 2 ;Voltage
TEXT -832 248 Left 2 !.param core_voltage=1.2V
TEXT -832 288 Left 2 !.param wordline_voltage=2.5V
TEXT -832 320 Left 2 !.param pv_modifier=0.5
TEXT -832 360 Left 2 !.param plate_voltage={core_voltage*pv_modifier}
TEXT -2080 152 Left 2 !.param psense_act=1ns
TEXT -2080 176 Left 2 !.param nsense_act=1ns
TEXT -816 1520 Left 2 ;Wordline Activation
TEXT -816 1552 Left 2 !.param wl0_act=1.0
TEXT -824 1640 Left 2 !.param tech_node=7
TEXT -576 1640 Left 2 ;1 -> 45 nm, 4 -> 32nm, 7 -> 22 nm, 9-> 16nm
TEXT -824 1608 Left 2 ;Technology Scaling
TEXT -824 1672 Left 2 !.param cell_cap_factor={0.95**tech_node}
TEXT -824 1704 Left 2 !.param bl_cap_factor={0.95**tech_node}
TEXT -824 1736 Left 2 !.param access_tran_L_factor={0.95**tech_node}
TEXT -824 1768 Left 2 !.param access_tran_W_factor={0.85**tech_node}
TEXT -824 1800 Left 2 !.param SA_nmos_L_factor={0.93**tech_node}
TEXT -824 1824 Left 2 !.param SA_nmos_W_factor={0.93**tech_node}
TEXT -824 1856 Left 2 !.param SA_pmos_L_factor={0.93**tech_node}
TEXT -824 1880 Left 2 !.param SA_pmos_W_factor={0.93**tech_node}
TEXT -824 1912 Left 2 !.param SA_nset_L_factor={0.93**tech_node}
TEXT -824 1936 Left 2 !.param SA_nset_W_factor={0.93**tech_node}
TEXT -824 1968 Left 2 !.param SA_pset_L_factor={0.93**tech_node}
TEXT -824 1992 Left 2 !.param SA_pset_W_factor={0.95**tech_node}
TEXT -824 1448 Left 2 !.param wordline_C={WL_C_per_cell*cells_per_LWL}
TEXT -824 1384 Left 2 !.param WL_C_per_cell=0.07fF
TEXT -824 1328 Left 2 ;Wordline Parasitics
TEXT -824 1352 Left 2 !.param cells_per_LWL=512
TEXT -824 1416 Left 2 !.param WL_R_per_cell=40ohm
TEXT -824 1480 Left 2 !.param wordline_R={WL_R_per_cell*cells_per_LWL}
TEXT -824 2024 Left 2 !.param WL_cap_factor={0.95**tech_node}
TEXT -824 2056 Left 2 !.param WL_res_factor={0.95**tech_node}
TEXT 248 -360 Left 2 ;.OPTIONS maxord=1\n.OPTIONS itl1=1000\n.OPTIONS itl2=1000\n.OPTIONS itl4=1000
TEXT 256 -168 Left 2 !.TEMP 85
TEXT -5352 -352 Left 2 !.param SA_nWR_L = {70n*SA_nWR_L_factor}\n.param SA_nWR_W = {840n*SA_nWR_W_factor}\n.param SA_pWR_L = {70n*SA_pWR_L_factor}\n.param SA_pWR_W = {840n*SA_pWR_W_factor}\n.param SA_CSEL_L = {70n*SA_CSEL_L_factor}\n.param SA_CSEL_W = {840n*SA_CSEL_L_factor}\n.param SA_nWR_L_factor={0.93**tech_node}\n.param SA_nWR_W_factor={0.93**tech_node}\n.param SA_pWR_L_factor={0.93**tech_node}\n.param SA_pWR_W_factor={0.93**tech_node}\n.param SA_CSEL_L_factor={0.93**tech_node}\n.param SA_CSEL_W_factor={0.93**tech_node}
TEXT 8 512 Left 2 !.param ISO_L_factor=0.3\n.param ISO_W_factor=10
TEXT -2088 72 Left 2 ;Vars
TEXT -2080 128 Left 2 !.param cell_init_voltage=0.66