Merge branch 'main' of gitlab.com:sshah389/mixed-signal_reram-mpw-5 into main
diff --git a/mag/sky130_sc_ams__comparator_1.mag b/mag/sky130_sc_ams__comparator_1.mag
new file mode 100644
index 0000000..2ecfe80
--- /dev/null
+++ b/mag/sky130_sc_ams__comparator_1.mag
@@ -0,0 +1,1499 @@
+magic
+tech sky130B
+magscale 1 2
+timestamp 1647118226
+<< nwell >>
+rect -38 414 4914 582
+rect -38 261 130 414
+rect 2171 261 3282 414
+rect 2171 157 2465 261
+rect 3980 264 4914 414
+rect 3980 261 4372 264
+<< pwell >>
+rect 172 222 2139 381
+rect 0 48 2139 222
+rect 2915 213 2966 250
+rect 3314 213 3948 381
+rect 4426 213 4700 222
+rect 2483 48 4700 213
+rect 0 -48 4873 48
+<< nmos >>
+rect 337 47 367 345
+rect 423 47 453 345
+rect 799 146 829 346
+rect 885 146 915 346
+rect 971 146 1001 346
+rect 1057 146 1087 346
+rect 1143 146 1173 346
+rect 1229 146 1259 346
+rect 1315 146 1345 346
+rect 1401 146 1431 346
+rect 1594 47 1794 345
+rect 1850 47 2050 345
+rect 2586 48 2616 188
+rect 2776 48 2806 188
+rect 2966 48 2996 188
+rect 3156 48 3186 188
+rect 3403 47 3603 345
+rect 3659 47 3859 345
+rect 4069 47 4099 177
+rect 4259 47 4289 177
+rect 4505 67 4535 196
+rect 4591 67 4621 196
+<< pmos >>
+rect 2260 357 2290 447
+rect 2346 357 2376 447
+rect 2586 351 2616 477
+rect 2776 351 2806 477
+rect 2966 351 2996 477
+rect 3156 351 3186 477
+rect 2260 198 2290 288
+rect 2346 198 2376 288
+rect 4069 297 4099 497
+rect 4259 297 4289 497
+rect 4505 357 4535 497
+rect 4591 357 4621 497
+<< ndiff >>
+rect 281 315 337 345
+rect 281 281 292 315
+rect 326 281 337 315
+rect 281 247 337 281
+rect 281 213 292 247
+rect 326 213 337 247
+rect 281 179 337 213
+rect 281 145 292 179
+rect 326 145 337 179
+rect 281 111 337 145
+rect 281 77 292 111
+rect 326 77 337 111
+rect 281 47 337 77
+rect 367 315 423 345
+rect 367 281 378 315
+rect 412 281 423 315
+rect 367 247 423 281
+rect 367 213 378 247
+rect 412 213 423 247
+rect 367 179 423 213
+rect 367 145 378 179
+rect 412 145 423 179
+rect 367 111 423 145
+rect 367 77 378 111
+rect 412 77 423 111
+rect 367 47 423 77
+rect 453 315 509 345
+rect 453 281 464 315
+rect 498 281 509 315
+rect 743 331 799 346
+rect 743 297 754 331
+rect 788 297 799 331
+rect 453 247 509 281
+rect 453 213 464 247
+rect 498 213 509 247
+rect 453 179 509 213
+rect 743 263 799 297
+rect 743 229 754 263
+rect 788 229 799 263
+rect 453 145 464 179
+rect 498 145 509 179
+rect 743 195 799 229
+rect 743 161 754 195
+rect 788 161 799 195
+rect 743 146 799 161
+rect 829 331 885 346
+rect 829 297 840 331
+rect 874 297 885 331
+rect 829 263 885 297
+rect 829 229 840 263
+rect 874 229 885 263
+rect 829 195 885 229
+rect 829 161 840 195
+rect 874 161 885 195
+rect 829 146 885 161
+rect 915 331 971 346
+rect 915 297 926 331
+rect 960 297 971 331
+rect 915 263 971 297
+rect 915 229 926 263
+rect 960 229 971 263
+rect 915 195 971 229
+rect 915 161 926 195
+rect 960 161 971 195
+rect 915 146 971 161
+rect 1001 331 1057 346
+rect 1001 297 1012 331
+rect 1046 297 1057 331
+rect 1001 263 1057 297
+rect 1001 229 1012 263
+rect 1046 229 1057 263
+rect 1001 195 1057 229
+rect 1001 161 1012 195
+rect 1046 161 1057 195
+rect 1001 146 1057 161
+rect 1087 331 1143 346
+rect 1087 297 1098 331
+rect 1132 297 1143 331
+rect 1087 263 1143 297
+rect 1087 229 1098 263
+rect 1132 229 1143 263
+rect 1087 195 1143 229
+rect 1087 161 1098 195
+rect 1132 161 1143 195
+rect 1087 146 1143 161
+rect 1173 331 1229 346
+rect 1173 297 1184 331
+rect 1218 297 1229 331
+rect 1173 263 1229 297
+rect 1173 229 1184 263
+rect 1218 229 1229 263
+rect 1173 195 1229 229
+rect 1173 161 1184 195
+rect 1218 161 1229 195
+rect 1173 146 1229 161
+rect 1259 331 1315 346
+rect 1259 297 1270 331
+rect 1304 297 1315 331
+rect 1259 263 1315 297
+rect 1259 229 1270 263
+rect 1304 229 1315 263
+rect 1259 195 1315 229
+rect 1259 161 1270 195
+rect 1304 161 1315 195
+rect 1259 146 1315 161
+rect 1345 331 1401 346
+rect 1345 297 1356 331
+rect 1390 297 1401 331
+rect 1345 263 1401 297
+rect 1345 229 1356 263
+rect 1390 229 1401 263
+rect 1345 195 1401 229
+rect 1345 161 1356 195
+rect 1390 161 1401 195
+rect 1345 146 1401 161
+rect 1431 331 1487 346
+rect 1431 297 1442 331
+rect 1476 297 1487 331
+rect 1431 263 1487 297
+rect 1431 229 1442 263
+rect 1476 229 1487 263
+rect 1431 195 1487 229
+rect 1431 161 1442 195
+rect 1476 161 1487 195
+rect 1431 146 1487 161
+rect 453 111 509 145
+rect 453 77 464 111
+rect 498 77 509 111
+rect 453 47 509 77
+rect 1541 100 1594 345
+rect 1541 66 1549 100
+rect 1583 66 1594 100
+rect 1541 47 1594 66
+rect 1794 100 1850 345
+rect 1794 66 1805 100
+rect 1839 66 1850 100
+rect 1794 47 1850 66
+rect 2050 100 2103 345
+rect 2533 169 2586 188
+rect 2050 66 2061 100
+rect 2095 66 2103 100
+rect 2050 47 2103 66
+rect 2533 135 2541 169
+rect 2575 135 2586 169
+rect 2533 101 2586 135
+rect 2533 67 2541 101
+rect 2575 67 2586 101
+rect 2533 48 2586 67
+rect 2616 169 2669 188
+rect 2616 135 2627 169
+rect 2661 135 2669 169
+rect 2616 101 2669 135
+rect 2616 67 2627 101
+rect 2661 67 2669 101
+rect 2616 48 2669 67
+rect 2723 169 2776 188
+rect 2723 135 2731 169
+rect 2765 135 2776 169
+rect 2723 101 2776 135
+rect 2723 67 2731 101
+rect 2765 67 2776 101
+rect 2723 48 2776 67
+rect 2806 169 2859 188
+rect 2806 135 2817 169
+rect 2851 135 2859 169
+rect 2806 101 2859 135
+rect 2806 67 2817 101
+rect 2851 67 2859 101
+rect 2806 48 2859 67
+rect 2913 169 2966 188
+rect 2913 135 2921 169
+rect 2955 135 2966 169
+rect 2913 101 2966 135
+rect 2913 67 2921 101
+rect 2955 67 2966 101
+rect 2913 48 2966 67
+rect 2996 169 3049 188
+rect 2996 135 3007 169
+rect 3041 135 3049 169
+rect 2996 101 3049 135
+rect 2996 67 3007 101
+rect 3041 67 3049 101
+rect 2996 48 3049 67
+rect 3103 169 3156 188
+rect 3103 135 3111 169
+rect 3145 135 3156 169
+rect 3103 101 3156 135
+rect 3103 67 3111 101
+rect 3145 67 3156 101
+rect 3103 48 3156 67
+rect 3186 169 3239 188
+rect 3186 135 3197 169
+rect 3231 135 3239 169
+rect 3186 101 3239 135
+rect 3186 67 3197 101
+rect 3231 67 3239 101
+rect 3186 48 3239 67
+rect 3350 100 3403 345
+rect 3350 66 3358 100
+rect 3392 66 3403 100
+rect 3350 47 3403 66
+rect 3603 100 3659 345
+rect 3603 66 3614 100
+rect 3648 66 3659 100
+rect 3603 47 3659 66
+rect 3859 100 3912 345
+rect 4452 184 4505 196
+rect 3859 66 3870 100
+rect 3904 66 3912 100
+rect 3859 47 3912 66
+rect 4016 161 4069 177
+rect 4016 127 4024 161
+rect 4058 127 4069 161
+rect 4016 93 4069 127
+rect 4016 59 4024 93
+rect 4058 59 4069 93
+rect 4016 47 4069 59
+rect 4099 161 4152 177
+rect 4099 127 4110 161
+rect 4144 127 4152 161
+rect 4099 93 4152 127
+rect 4099 59 4110 93
+rect 4144 59 4152 93
+rect 4099 47 4152 59
+rect 4206 161 4259 177
+rect 4206 127 4214 161
+rect 4248 127 4259 161
+rect 4206 93 4259 127
+rect 4206 59 4214 93
+rect 4248 59 4259 93
+rect 4206 47 4259 59
+rect 4289 161 4342 177
+rect 4289 127 4300 161
+rect 4334 127 4342 161
+rect 4289 93 4342 127
+rect 4452 149 4460 184
+rect 4494 149 4505 184
+rect 4289 59 4300 93
+rect 4334 59 4342 93
+rect 4289 47 4342 59
+rect 4452 114 4505 149
+rect 4452 80 4460 114
+rect 4494 80 4505 114
+rect 4452 67 4505 80
+rect 4535 184 4591 196
+rect 4535 149 4546 184
+rect 4580 149 4591 184
+rect 4535 114 4591 149
+rect 4535 80 4546 114
+rect 4580 80 4591 114
+rect 4535 67 4591 80
+rect 4621 184 4674 196
+rect 4621 149 4632 184
+rect 4666 149 4674 184
+rect 4621 114 4674 149
+rect 4621 80 4632 114
+rect 4666 80 4674 114
+rect 4621 67 4674 80
+<< pdiff >>
+rect 4016 485 4069 497
+rect 2533 465 2586 477
+rect 2207 419 2260 447
+rect 2207 385 2215 419
+rect 2249 385 2260 419
+rect 2207 357 2260 385
+rect 2290 419 2346 447
+rect 2290 385 2301 419
+rect 2335 385 2346 419
+rect 2290 357 2346 385
+rect 2376 419 2429 447
+rect 2376 385 2387 419
+rect 2421 385 2429 419
+rect 2376 357 2429 385
+rect 2533 431 2541 465
+rect 2575 431 2586 465
+rect 2533 397 2586 431
+rect 2533 363 2541 397
+rect 2575 363 2586 397
+rect 2533 351 2586 363
+rect 2616 465 2669 477
+rect 2616 431 2627 465
+rect 2661 431 2669 465
+rect 2616 397 2669 431
+rect 2616 363 2627 397
+rect 2661 363 2669 397
+rect 2616 351 2669 363
+rect 2723 465 2776 477
+rect 2723 431 2731 465
+rect 2765 431 2776 465
+rect 2723 397 2776 431
+rect 2723 363 2731 397
+rect 2765 363 2776 397
+rect 2723 351 2776 363
+rect 2806 465 2859 477
+rect 2806 431 2817 465
+rect 2851 431 2859 465
+rect 2806 397 2859 431
+rect 2806 363 2817 397
+rect 2851 363 2859 397
+rect 2806 351 2859 363
+rect 2913 465 2966 477
+rect 2913 431 2921 465
+rect 2955 431 2966 465
+rect 2913 397 2966 431
+rect 2913 363 2921 397
+rect 2955 363 2966 397
+rect 2913 351 2966 363
+rect 2996 465 3049 477
+rect 2996 431 3007 465
+rect 3041 431 3049 465
+rect 2996 397 3049 431
+rect 2996 363 3007 397
+rect 3041 363 3049 397
+rect 2996 351 3049 363
+rect 3103 465 3156 477
+rect 3103 431 3111 465
+rect 3145 431 3156 465
+rect 3103 397 3156 431
+rect 3103 363 3111 397
+rect 3145 363 3156 397
+rect 3103 351 3156 363
+rect 3186 465 3239 477
+rect 3186 431 3197 465
+rect 3231 431 3239 465
+rect 3186 397 3239 431
+rect 4016 451 4024 485
+rect 4058 451 4069 485
+rect 3186 363 3197 397
+rect 3231 363 3239 397
+rect 4016 417 4069 451
+rect 4016 383 4024 417
+rect 4058 383 4069 417
+rect 3186 351 3239 363
+rect 2207 260 2260 288
+rect 2207 226 2215 260
+rect 2249 226 2260 260
+rect 2207 198 2260 226
+rect 2290 260 2346 288
+rect 2290 226 2301 260
+rect 2335 226 2346 260
+rect 2290 198 2346 226
+rect 2376 260 2429 288
+rect 2376 226 2387 260
+rect 2421 226 2429 260
+rect 2376 198 2429 226
+rect 4016 349 4069 383
+rect 4016 315 4024 349
+rect 4058 315 4069 349
+rect 4016 297 4069 315
+rect 4099 485 4152 497
+rect 4099 451 4110 485
+rect 4144 451 4152 485
+rect 4099 417 4152 451
+rect 4099 383 4110 417
+rect 4144 383 4152 417
+rect 4099 349 4152 383
+rect 4099 315 4110 349
+rect 4144 315 4152 349
+rect 4099 297 4152 315
+rect 4206 485 4259 497
+rect 4206 451 4214 485
+rect 4248 451 4259 485
+rect 4206 417 4259 451
+rect 4206 383 4214 417
+rect 4248 383 4259 417
+rect 4206 349 4259 383
+rect 4206 315 4214 349
+rect 4248 315 4259 349
+rect 4206 297 4259 315
+rect 4289 485 4342 497
+rect 4289 451 4300 485
+rect 4334 451 4342 485
+rect 4289 417 4342 451
+rect 4289 383 4300 417
+rect 4334 383 4342 417
+rect 4289 349 4342 383
+rect 4452 474 4505 497
+rect 4452 439 4460 474
+rect 4494 439 4505 474
+rect 4452 404 4505 439
+rect 4452 369 4460 404
+rect 4494 369 4505 404
+rect 4452 357 4505 369
+rect 4535 474 4591 497
+rect 4535 439 4546 474
+rect 4580 439 4591 474
+rect 4535 404 4591 439
+rect 4535 369 4546 404
+rect 4580 369 4591 404
+rect 4535 357 4591 369
+rect 4621 474 4674 497
+rect 4621 439 4632 474
+rect 4666 439 4674 474
+rect 4621 404 4674 439
+rect 4621 369 4632 404
+rect 4666 369 4674 404
+rect 4621 357 4674 369
+rect 4289 315 4300 349
+rect 4334 315 4342 349
+rect 4289 297 4342 315
+<< ndiffc >>
+rect 292 281 326 315
+rect 292 213 326 247
+rect 292 145 326 179
+rect 292 77 326 111
+rect 378 281 412 315
+rect 378 213 412 247
+rect 378 145 412 179
+rect 378 77 412 111
+rect 464 281 498 315
+rect 754 297 788 331
+rect 464 213 498 247
+rect 754 229 788 263
+rect 464 145 498 179
+rect 754 161 788 195
+rect 840 297 874 331
+rect 840 229 874 263
+rect 840 161 874 195
+rect 926 297 960 331
+rect 926 229 960 263
+rect 926 161 960 195
+rect 1012 297 1046 331
+rect 1012 229 1046 263
+rect 1012 161 1046 195
+rect 1098 297 1132 331
+rect 1098 229 1132 263
+rect 1098 161 1132 195
+rect 1184 297 1218 331
+rect 1184 229 1218 263
+rect 1184 161 1218 195
+rect 1270 297 1304 331
+rect 1270 229 1304 263
+rect 1270 161 1304 195
+rect 1356 297 1390 331
+rect 1356 229 1390 263
+rect 1356 161 1390 195
+rect 1442 297 1476 331
+rect 1442 229 1476 263
+rect 1442 161 1476 195
+rect 464 77 498 111
+rect 1549 66 1583 100
+rect 1805 66 1839 100
+rect 2061 66 2095 100
+rect 2541 135 2575 169
+rect 2541 67 2575 101
+rect 2627 135 2661 169
+rect 2627 67 2661 101
+rect 2731 135 2765 169
+rect 2731 67 2765 101
+rect 2817 135 2851 169
+rect 2817 67 2851 101
+rect 2921 135 2955 169
+rect 2921 67 2955 101
+rect 3007 135 3041 169
+rect 3007 67 3041 101
+rect 3111 135 3145 169
+rect 3111 67 3145 101
+rect 3197 135 3231 169
+rect 3197 67 3231 101
+rect 3358 66 3392 100
+rect 3614 66 3648 100
+rect 3870 66 3904 100
+rect 4024 127 4058 161
+rect 4024 59 4058 93
+rect 4110 127 4144 161
+rect 4110 59 4144 93
+rect 4214 127 4248 161
+rect 4214 59 4248 93
+rect 4300 127 4334 161
+rect 4460 149 4494 184
+rect 4300 59 4334 93
+rect 4460 80 4494 114
+rect 4546 149 4580 184
+rect 4546 80 4580 114
+rect 4632 149 4666 184
+rect 4632 80 4666 114
+<< pdiffc >>
+rect 2215 385 2249 419
+rect 2301 385 2335 419
+rect 2387 385 2421 419
+rect 2541 431 2575 465
+rect 2541 363 2575 397
+rect 2627 431 2661 465
+rect 2627 363 2661 397
+rect 2731 431 2765 465
+rect 2731 363 2765 397
+rect 2817 431 2851 465
+rect 2817 363 2851 397
+rect 2921 431 2955 465
+rect 2921 363 2955 397
+rect 3007 431 3041 465
+rect 3007 363 3041 397
+rect 3111 431 3145 465
+rect 3111 363 3145 397
+rect 3197 431 3231 465
+rect 4024 451 4058 485
+rect 3197 363 3231 397
+rect 4024 383 4058 417
+rect 2215 226 2249 260
+rect 2301 226 2335 260
+rect 2387 226 2421 260
+rect 4024 315 4058 349
+rect 4110 451 4144 485
+rect 4110 383 4144 417
+rect 4110 315 4144 349
+rect 4214 451 4248 485
+rect 4214 383 4248 417
+rect 4214 315 4248 349
+rect 4300 451 4334 485
+rect 4300 383 4334 417
+rect 4460 439 4494 474
+rect 4460 369 4494 404
+rect 4546 439 4580 474
+rect 4546 369 4580 404
+rect 4632 439 4666 474
+rect 4632 369 4666 404
+rect 4300 315 4334 349
+<< poly >>
+rect 380 486 2376 516
+rect 118 392 172 408
+rect 118 358 128 392
+rect 162 391 172 392
+rect 162 390 330 391
+rect 380 390 410 486
+rect 2260 447 2290 486
+rect 2346 447 2376 486
+rect 2586 477 2616 503
+rect 2776 477 2806 503
+rect 2966 477 2996 503
+rect 3156 477 3186 503
+rect 4069 497 4099 523
+rect 4259 497 4289 523
+rect 4505 497 4535 523
+rect 4591 497 4621 523
+rect 654 414 1345 444
+rect 162 360 453 390
+rect 162 358 172 360
+rect 118 342 172 358
+rect 337 345 367 360
+rect 423 345 453 360
+rect 654 347 684 414
+rect 642 331 696 347
+rect 799 346 829 372
+rect 885 346 915 414
+rect 971 346 1001 414
+rect 1057 346 1087 372
+rect 1143 346 1173 372
+rect 1229 346 1259 414
+rect 1315 346 1345 414
+rect 1661 417 1727 427
+rect 1661 383 1677 417
+rect 1711 383 1727 417
+rect 1661 372 1727 383
+rect 1917 417 1983 427
+rect 1917 383 1933 417
+rect 1967 383 1983 417
+rect 1917 372 1983 383
+rect 1401 346 1431 372
+rect 642 297 652 331
+rect 686 297 696 331
+rect 642 281 696 297
+rect 642 195 696 211
+rect 642 161 652 195
+rect 686 161 696 195
+rect 642 145 696 161
+rect 1594 345 1794 372
+rect 1850 345 2050 372
+rect 654 78 684 145
+rect 799 78 829 146
+rect 885 120 915 146
+rect 971 120 1001 146
+rect 1057 78 1087 146
+rect 1143 78 1173 146
+rect 1229 120 1259 146
+rect 1315 120 1345 146
+rect 1401 78 1431 146
+rect 654 48 1431 78
+rect 2260 288 2290 357
+rect 2346 288 2376 357
+rect 3470 417 3536 427
+rect 3470 383 3486 417
+rect 3520 383 3536 417
+rect 3470 372 3536 383
+rect 3726 417 3792 427
+rect 3726 383 3742 417
+rect 3776 383 3792 417
+rect 3726 372 3792 383
+rect 2586 277 2616 351
+rect 2776 300 2806 351
+rect 2853 305 2919 315
+rect 2853 300 2869 305
+rect 2574 260 2628 277
+rect 2574 226 2584 260
+rect 2618 226 2628 260
+rect 2574 208 2628 226
+rect 2776 271 2869 300
+rect 2903 300 2919 305
+rect 2966 300 2996 351
+rect 2903 271 2996 300
+rect 3156 278 3186 351
+rect 3403 345 3603 372
+rect 3659 345 3859 372
+rect 2776 270 2996 271
+rect 2260 167 2290 198
+rect 2346 167 2376 198
+rect 2586 188 2616 208
+rect 2776 188 2806 270
+rect 2853 261 2919 270
+rect 2966 188 2996 270
+rect 3144 260 3198 278
+rect 3144 226 3154 260
+rect 3188 226 3198 260
+rect 3144 209 3198 226
+rect 3156 188 3186 209
+rect 337 21 367 47
+rect 423 21 453 47
+rect 1594 21 1794 47
+rect 1850 21 2050 47
+rect 2586 22 2616 48
+rect 2776 22 2806 48
+rect 2966 22 2996 48
+rect 3156 22 3186 48
+rect 4505 319 4535 357
+rect 4444 309 4535 319
+rect 4069 260 4099 297
+rect 4259 260 4289 297
+rect 4444 274 4460 309
+rect 4494 274 4535 309
+rect 4444 264 4535 274
+rect 4591 319 4621 357
+rect 4591 309 4682 319
+rect 4591 274 4632 309
+rect 4666 274 4682 309
+rect 4591 264 4682 274
+rect 4010 250 4099 260
+rect 4010 216 4026 250
+rect 4060 216 4099 250
+rect 4010 206 4099 216
+rect 4200 250 4289 260
+rect 4200 216 4216 250
+rect 4250 216 4289 250
+rect 4200 206 4289 216
+rect 4069 177 4099 206
+rect 4259 177 4289 206
+rect 4505 196 4535 222
+rect 4591 196 4621 222
+rect 4370 109 4424 125
+rect 4370 75 4380 109
+rect 4414 75 4424 109
+rect 4370 52 4424 75
+rect 4702 119 4756 135
+rect 4702 85 4712 119
+rect 4746 85 4756 119
+rect 4505 52 4535 67
+rect 3403 21 3603 47
+rect 3659 21 3859 47
+rect 4069 21 4099 47
+rect 4259 21 4289 47
+rect 4370 22 4535 52
+rect 4591 52 4621 67
+rect 4702 52 4756 85
+rect 4591 22 4756 52
+<< polycont >>
+rect 128 358 162 392
+rect 1677 383 1711 417
+rect 1933 383 1967 417
+rect 652 297 686 331
+rect 652 161 686 195
+rect 3486 383 3520 417
+rect 3742 383 3776 417
+rect 2584 226 2618 260
+rect 2869 271 2903 305
+rect 3154 226 3188 260
+rect 4460 274 4494 309
+rect 4632 274 4666 309
+rect 4026 216 4060 250
+rect 4216 216 4250 250
+rect 4380 75 4414 109
+rect 4712 85 4746 119
+<< locali >>
+rect 0 527 29 561
+rect 63 527 121 561
+rect 155 527 213 561
+rect 247 527 305 561
+rect 339 527 397 561
+rect 431 527 489 561
+rect 523 527 581 561
+rect 615 527 673 561
+rect 707 527 765 561
+rect 799 527 857 561
+rect 891 527 949 561
+rect 983 527 1041 561
+rect 1075 527 1133 561
+rect 1167 527 1225 561
+rect 1259 527 1317 561
+rect 1351 527 1409 561
+rect 1443 527 1501 561
+rect 1535 527 1593 561
+rect 1627 527 1685 561
+rect 1719 527 1777 561
+rect 1811 527 1869 561
+rect 1903 527 1961 561
+rect 1995 527 2053 561
+rect 2087 527 2145 561
+rect 2179 527 2237 561
+rect 2271 527 2329 561
+rect 2363 527 2421 561
+rect 2455 527 2513 561
+rect 2547 527 2605 561
+rect 2639 527 2697 561
+rect 2731 527 2789 561
+rect 2823 527 2881 561
+rect 2915 527 2973 561
+rect 3007 527 3065 561
+rect 3099 527 3157 561
+rect 3191 527 3249 561
+rect 3283 527 3341 561
+rect 3375 527 3433 561
+rect 3467 527 3525 561
+rect 3559 527 3617 561
+rect 3651 527 3709 561
+rect 3743 527 3801 561
+rect 3835 527 3893 561
+rect 3927 527 3985 561
+rect 4019 527 4077 561
+rect 4111 527 4169 561
+rect 4203 527 4261 561
+rect 4295 527 4353 561
+rect 4387 527 4445 561
+rect 4479 527 4537 561
+rect 4571 527 4629 561
+rect 4663 527 4721 561
+rect 4755 527 4813 561
+rect 4847 527 4876 561
+rect 94 392 162 426
+rect 654 419 874 426
+rect 94 358 128 392
+rect 94 324 162 358
+rect 292 386 874 419
+rect 1933 417 1967 433
+rect 292 385 749 386
+rect 292 315 326 385
+rect 292 247 326 281
+rect 292 179 326 213
+rect 292 111 326 145
+rect 292 61 326 77
+rect 378 315 412 331
+rect 378 247 412 281
+rect 378 179 412 213
+rect 378 111 412 145
+rect 378 17 412 77
+rect 464 315 498 385
+rect 618 331 720 351
+rect 618 297 652 331
+rect 686 297 720 331
+rect 754 331 788 347
+rect 464 247 498 281
+rect 464 179 498 213
+rect 754 263 788 297
+rect 754 195 788 229
+rect 464 111 498 145
+rect 618 161 652 195
+rect 686 161 720 195
+rect 618 127 720 161
+rect 754 111 788 161
+rect 840 331 874 386
+rect 840 263 874 297
+rect 840 195 874 229
+rect 840 145 874 161
+rect 926 383 1677 417
+rect 926 331 960 383
+rect 926 263 960 297
+rect 926 195 960 229
+rect 926 145 960 161
+rect 1012 331 1046 347
+rect 1012 263 1046 297
+rect 1012 195 1046 229
+rect 1012 145 1046 161
+rect 1098 331 1132 347
+rect 1098 263 1132 297
+rect 1098 195 1132 229
+rect 1098 111 1132 161
+rect 1184 331 1218 347
+rect 1184 263 1218 297
+rect 1184 195 1218 229
+rect 1184 145 1218 161
+rect 1270 331 1304 383
+rect 1270 263 1304 297
+rect 1270 195 1304 229
+rect 1270 145 1304 161
+rect 1356 331 1390 347
+rect 1356 263 1390 297
+rect 1356 195 1390 229
+rect 1356 145 1390 161
+rect 1442 331 1476 347
+rect 1442 263 1476 297
+rect 1933 260 1967 383
+rect 2215 419 2249 435
+rect 2215 369 2249 385
+rect 2301 419 2335 527
+rect 2541 465 2575 527
+rect 2215 260 2249 276
+rect 1476 229 2215 260
+rect 1442 226 2215 229
+rect 1442 195 1476 226
+rect 1442 111 1476 161
+rect 2215 119 2249 226
+rect 2301 260 2335 385
+rect 2387 419 2421 435
+rect 2541 397 2575 431
+rect 2627 465 2661 481
+rect 2627 397 2661 431
+rect 2387 328 2421 385
+rect 2525 363 2541 397
+rect 2575 363 2591 397
+rect 2627 328 2661 363
+rect 2731 465 2765 527
+rect 2731 397 2765 431
+rect 2817 465 2851 481
+rect 2817 397 2851 431
+rect 2921 465 2955 481
+rect 2921 397 2955 431
+rect 3007 465 3041 527
+rect 3007 397 3041 431
+rect 2731 347 2765 363
+rect 2801 363 2817 396
+rect 2851 363 2921 397
+rect 2955 363 2971 397
+rect 2387 294 2627 328
+rect 2801 260 2835 363
+rect 2371 226 2387 260
+rect 2421 226 2584 260
+rect 2618 226 2835 260
+rect 2869 305 2903 321
+rect 2869 255 2903 271
+rect 2937 260 2971 363
+rect 3007 347 3041 363
+rect 3111 465 3145 481
+rect 3111 397 3145 431
+rect 3197 465 3231 527
+rect 4024 485 4058 527
+rect 4214 485 4248 527
+rect 3197 397 3231 431
+rect 3486 417 3520 433
+rect 3181 363 3197 397
+rect 3231 363 3247 397
+rect 3111 328 3145 363
+rect 3486 328 3520 383
+rect 3145 294 3486 328
+rect 3742 417 3776 433
+rect 3742 260 3776 383
+rect 4024 417 4058 451
+rect 4024 349 4058 383
+rect 4094 451 4110 485
+rect 4144 451 4160 485
+rect 4094 417 4160 451
+rect 4094 383 4110 417
+rect 4144 383 4160 417
+rect 4094 349 4160 383
+rect 4094 315 4110 349
+rect 4144 315 4160 349
+rect 4024 299 4058 315
+rect 4110 314 4160 315
+rect 4214 417 4248 451
+rect 4214 349 4248 383
+rect 4284 451 4300 485
+rect 4334 451 4350 485
+rect 4284 417 4350 451
+rect 4284 383 4300 417
+rect 4334 383 4350 417
+rect 4284 349 4350 383
+rect 4460 474 4494 490
+rect 4460 404 4494 439
+rect 4460 353 4494 356
+rect 4546 474 4580 527
+rect 4546 404 4580 439
+rect 4546 353 4580 369
+rect 4632 474 4666 490
+rect 4632 404 4666 424
+rect 4632 353 4666 369
+rect 4284 315 4300 349
+rect 4334 315 4350 349
+rect 2301 210 2335 226
+rect 2541 169 2575 191
+rect 2507 135 2541 157
+rect 754 77 1476 111
+rect 1549 100 1583 116
+rect 464 61 498 77
+rect 1549 17 1583 66
+rect 1805 100 1839 116
+rect 1805 17 1839 66
+rect 2061 100 2095 116
+rect 2215 85 2438 119
+rect 2541 101 2575 135
+rect 2061 17 2095 66
+rect 2541 51 2575 67
+rect 2627 101 2661 135
+rect 2627 51 2661 67
+rect 2731 169 2765 185
+rect 2801 169 2835 226
+rect 2937 226 3154 260
+rect 3188 250 4076 260
+rect 3188 226 4026 250
+rect 2937 169 2971 226
+rect 4010 216 4026 226
+rect 4060 216 4076 250
+rect 2801 135 2817 169
+rect 2851 135 2921 169
+rect 2955 135 2971 169
+rect 3007 169 3041 185
+rect 2731 119 2765 135
+rect 2731 51 2765 67
+rect 2817 101 2851 135
+rect 2817 51 2851 67
+rect 2921 101 2955 135
+rect 2921 51 2955 67
+rect 3007 119 3041 135
+rect 3007 51 3041 67
+rect 3111 101 3145 135
+rect 3111 51 3145 67
+rect 3197 169 3231 192
+rect 3231 135 3265 158
+rect 4024 161 4058 177
+rect 4110 161 4144 314
+rect 4214 299 4248 315
+rect 4300 314 4350 315
+rect 4200 216 4216 250
+rect 4250 216 4266 250
+rect 3197 101 3231 135
+rect 3197 51 3231 67
+rect 3358 100 3392 116
+rect 3358 17 3392 66
+rect 3614 100 3648 116
+rect 3614 17 3648 66
+rect 3870 100 3904 116
+rect 3870 17 3904 66
+rect 4024 93 4058 127
+rect 4094 127 4110 161
+rect 4214 161 4248 177
+rect 4300 161 4334 314
+rect 4789 309 4841 459
+rect 4444 274 4460 309
+rect 4494 274 4510 309
+rect 4616 274 4632 309
+rect 4666 274 4841 309
+rect 4144 127 4160 160
+rect 4094 119 4160 127
+rect 4094 59 4110 119
+rect 4144 59 4160 119
+rect 4214 93 4248 127
+rect 4284 127 4300 161
+rect 4460 184 4494 274
+rect 4334 127 4414 160
+rect 4284 109 4414 127
+rect 4284 93 4380 109
+rect 4284 59 4300 93
+rect 4334 75 4380 93
+rect 4334 59 4414 75
+rect 4460 114 4494 149
+rect 4460 64 4494 80
+rect 4546 184 4580 204
+rect 4546 114 4580 149
+rect 4024 17 4058 59
+rect 4214 17 4248 59
+rect 4546 17 4580 80
+rect 4632 184 4666 274
+rect 4632 114 4666 149
+rect 4632 64 4666 80
+rect 4712 119 4746 135
+rect 4789 85 4841 274
+rect 4712 69 4746 85
+rect 0 -17 29 17
+rect 63 -17 121 17
+rect 155 -17 213 17
+rect 247 -17 305 17
+rect 339 -17 397 17
+rect 431 -17 489 17
+rect 523 -17 581 17
+rect 615 -17 673 17
+rect 707 -17 765 17
+rect 799 -17 857 17
+rect 891 -17 949 17
+rect 983 -17 1041 17
+rect 1075 -17 1133 17
+rect 1167 -17 1225 17
+rect 1259 -17 1317 17
+rect 1351 -17 1409 17
+rect 1443 -17 1501 17
+rect 1535 -17 1593 17
+rect 1627 -17 1685 17
+rect 1719 -17 1777 17
+rect 1811 -17 1869 17
+rect 1903 -17 1961 17
+rect 1995 -17 2053 17
+rect 2087 -17 2145 17
+rect 2179 -17 2237 17
+rect 2271 -17 2329 17
+rect 2363 -17 2421 17
+rect 2455 -17 2513 17
+rect 2547 -17 2605 17
+rect 2639 -17 2697 17
+rect 2731 -17 2789 17
+rect 2823 -17 2881 17
+rect 2915 -17 2973 17
+rect 3007 -17 3065 17
+rect 3099 -17 3157 17
+rect 3191 -17 3249 17
+rect 3283 -17 3341 17
+rect 3375 -17 3433 17
+rect 3467 -17 3525 17
+rect 3559 -17 3617 17
+rect 3651 -17 3709 17
+rect 3743 -17 3801 17
+rect 3835 -17 3893 17
+rect 3927 -17 3985 17
+rect 4019 -17 4077 17
+rect 4111 -17 4169 17
+rect 4203 -17 4261 17
+rect 4295 -17 4353 17
+rect 4387 -17 4445 17
+rect 4479 -17 4537 17
+rect 4571 -17 4629 17
+rect 4663 -17 4721 17
+rect 4755 -17 4813 17
+rect 4847 -17 4873 17
+<< viali >>
+rect 29 527 63 561
+rect 121 527 155 561
+rect 213 527 247 561
+rect 305 527 339 561
+rect 397 527 431 561
+rect 489 527 523 561
+rect 581 527 615 561
+rect 673 527 707 561
+rect 765 527 799 561
+rect 857 527 891 561
+rect 949 527 983 561
+rect 1041 527 1075 561
+rect 1133 527 1167 561
+rect 1225 527 1259 561
+rect 1317 527 1351 561
+rect 1409 527 1443 561
+rect 1501 527 1535 561
+rect 1593 527 1627 561
+rect 1685 527 1719 561
+rect 1777 527 1811 561
+rect 1869 527 1903 561
+rect 1961 527 1995 561
+rect 2053 527 2087 561
+rect 2145 527 2179 561
+rect 2237 527 2271 561
+rect 2329 527 2363 561
+rect 2421 527 2455 561
+rect 2513 527 2547 561
+rect 2605 527 2639 561
+rect 2697 527 2731 561
+rect 2789 527 2823 561
+rect 2881 527 2915 561
+rect 2973 527 3007 561
+rect 3065 527 3099 561
+rect 3157 527 3191 561
+rect 3249 527 3283 561
+rect 3341 527 3375 561
+rect 3433 527 3467 561
+rect 3525 527 3559 561
+rect 3617 527 3651 561
+rect 3709 527 3743 561
+rect 3801 527 3835 561
+rect 3893 527 3927 561
+rect 3985 527 4019 561
+rect 4077 527 4111 561
+rect 4169 527 4203 561
+rect 4261 527 4295 561
+rect 4353 527 4387 561
+rect 4445 527 4479 561
+rect 4537 527 4571 561
+rect 4629 527 4663 561
+rect 4721 527 4755 561
+rect 4813 527 4847 561
+rect 840 229 874 263
+rect 1693 383 1711 417
+rect 1711 383 1727 417
+rect 1012 229 1046 263
+rect 1184 229 1218 263
+rect 1356 229 1390 263
+rect 2215 385 2249 419
+rect 2627 294 2661 328
+rect 2869 271 2903 305
+rect 3111 294 3145 328
+rect 3486 294 3520 328
+rect 4460 369 4494 391
+rect 4460 356 4494 369
+rect 4632 439 4666 459
+rect 4632 424 4666 439
+rect 2507 157 2541 191
+rect 2438 85 2472 119
+rect 2627 169 2661 185
+rect 2627 151 2661 169
+rect 2731 101 2765 119
+rect 2731 85 2765 101
+rect 3007 101 3041 119
+rect 3007 85 3041 101
+rect 3111 169 3145 185
+rect 3111 151 3145 169
+rect 3231 158 3265 192
+rect 4216 216 4250 250
+rect 4460 274 4494 309
+rect 4632 274 4666 309
+rect 4110 93 4144 119
+rect 4110 85 4144 93
+rect 4712 85 4746 119
+rect 29 -17 63 17
+rect 121 -17 155 17
+rect 213 -17 247 17
+rect 305 -17 339 17
+rect 397 -17 431 17
+rect 489 -17 523 17
+rect 581 -17 615 17
+rect 673 -17 707 17
+rect 765 -17 799 17
+rect 857 -17 891 17
+rect 949 -17 983 17
+rect 1041 -17 1075 17
+rect 1133 -17 1167 17
+rect 1225 -17 1259 17
+rect 1317 -17 1351 17
+rect 1409 -17 1443 17
+rect 1501 -17 1535 17
+rect 1593 -17 1627 17
+rect 1685 -17 1719 17
+rect 1777 -17 1811 17
+rect 1869 -17 1903 17
+rect 1961 -17 1995 17
+rect 2053 -17 2087 17
+rect 2145 -17 2179 17
+rect 2237 -17 2271 17
+rect 2329 -17 2363 17
+rect 2421 -17 2455 17
+rect 2513 -17 2547 17
+rect 2605 -17 2639 17
+rect 2697 -17 2731 17
+rect 2789 -17 2823 17
+rect 2881 -17 2915 17
+rect 2973 -17 3007 17
+rect 3065 -17 3099 17
+rect 3157 -17 3191 17
+rect 3249 -17 3283 17
+rect 3341 -17 3375 17
+rect 3433 -17 3467 17
+rect 3525 -17 3559 17
+rect 3617 -17 3651 17
+rect 3709 -17 3743 17
+rect 3801 -17 3835 17
+rect 3893 -17 3927 17
+rect 3985 -17 4019 17
+rect 4077 -17 4111 17
+rect 4169 -17 4203 17
+rect 4261 -17 4295 17
+rect 4353 -17 4387 17
+rect 4445 -17 4479 17
+rect 4537 -17 4571 17
+rect 4629 -17 4663 17
+rect 4721 -17 4755 17
+rect 4813 -17 4847 17
+<< metal1 >>
+rect 0 561 4876 592
+rect 0 527 29 561
+rect 63 527 121 561
+rect 155 527 213 561
+rect 247 527 305 561
+rect 339 527 397 561
+rect 431 527 489 561
+rect 523 527 581 561
+rect 615 527 673 561
+rect 707 527 765 561
+rect 799 527 857 561
+rect 891 527 949 561
+rect 983 527 1041 561
+rect 1075 527 1133 561
+rect 1167 527 1225 561
+rect 1259 527 1317 561
+rect 1351 527 1409 561
+rect 1443 527 1501 561
+rect 1535 527 1593 561
+rect 1627 527 1685 561
+rect 1719 527 1777 561
+rect 1811 527 1869 561
+rect 1903 527 1961 561
+rect 1995 527 2053 561
+rect 2087 527 2145 561
+rect 2179 527 2237 561
+rect 2271 527 2329 561
+rect 2363 527 2421 561
+rect 2455 527 2513 561
+rect 2547 527 2605 561
+rect 2639 527 2697 561
+rect 2731 527 2789 561
+rect 2823 527 2881 561
+rect 2915 527 2973 561
+rect 3007 527 3065 561
+rect 3099 527 3157 561
+rect 3191 527 3249 561
+rect 3283 527 3341 561
+rect 3375 527 3433 561
+rect 3467 527 3525 561
+rect 3559 527 3617 561
+rect 3651 527 3709 561
+rect 3743 527 3801 561
+rect 3835 527 3893 561
+rect 3927 527 3985 561
+rect 4019 527 4077 561
+rect 4111 527 4169 561
+rect 4203 527 4261 561
+rect 4295 527 4353 561
+rect 4387 527 4445 561
+rect 4479 527 4537 561
+rect 4571 527 4629 561
+rect 4663 527 4721 561
+rect 4755 527 4813 561
+rect 4847 527 4876 561
+rect 0 503 4876 527
+rect 0 496 380 503
+rect 2376 496 4876 503
+rect 4620 459 4678 465
+rect 4620 456 4632 459
+rect 1681 417 1739 423
+rect 1681 383 1693 417
+rect 1727 414 1739 417
+rect 2209 419 2255 431
+rect 2209 414 2215 419
+rect 1727 386 2215 414
+rect 1727 383 1739 386
+rect 1681 377 1739 383
+rect 2209 385 2215 386
+rect 2249 416 2255 419
+rect 4392 428 4632 456
+rect 2249 388 3262 416
+rect 2249 385 2255 388
+rect 2209 373 2255 385
+rect 828 263 886 269
+rect 828 229 840 263
+rect 874 260 886 263
+rect 1000 263 1058 269
+rect 1000 260 1012 263
+rect 874 232 1012 260
+rect 874 229 886 232
+rect 828 223 886 229
+rect 1000 229 1012 232
+rect 1046 260 1058 263
+rect 1172 263 1230 269
+rect 1172 260 1184 263
+rect 1046 232 1184 260
+rect 1046 229 1058 232
+rect 1000 223 1058 229
+rect 1172 229 1184 232
+rect 1218 260 1230 263
+rect 1344 263 1402 269
+rect 1344 260 1356 263
+rect 1218 232 1356 260
+rect 1218 229 1230 232
+rect 1172 223 1230 229
+rect 1344 229 1356 232
+rect 1390 229 1402 263
+rect 1344 223 1402 229
+rect 2510 197 2538 388
+rect 2615 328 2673 334
+rect 2615 294 2627 328
+rect 2661 325 2673 328
+rect 3099 328 3157 334
+rect 3099 325 3111 328
+rect 2661 305 3111 325
+rect 2661 297 2869 305
+rect 2661 294 2673 297
+rect 2615 288 2673 294
+rect 2495 191 2553 197
+rect 2630 192 2658 288
+rect 2857 271 2869 297
+rect 2903 297 3111 305
+rect 2903 271 2915 297
+rect 3099 294 3111 297
+rect 3145 294 3157 328
+rect 3099 288 3157 294
+rect 2857 265 2915 271
+rect 2495 157 2507 191
+rect 2541 157 2553 191
+rect 2495 151 2553 157
+rect 2615 185 2673 192
+rect 3114 191 3142 288
+rect 3234 198 3262 388
+rect 3474 328 3532 334
+rect 3474 294 3486 328
+rect 3520 325 3532 328
+rect 3520 297 4247 325
+rect 3520 294 3532 297
+rect 3474 288 3532 294
+rect 4219 257 4247 297
+rect 4392 305 4420 428
+rect 4620 424 4632 428
+rect 4666 424 4678 459
+rect 4620 418 4678 424
+rect 4448 391 4506 397
+rect 4448 356 4460 391
+rect 4494 388 4506 391
+rect 4494 360 4663 388
+rect 4494 356 4506 360
+rect 4448 350 4506 356
+rect 4635 321 4663 360
+rect 4448 309 4506 315
+rect 4448 305 4460 309
+rect 4392 277 4460 305
+rect 4448 274 4460 277
+rect 4494 274 4506 309
+rect 4448 268 4506 274
+rect 4626 309 4672 321
+rect 4626 274 4632 309
+rect 4666 274 4672 309
+rect 4626 262 4672 274
+rect 4204 250 4262 257
+rect 4204 216 4216 250
+rect 4250 216 4262 250
+rect 4204 210 4262 216
+rect 3219 192 3277 198
+rect 2615 151 2627 185
+rect 2661 151 2673 185
+rect 2615 144 2673 151
+rect 3099 185 3157 191
+rect 3099 151 3111 185
+rect 3145 151 3157 185
+rect 3219 158 3231 192
+rect 3265 158 3277 192
+rect 3219 152 3277 158
+rect 3099 145 3157 151
+rect 2426 119 2484 125
+rect 2426 85 2438 119
+rect 2472 116 2484 119
+rect 2718 119 2778 125
+rect 2718 116 2731 119
+rect 2472 88 2731 116
+rect 2472 85 2484 88
+rect 2426 79 2484 85
+rect 2718 85 2731 88
+rect 2765 116 2778 119
+rect 2994 119 3054 125
+rect 2994 116 3007 119
+rect 2765 88 3007 116
+rect 2765 85 2778 88
+rect 2718 79 2778 85
+rect 2994 85 3007 88
+rect 3041 85 3054 119
+rect 2994 79 3054 85
+rect 4098 119 4156 125
+rect 4098 85 4110 119
+rect 4144 116 4156 119
+rect 4700 119 4758 125
+rect 4700 116 4712 119
+rect 4144 88 4712 116
+rect 4144 85 4156 88
+rect 4098 79 4156 85
+rect 4700 85 4712 88
+rect 4746 85 4758 119
+rect 4700 79 4758 85
+rect 0 17 4873 48
+rect 0 -17 29 17
+rect 63 -17 121 17
+rect 155 -17 213 17
+rect 247 -17 305 17
+rect 339 -17 397 17
+rect 431 -17 489 17
+rect 523 -17 581 17
+rect 615 -17 673 17
+rect 707 -17 765 17
+rect 799 -17 857 17
+rect 891 -17 949 17
+rect 983 -17 1041 17
+rect 1075 -17 1133 17
+rect 1167 -17 1225 17
+rect 1259 -17 1317 17
+rect 1351 -17 1409 17
+rect 1443 -17 1501 17
+rect 1535 -17 1593 17
+rect 1627 -17 1685 17
+rect 1719 -17 1777 17
+rect 1811 -17 1869 17
+rect 1903 -17 1961 17
+rect 1995 -17 2053 17
+rect 2087 -17 2145 17
+rect 2179 -17 2237 17
+rect 2271 -17 2329 17
+rect 2363 -17 2421 17
+rect 2455 -17 2513 17
+rect 2547 -17 2605 17
+rect 2639 -17 2697 17
+rect 2731 -17 2789 17
+rect 2823 -17 2881 17
+rect 2915 -17 2973 17
+rect 3007 -17 3065 17
+rect 3099 -17 3157 17
+rect 3191 -17 3249 17
+rect 3283 -17 3341 17
+rect 3375 -17 3433 17
+rect 3467 -17 3525 17
+rect 3559 -17 3617 17
+rect 3651 -17 3709 17
+rect 3743 -17 3801 17
+rect 3835 -17 3893 17
+rect 3927 -17 3985 17
+rect 4019 -17 4077 17
+rect 4111 -17 4169 17
+rect 4203 -17 4261 17
+rect 4295 -17 4353 17
+rect 4387 -17 4445 17
+rect 4479 -17 4537 17
+rect 4571 -17 4629 17
+rect 4663 -17 4721 17
+rect 4755 -17 4813 17
+rect 4847 -17 4873 17
+rect 0 -48 4873 -17
+<< labels >>
+flabel metal1 29 527 63 561 0 FreeSans 192 0 0 0 VPWR
+port 7 nsew
+flabel nwell 87 527 121 561 0 FreeSans 192 0 0 0 VPB
+port 6 nsew
+flabel metal1 29 -17 63 17 0 FreeSans 192 0 0 0 VGND
+port 4 nsew
+flabel pwell 100 -17 134 17 0 FreeSans 192 0 0 0 VNB
+port 5 nsew
+flabel locali 652 161 686 195 0 FreeSans 192 0 0 0 VIN2
+port 3 nsew
+flabel locali 652 297 686 331 0 FreeSans 192 0 0 0 VIN1
+port 2 nsew
+flabel locali 128 358 162 392 0 FreeSans 192 0 0 0 CLK
+port 1 nsew
+flabel locali 4798 323 4832 357 0 FreeSans 192 0 0 0 X
+port 8 nsew
+flabel locali 4798 255 4832 289 0 FreeSans 192 0 0 0 X
+port 8 nsew
+flabel locali 4798 187 4832 221 0 FreeSans 192 0 0 0 X
+port 8 nsew
+flabel locali 4798 391 4832 425 0 FreeSans 192 0 0 0 X
+port 8 nsew
+flabel locali 4798 119 4832 153 0 FreeSans 192 0 0 0 X
+port 8 nsew
+<< end >>
diff --git a/mag/sky130_sc_ams__ota_1.mag b/mag/sky130_sc_ams__ota_1.mag
new file mode 100644
index 0000000..0b45396
--- /dev/null
+++ b/mag/sky130_sc_ams__ota_1.mag
@@ -0,0 +1,2435 @@
+magic
+tech sky130B
+magscale 1 2
+timestamp 1647118226
+<< nwell >>
+rect -38 414 6754 582
+rect -38 339 4302 414
+rect 5362 339 6754 414
+<< pwell >>
+rect 1135 221 1138 253
+rect 1135 213 1314 221
+rect 2044 213 2230 221
+rect 4348 213 5316 361
+rect 0 -17 6716 213
+rect 4934 -48 4961 -17
+<< nmos >>
+rect 1281 55 1311 195
+rect 1367 55 1397 195
+rect 1453 55 1483 195
+rect 1539 55 1569 195
+rect 1625 55 1655 195
+rect 1711 55 1741 195
+rect 1797 55 1827 195
+rect 1883 55 1913 195
+rect 1969 55 1999 195
+rect 2055 55 2085 195
+rect 2392 109 2422 249
+rect 2478 109 2508 249
+rect 2564 109 2594 249
+rect 2650 109 2680 249
+rect 2862 47 2892 187
+rect 2948 47 2978 187
+rect 3034 47 3064 187
+rect 3120 47 3150 187
+rect 3401 47 3431 187
+rect 3487 47 3517 187
+rect 3573 47 3603 187
+rect 3659 47 3689 187
+rect 3745 47 3775 187
+rect 3831 47 3861 187
+rect 3917 47 3947 187
+rect 4003 47 4033 187
+rect 4089 47 4119 187
+rect 4175 47 4205 187
+rect 4430 123 4460 335
+rect 4516 123 4546 335
+rect 4602 123 4632 335
+rect 4688 123 4718 335
+rect 4774 123 4804 335
+rect 4860 123 4890 335
+rect 4946 123 4976 335
+rect 5032 123 5062 335
+rect 5118 123 5148 335
+rect 5204 123 5234 335
+rect 5459 47 5489 187
+rect 5545 47 5575 187
+rect 5631 47 5691 187
+rect 5747 47 5807 187
+rect 5863 47 5893 187
+rect 5949 47 5979 187
+rect 6035 47 6095 187
+rect 6151 47 6211 187
+rect 6267 47 6297 187
+rect 6353 47 6383 187
+<< pmos >>
+rect 1281 375 1311 497
+rect 1367 375 1397 497
+rect 1453 375 1483 497
+rect 1539 375 1569 497
+rect 1625 375 1655 497
+rect 1711 375 1741 497
+rect 1797 375 1827 497
+rect 1883 375 1913 497
+rect 1969 375 1999 497
+rect 2055 375 2085 497
+rect 2323 413 3163 497
+rect 3401 375 3431 497
+rect 3487 375 3517 497
+rect 3573 375 3603 497
+rect 3659 375 3689 497
+rect 3745 375 3775 497
+rect 3831 375 3861 497
+rect 3917 375 3947 497
+rect 4003 375 4033 497
+rect 4089 375 4119 497
+rect 4175 375 4205 497
+rect 5459 375 5489 497
+rect 5545 375 5575 497
+rect 5631 375 5691 497
+rect 5747 375 5807 497
+rect 5863 375 5893 497
+rect 5949 375 5979 497
+rect 6035 375 6095 497
+rect 6151 375 6211 497
+rect 6267 375 6297 497
+rect 6353 375 6383 497
+<< ndiff >>
+rect 4374 314 4430 335
+rect 4374 280 4385 314
+rect 4419 280 4430 314
+rect 1225 176 1281 195
+rect 1225 142 1236 176
+rect 1270 142 1281 176
+rect 1225 108 1281 142
+rect 1225 74 1236 108
+rect 1270 74 1281 108
+rect 1225 55 1281 74
+rect 1311 176 1367 195
+rect 1311 142 1322 176
+rect 1356 142 1367 176
+rect 1311 108 1367 142
+rect 1311 74 1322 108
+rect 1356 74 1367 108
+rect 1311 55 1367 74
+rect 1397 176 1453 195
+rect 1397 142 1408 176
+rect 1442 142 1453 176
+rect 1397 108 1453 142
+rect 1397 74 1408 108
+rect 1442 74 1453 108
+rect 1397 55 1453 74
+rect 1483 176 1539 195
+rect 1483 142 1494 176
+rect 1528 142 1539 176
+rect 1483 108 1539 142
+rect 1483 74 1494 108
+rect 1528 74 1539 108
+rect 1483 55 1539 74
+rect 1569 176 1625 195
+rect 1569 142 1580 176
+rect 1614 142 1625 176
+rect 1569 108 1625 142
+rect 1569 74 1580 108
+rect 1614 74 1625 108
+rect 1569 55 1625 74
+rect 1655 176 1711 195
+rect 1655 142 1666 176
+rect 1700 142 1711 176
+rect 1655 108 1711 142
+rect 1655 74 1666 108
+rect 1700 74 1711 108
+rect 1655 55 1711 74
+rect 1741 176 1797 195
+rect 1741 142 1752 176
+rect 1786 142 1797 176
+rect 1741 108 1797 142
+rect 1741 74 1752 108
+rect 1786 74 1797 108
+rect 1741 55 1797 74
+rect 1827 176 1883 195
+rect 1827 142 1838 176
+rect 1872 142 1883 176
+rect 1827 108 1883 142
+rect 1827 74 1838 108
+rect 1872 74 1883 108
+rect 1827 55 1883 74
+rect 1913 176 1969 195
+rect 1913 142 1924 176
+rect 1958 142 1969 176
+rect 1913 108 1969 142
+rect 1913 74 1924 108
+rect 1958 74 1969 108
+rect 1913 55 1969 74
+rect 1999 176 2055 195
+rect 1999 142 2010 176
+rect 2044 142 2055 176
+rect 1999 108 2055 142
+rect 1999 74 2010 108
+rect 2044 74 2055 108
+rect 1999 55 2055 74
+rect 2085 176 2141 195
+rect 2085 142 2096 176
+rect 2130 142 2141 176
+rect 2085 108 2141 142
+rect 2336 230 2392 249
+rect 2336 196 2347 230
+rect 2381 196 2392 230
+rect 2336 162 2392 196
+rect 2336 128 2347 162
+rect 2381 128 2392 162
+rect 2336 109 2392 128
+rect 2422 230 2478 249
+rect 2422 196 2433 230
+rect 2467 196 2478 230
+rect 2422 162 2478 196
+rect 2422 128 2433 162
+rect 2467 128 2478 162
+rect 2422 109 2478 128
+rect 2508 230 2564 249
+rect 2508 196 2519 230
+rect 2553 196 2564 230
+rect 2508 162 2564 196
+rect 2508 128 2519 162
+rect 2553 128 2564 162
+rect 2508 109 2564 128
+rect 2594 230 2650 249
+rect 2594 196 2605 230
+rect 2639 196 2650 230
+rect 2594 162 2650 196
+rect 2594 128 2605 162
+rect 2639 128 2650 162
+rect 2594 109 2650 128
+rect 2680 230 2736 249
+rect 2680 196 2691 230
+rect 2725 196 2736 230
+rect 2680 162 2736 196
+rect 2680 128 2691 162
+rect 2725 128 2736 162
+rect 2680 109 2736 128
+rect 2806 168 2862 187
+rect 2806 134 2817 168
+rect 2851 134 2862 168
+rect 2085 74 2096 108
+rect 2130 74 2141 108
+rect 2806 100 2862 134
+rect 2085 55 2141 74
+rect 2806 66 2817 100
+rect 2851 66 2862 100
+rect 2806 47 2862 66
+rect 2892 168 2948 187
+rect 2892 134 2903 168
+rect 2937 134 2948 168
+rect 2892 100 2948 134
+rect 2892 66 2903 100
+rect 2937 66 2948 100
+rect 2892 47 2948 66
+rect 2978 168 3034 187
+rect 2978 134 2989 168
+rect 3023 134 3034 168
+rect 2978 100 3034 134
+rect 2978 66 2989 100
+rect 3023 66 3034 100
+rect 2978 47 3034 66
+rect 3064 168 3120 187
+rect 3064 134 3075 168
+rect 3109 134 3120 168
+rect 3064 100 3120 134
+rect 3064 66 3075 100
+rect 3109 66 3120 100
+rect 3064 47 3120 66
+rect 3150 168 3206 187
+rect 3150 134 3161 168
+rect 3195 134 3206 168
+rect 3150 100 3206 134
+rect 4374 246 4430 280
+rect 3345 168 3401 187
+rect 3345 134 3356 168
+rect 3390 134 3401 168
+rect 3150 66 3161 100
+rect 3195 66 3206 100
+rect 3150 47 3206 66
+rect 3345 100 3401 134
+rect 3345 66 3356 100
+rect 3390 66 3401 100
+rect 3345 47 3401 66
+rect 3431 168 3487 187
+rect 3431 134 3442 168
+rect 3476 134 3487 168
+rect 3431 100 3487 134
+rect 3431 66 3442 100
+rect 3476 66 3487 100
+rect 3431 47 3487 66
+rect 3517 168 3573 187
+rect 3517 134 3528 168
+rect 3562 134 3573 168
+rect 3517 100 3573 134
+rect 3517 66 3528 100
+rect 3562 66 3573 100
+rect 3517 47 3573 66
+rect 3603 168 3659 187
+rect 3603 134 3614 168
+rect 3648 134 3659 168
+rect 3603 100 3659 134
+rect 3603 66 3614 100
+rect 3648 66 3659 100
+rect 3603 47 3659 66
+rect 3689 168 3745 187
+rect 3689 134 3700 168
+rect 3734 134 3745 168
+rect 3689 100 3745 134
+rect 3689 66 3700 100
+rect 3734 66 3745 100
+rect 3689 47 3745 66
+rect 3775 168 3831 187
+rect 3775 134 3786 168
+rect 3820 134 3831 168
+rect 3775 100 3831 134
+rect 3775 66 3786 100
+rect 3820 66 3831 100
+rect 3775 47 3831 66
+rect 3861 168 3917 187
+rect 3861 134 3872 168
+rect 3906 134 3917 168
+rect 3861 100 3917 134
+rect 3861 66 3872 100
+rect 3906 66 3917 100
+rect 3861 47 3917 66
+rect 3947 168 4003 187
+rect 3947 134 3958 168
+rect 3992 134 4003 168
+rect 3947 100 4003 134
+rect 3947 66 3958 100
+rect 3992 66 4003 100
+rect 3947 47 4003 66
+rect 4033 168 4089 187
+rect 4033 134 4044 168
+rect 4078 134 4089 168
+rect 4033 100 4089 134
+rect 4033 66 4044 100
+rect 4078 66 4089 100
+rect 4033 47 4089 66
+rect 4119 168 4175 187
+rect 4119 134 4130 168
+rect 4164 134 4175 168
+rect 4119 100 4175 134
+rect 4119 66 4130 100
+rect 4164 66 4175 100
+rect 4119 47 4175 66
+rect 4205 168 4261 187
+rect 4205 134 4216 168
+rect 4250 134 4261 168
+rect 4205 100 4261 134
+rect 4205 66 4216 100
+rect 4250 66 4261 100
+rect 4374 212 4385 246
+rect 4419 212 4430 246
+rect 4374 178 4430 212
+rect 4374 144 4385 178
+rect 4419 144 4430 178
+rect 4374 123 4430 144
+rect 4460 314 4516 335
+rect 4460 280 4471 314
+rect 4505 280 4516 314
+rect 4460 246 4516 280
+rect 4460 212 4471 246
+rect 4505 212 4516 246
+rect 4460 178 4516 212
+rect 4460 144 4471 178
+rect 4505 144 4516 178
+rect 4460 123 4516 144
+rect 4546 314 4602 335
+rect 4546 280 4557 314
+rect 4591 280 4602 314
+rect 4546 246 4602 280
+rect 4546 212 4557 246
+rect 4591 212 4602 246
+rect 4546 178 4602 212
+rect 4546 144 4557 178
+rect 4591 144 4602 178
+rect 4546 123 4602 144
+rect 4632 314 4688 335
+rect 4632 280 4643 314
+rect 4677 280 4688 314
+rect 4632 246 4688 280
+rect 4632 212 4643 246
+rect 4677 212 4688 246
+rect 4632 178 4688 212
+rect 4632 144 4643 178
+rect 4677 144 4688 178
+rect 4632 123 4688 144
+rect 4718 314 4774 335
+rect 4718 280 4729 314
+rect 4763 280 4774 314
+rect 4718 246 4774 280
+rect 4718 212 4729 246
+rect 4763 212 4774 246
+rect 4718 178 4774 212
+rect 4718 144 4729 178
+rect 4763 144 4774 178
+rect 4718 123 4774 144
+rect 4804 314 4860 335
+rect 4804 280 4815 314
+rect 4849 280 4860 314
+rect 4804 246 4860 280
+rect 4804 212 4815 246
+rect 4849 212 4860 246
+rect 4804 178 4860 212
+rect 4804 144 4815 178
+rect 4849 144 4860 178
+rect 4804 123 4860 144
+rect 4890 314 4946 335
+rect 4890 280 4901 314
+rect 4935 280 4946 314
+rect 4890 246 4946 280
+rect 4890 212 4901 246
+rect 4935 212 4946 246
+rect 4890 178 4946 212
+rect 4890 144 4901 178
+rect 4935 144 4946 178
+rect 4890 123 4946 144
+rect 4976 314 5032 335
+rect 4976 280 4987 314
+rect 5021 280 5032 314
+rect 4976 246 5032 280
+rect 4976 212 4987 246
+rect 5021 212 5032 246
+rect 4976 178 5032 212
+rect 4976 144 4987 178
+rect 5021 144 5032 178
+rect 4976 123 5032 144
+rect 5062 314 5118 335
+rect 5062 280 5073 314
+rect 5107 280 5118 314
+rect 5062 246 5118 280
+rect 5062 212 5073 246
+rect 5107 212 5118 246
+rect 5062 178 5118 212
+rect 5062 144 5073 178
+rect 5107 144 5118 178
+rect 5062 123 5118 144
+rect 5148 314 5204 335
+rect 5148 280 5159 314
+rect 5193 280 5204 314
+rect 5148 246 5204 280
+rect 5148 212 5159 246
+rect 5193 212 5204 246
+rect 5148 178 5204 212
+rect 5148 144 5159 178
+rect 5193 144 5204 178
+rect 5148 123 5204 144
+rect 5234 314 5290 335
+rect 5234 280 5245 314
+rect 5279 280 5290 314
+rect 5234 246 5290 280
+rect 5234 212 5245 246
+rect 5279 212 5290 246
+rect 5234 178 5290 212
+rect 5234 144 5245 178
+rect 5279 144 5290 178
+rect 5234 123 5290 144
+rect 4205 47 4261 66
+rect 5403 168 5459 187
+rect 5403 134 5414 168
+rect 5448 134 5459 168
+rect 5403 100 5459 134
+rect 5403 66 5414 100
+rect 5448 66 5459 100
+rect 5403 47 5459 66
+rect 5489 168 5545 187
+rect 5489 134 5500 168
+rect 5534 134 5545 168
+rect 5489 100 5545 134
+rect 5489 66 5500 100
+rect 5534 66 5545 100
+rect 5489 47 5545 66
+rect 5575 168 5631 187
+rect 5575 134 5586 168
+rect 5620 134 5631 168
+rect 5575 100 5631 134
+rect 5575 66 5586 100
+rect 5620 66 5631 100
+rect 5575 47 5631 66
+rect 5691 168 5747 187
+rect 5691 134 5702 168
+rect 5736 134 5747 168
+rect 5691 100 5747 134
+rect 5691 66 5702 100
+rect 5736 66 5747 100
+rect 5691 47 5747 66
+rect 5807 168 5863 187
+rect 5807 134 5818 168
+rect 5852 134 5863 168
+rect 5807 100 5863 134
+rect 5807 66 5818 100
+rect 5852 66 5863 100
+rect 5807 47 5863 66
+rect 5893 168 5949 187
+rect 5893 134 5904 168
+rect 5938 134 5949 168
+rect 5893 100 5949 134
+rect 5893 66 5904 100
+rect 5938 66 5949 100
+rect 5893 47 5949 66
+rect 5979 168 6035 187
+rect 5979 134 5990 168
+rect 6024 134 6035 168
+rect 5979 100 6035 134
+rect 5979 66 5990 100
+rect 6024 66 6035 100
+rect 5979 47 6035 66
+rect 6095 168 6151 187
+rect 6095 134 6106 168
+rect 6140 134 6151 168
+rect 6095 100 6151 134
+rect 6095 66 6106 100
+rect 6140 66 6151 100
+rect 6095 47 6151 66
+rect 6211 168 6267 187
+rect 6211 134 6222 168
+rect 6256 134 6267 168
+rect 6211 100 6267 134
+rect 6211 66 6222 100
+rect 6256 66 6267 100
+rect 6211 47 6267 66
+rect 6297 168 6353 187
+rect 6297 134 6308 168
+rect 6342 134 6353 168
+rect 6297 100 6353 134
+rect 6297 66 6308 100
+rect 6342 66 6353 100
+rect 6297 47 6353 66
+rect 6383 168 6439 187
+rect 6383 134 6394 168
+rect 6428 134 6439 168
+rect 6383 100 6439 134
+rect 6383 66 6394 100
+rect 6428 66 6439 100
+rect 6383 47 6439 66
+<< pdiff >>
+rect 1224 485 1281 497
+rect 1224 451 1236 485
+rect 1270 451 1281 485
+rect 1224 417 1281 451
+rect 1224 383 1236 417
+rect 1270 383 1281 417
+rect 1224 375 1281 383
+rect 1311 485 1367 497
+rect 1311 451 1322 485
+rect 1356 451 1367 485
+rect 1311 417 1367 451
+rect 1311 383 1322 417
+rect 1356 383 1367 417
+rect 1311 375 1367 383
+rect 1397 485 1453 497
+rect 1397 451 1408 485
+rect 1442 451 1453 485
+rect 1397 417 1453 451
+rect 1397 383 1408 417
+rect 1442 383 1453 417
+rect 1397 375 1453 383
+rect 1483 485 1539 497
+rect 1483 451 1494 485
+rect 1528 451 1539 485
+rect 1483 417 1539 451
+rect 1483 383 1494 417
+rect 1528 383 1539 417
+rect 1483 375 1539 383
+rect 1569 485 1625 497
+rect 1569 451 1580 485
+rect 1614 451 1625 485
+rect 1569 417 1625 451
+rect 1569 383 1580 417
+rect 1614 383 1625 417
+rect 1569 375 1625 383
+rect 1655 485 1711 497
+rect 1655 451 1666 485
+rect 1700 451 1711 485
+rect 1655 417 1711 451
+rect 1655 383 1666 417
+rect 1700 383 1711 417
+rect 1655 375 1711 383
+rect 1741 485 1797 497
+rect 1741 451 1752 485
+rect 1786 451 1797 485
+rect 1741 417 1797 451
+rect 1741 383 1752 417
+rect 1786 383 1797 417
+rect 1741 375 1797 383
+rect 1827 485 1883 497
+rect 1827 451 1838 485
+rect 1872 451 1883 485
+rect 1827 417 1883 451
+rect 1827 383 1838 417
+rect 1872 383 1883 417
+rect 1827 375 1883 383
+rect 1913 485 1969 497
+rect 1913 451 1924 485
+rect 1958 451 1969 485
+rect 1913 417 1969 451
+rect 1913 383 1924 417
+rect 1958 383 1969 417
+rect 1913 375 1969 383
+rect 1999 485 2055 497
+rect 1999 451 2010 485
+rect 2044 451 2055 485
+rect 1999 417 2055 451
+rect 1999 383 2010 417
+rect 2044 383 2055 417
+rect 1999 375 2055 383
+rect 2085 485 2142 497
+rect 2085 451 2096 485
+rect 2130 451 2142 485
+rect 2085 417 2142 451
+rect 2270 472 2323 497
+rect 2270 438 2278 472
+rect 2312 438 2323 472
+rect 2085 383 2096 417
+rect 2130 383 2142 417
+rect 2085 375 2142 383
+rect 2270 413 2323 438
+rect 3163 472 3216 497
+rect 3163 438 3174 472
+rect 3208 438 3216 472
+rect 3163 413 3216 438
+rect 3344 485 3401 497
+rect 3344 451 3356 485
+rect 3390 451 3401 485
+rect 3344 417 3401 451
+rect 3344 383 3356 417
+rect 3390 383 3401 417
+rect 3344 375 3401 383
+rect 3431 485 3487 497
+rect 3431 451 3442 485
+rect 3476 451 3487 485
+rect 3431 417 3487 451
+rect 3431 383 3442 417
+rect 3476 383 3487 417
+rect 3431 375 3487 383
+rect 3517 485 3573 497
+rect 3517 451 3528 485
+rect 3562 451 3573 485
+rect 3517 417 3573 451
+rect 3517 383 3528 417
+rect 3562 383 3573 417
+rect 3517 375 3573 383
+rect 3603 485 3659 497
+rect 3603 451 3614 485
+rect 3648 451 3659 485
+rect 3603 417 3659 451
+rect 3603 383 3614 417
+rect 3648 383 3659 417
+rect 3603 375 3659 383
+rect 3689 485 3745 497
+rect 3689 451 3700 485
+rect 3734 451 3745 485
+rect 3689 417 3745 451
+rect 3689 383 3700 417
+rect 3734 383 3745 417
+rect 3689 375 3745 383
+rect 3775 485 3831 497
+rect 3775 451 3786 485
+rect 3820 451 3831 485
+rect 3775 417 3831 451
+rect 3775 383 3786 417
+rect 3820 383 3831 417
+rect 3775 375 3831 383
+rect 3861 485 3917 497
+rect 3861 451 3872 485
+rect 3906 451 3917 485
+rect 3861 417 3917 451
+rect 3861 383 3872 417
+rect 3906 383 3917 417
+rect 3861 375 3917 383
+rect 3947 485 4003 497
+rect 3947 451 3958 485
+rect 3992 451 4003 485
+rect 3947 417 4003 451
+rect 3947 383 3958 417
+rect 3992 383 4003 417
+rect 3947 375 4003 383
+rect 4033 485 4089 497
+rect 4033 451 4044 485
+rect 4078 451 4089 485
+rect 4033 417 4089 451
+rect 4033 383 4044 417
+rect 4078 383 4089 417
+rect 4033 375 4089 383
+rect 4119 485 4175 497
+rect 4119 451 4130 485
+rect 4164 451 4175 485
+rect 4119 417 4175 451
+rect 4119 383 4130 417
+rect 4164 383 4175 417
+rect 4119 375 4175 383
+rect 4205 485 4262 497
+rect 4205 451 4216 485
+rect 4250 451 4262 485
+rect 5402 485 5459 497
+rect 4205 417 4262 451
+rect 5402 451 5414 485
+rect 5448 451 5459 485
+rect 4205 383 4216 417
+rect 4250 383 4262 417
+rect 4205 375 4262 383
+rect 5402 417 5459 451
+rect 5402 383 5414 417
+rect 5448 383 5459 417
+rect 5402 375 5459 383
+rect 5489 485 5545 497
+rect 5489 451 5500 485
+rect 5534 451 5545 485
+rect 5489 417 5545 451
+rect 5489 383 5500 417
+rect 5534 383 5545 417
+rect 5489 375 5545 383
+rect 5575 485 5631 497
+rect 5575 451 5586 485
+rect 5620 451 5631 485
+rect 5575 417 5631 451
+rect 5575 383 5586 417
+rect 5620 383 5631 417
+rect 5575 375 5631 383
+rect 5691 485 5747 497
+rect 5691 451 5702 485
+rect 5736 451 5747 485
+rect 5691 417 5747 451
+rect 5691 383 5702 417
+rect 5736 383 5747 417
+rect 5691 375 5747 383
+rect 5807 485 5863 497
+rect 5807 451 5818 485
+rect 5852 451 5863 485
+rect 5807 417 5863 451
+rect 5807 383 5818 417
+rect 5852 383 5863 417
+rect 5807 375 5863 383
+rect 5893 485 5949 497
+rect 5893 451 5904 485
+rect 5938 451 5949 485
+rect 5893 417 5949 451
+rect 5893 383 5904 417
+rect 5938 383 5949 417
+rect 5893 375 5949 383
+rect 5979 485 6035 497
+rect 5979 451 5990 485
+rect 6024 451 6035 485
+rect 5979 417 6035 451
+rect 5979 383 5990 417
+rect 6024 383 6035 417
+rect 5979 375 6035 383
+rect 6095 485 6151 497
+rect 6095 451 6106 485
+rect 6140 451 6151 485
+rect 6095 417 6151 451
+rect 6095 383 6106 417
+rect 6140 383 6151 417
+rect 6095 375 6151 383
+rect 6211 485 6267 497
+rect 6211 451 6222 485
+rect 6256 451 6267 485
+rect 6211 417 6267 451
+rect 6211 383 6222 417
+rect 6256 383 6267 417
+rect 6211 375 6267 383
+rect 6297 485 6353 497
+rect 6297 451 6308 485
+rect 6342 451 6353 485
+rect 6297 417 6353 451
+rect 6297 383 6308 417
+rect 6342 383 6353 417
+rect 6297 375 6353 383
+rect 6383 485 6440 497
+rect 6383 451 6394 485
+rect 6428 451 6440 485
+rect 6383 417 6440 451
+rect 6383 383 6394 417
+rect 6428 383 6440 417
+rect 6383 375 6440 383
+<< ndiffc >>
+rect 4385 280 4419 314
+rect 1236 142 1270 176
+rect 1236 74 1270 108
+rect 1322 142 1356 176
+rect 1322 74 1356 108
+rect 1408 142 1442 176
+rect 1408 74 1442 108
+rect 1494 142 1528 176
+rect 1494 74 1528 108
+rect 1580 142 1614 176
+rect 1580 74 1614 108
+rect 1666 142 1700 176
+rect 1666 74 1700 108
+rect 1752 142 1786 176
+rect 1752 74 1786 108
+rect 1838 142 1872 176
+rect 1838 74 1872 108
+rect 1924 142 1958 176
+rect 1924 74 1958 108
+rect 2010 142 2044 176
+rect 2010 74 2044 108
+rect 2096 142 2130 176
+rect 2347 196 2381 230
+rect 2347 128 2381 162
+rect 2433 196 2467 230
+rect 2433 128 2467 162
+rect 2519 196 2553 230
+rect 2519 128 2553 162
+rect 2605 196 2639 230
+rect 2605 128 2639 162
+rect 2691 196 2725 230
+rect 2691 128 2725 162
+rect 2817 134 2851 168
+rect 2096 74 2130 108
+rect 2817 66 2851 100
+rect 2903 134 2937 168
+rect 2903 66 2937 100
+rect 2989 134 3023 168
+rect 2989 66 3023 100
+rect 3075 134 3109 168
+rect 3075 66 3109 100
+rect 3161 134 3195 168
+rect 3356 134 3390 168
+rect 3161 66 3195 100
+rect 3356 66 3390 100
+rect 3442 134 3476 168
+rect 3442 66 3476 100
+rect 3528 134 3562 168
+rect 3528 66 3562 100
+rect 3614 134 3648 168
+rect 3614 66 3648 100
+rect 3700 134 3734 168
+rect 3700 66 3734 100
+rect 3786 134 3820 168
+rect 3786 66 3820 100
+rect 3872 134 3906 168
+rect 3872 66 3906 100
+rect 3958 134 3992 168
+rect 3958 66 3992 100
+rect 4044 134 4078 168
+rect 4044 66 4078 100
+rect 4130 134 4164 168
+rect 4130 66 4164 100
+rect 4216 134 4250 168
+rect 4216 66 4250 100
+rect 4385 212 4419 246
+rect 4385 144 4419 178
+rect 4471 280 4505 314
+rect 4471 212 4505 246
+rect 4471 144 4505 178
+rect 4557 280 4591 314
+rect 4557 212 4591 246
+rect 4557 144 4591 178
+rect 4643 280 4677 314
+rect 4643 212 4677 246
+rect 4643 144 4677 178
+rect 4729 280 4763 314
+rect 4729 212 4763 246
+rect 4729 144 4763 178
+rect 4815 280 4849 314
+rect 4815 212 4849 246
+rect 4815 144 4849 178
+rect 4901 280 4935 314
+rect 4901 212 4935 246
+rect 4901 144 4935 178
+rect 4987 280 5021 314
+rect 4987 212 5021 246
+rect 4987 144 5021 178
+rect 5073 280 5107 314
+rect 5073 212 5107 246
+rect 5073 144 5107 178
+rect 5159 280 5193 314
+rect 5159 212 5193 246
+rect 5159 144 5193 178
+rect 5245 280 5279 314
+rect 5245 212 5279 246
+rect 5245 144 5279 178
+rect 5414 134 5448 168
+rect 5414 66 5448 100
+rect 5500 134 5534 168
+rect 5500 66 5534 100
+rect 5586 134 5620 168
+rect 5586 66 5620 100
+rect 5702 134 5736 168
+rect 5702 66 5736 100
+rect 5818 134 5852 168
+rect 5818 66 5852 100
+rect 5904 134 5938 168
+rect 5904 66 5938 100
+rect 5990 134 6024 168
+rect 5990 66 6024 100
+rect 6106 134 6140 168
+rect 6106 66 6140 100
+rect 6222 134 6256 168
+rect 6222 66 6256 100
+rect 6308 134 6342 168
+rect 6308 66 6342 100
+rect 6394 134 6428 168
+rect 6394 66 6428 100
+<< pdiffc >>
+rect 1236 451 1270 485
+rect 1236 383 1270 417
+rect 1322 451 1356 485
+rect 1322 383 1356 417
+rect 1408 451 1442 485
+rect 1408 383 1442 417
+rect 1494 451 1528 485
+rect 1494 383 1528 417
+rect 1580 451 1614 485
+rect 1580 383 1614 417
+rect 1666 451 1700 485
+rect 1666 383 1700 417
+rect 1752 451 1786 485
+rect 1752 383 1786 417
+rect 1838 451 1872 485
+rect 1838 383 1872 417
+rect 1924 451 1958 485
+rect 1924 383 1958 417
+rect 2010 451 2044 485
+rect 2010 383 2044 417
+rect 2096 451 2130 485
+rect 2278 438 2312 472
+rect 2096 383 2130 417
+rect 3174 438 3208 472
+rect 3356 451 3390 485
+rect 3356 383 3390 417
+rect 3442 451 3476 485
+rect 3442 383 3476 417
+rect 3528 451 3562 485
+rect 3528 383 3562 417
+rect 3614 451 3648 485
+rect 3614 383 3648 417
+rect 3700 451 3734 485
+rect 3700 383 3734 417
+rect 3786 451 3820 485
+rect 3786 383 3820 417
+rect 3872 451 3906 485
+rect 3872 383 3906 417
+rect 3958 451 3992 485
+rect 3958 383 3992 417
+rect 4044 451 4078 485
+rect 4044 383 4078 417
+rect 4130 451 4164 485
+rect 4130 383 4164 417
+rect 4216 451 4250 485
+rect 5414 451 5448 485
+rect 4216 383 4250 417
+rect 5414 383 5448 417
+rect 5500 451 5534 485
+rect 5500 383 5534 417
+rect 5586 451 5620 485
+rect 5586 383 5620 417
+rect 5702 451 5736 485
+rect 5702 383 5736 417
+rect 5818 451 5852 485
+rect 5818 383 5852 417
+rect 5904 451 5938 485
+rect 5904 383 5938 417
+rect 5990 451 6024 485
+rect 5990 383 6024 417
+rect 6106 451 6140 485
+rect 6106 383 6140 417
+rect 6222 451 6256 485
+rect 6222 383 6256 417
+rect 6308 451 6342 485
+rect 6308 383 6342 417
+rect 6394 451 6428 485
+rect 6394 383 6428 417
+<< poly >>
+rect 1281 497 1311 523
+rect 1367 497 1397 523
+rect 1453 497 1483 523
+rect 1539 497 1569 523
+rect 1625 497 1655 523
+rect 1711 497 1741 523
+rect 1797 497 1827 523
+rect 1883 497 1913 523
+rect 1969 497 1999 523
+rect 2055 497 2085 523
+rect 2323 497 3163 523
+rect 3401 497 3431 523
+rect 3487 497 3517 523
+rect 3573 497 3603 523
+rect 3659 497 3689 523
+rect 3745 497 3775 523
+rect 3831 497 3861 523
+rect 3917 497 3947 523
+rect 4003 497 4033 523
+rect 4089 497 4119 523
+rect 4175 497 4205 523
+rect 5459 497 5489 523
+rect 5545 497 5575 523
+rect 5631 497 5691 523
+rect 5747 497 5807 523
+rect 5863 497 5893 523
+rect 5949 497 5979 523
+rect 6035 497 6095 523
+rect 6151 497 6211 523
+rect 6267 497 6297 523
+rect 6353 497 6383 523
+rect 1127 417 1193 427
+rect 1127 383 1143 417
+rect 1177 383 1193 417
+rect 1127 360 1193 383
+rect 2173 417 2239 427
+rect 2173 383 2189 417
+rect 2223 383 2239 417
+rect 3247 417 3313 427
+rect 1281 360 1311 375
+rect 1127 330 1311 360
+rect 1367 360 1397 375
+rect 1453 360 1483 375
+rect 1539 360 1569 375
+rect 1625 360 1655 375
+rect 1711 360 1741 375
+rect 1797 360 1827 375
+rect 1883 360 1913 375
+rect 1969 360 1999 375
+rect 1367 330 1999 360
+rect 2055 360 2085 375
+rect 2173 360 2239 383
+rect 2055 330 2239 360
+rect 2323 366 3163 413
+rect 2323 332 2339 366
+rect 2373 365 3163 366
+rect 2373 332 2903 365
+rect 2323 331 2903 332
+rect 2937 331 3075 365
+rect 3109 331 3163 365
+rect 1367 328 1434 330
+rect 1367 294 1383 328
+rect 1417 294 1434 328
+rect 1367 284 1434 294
+rect 1932 328 1999 330
+rect 1932 294 1949 328
+rect 1983 294 1999 328
+rect 2323 321 3163 331
+rect 3247 383 3263 417
+rect 3297 383 3313 417
+rect 3247 360 3313 383
+rect 4799 466 4865 476
+rect 4799 433 4815 466
+rect 4602 432 4815 433
+rect 4849 433 4865 466
+rect 4849 432 5062 433
+rect 4293 417 4359 427
+rect 4293 383 4309 417
+rect 4343 383 4359 417
+rect 3401 360 3431 375
+rect 3247 330 3431 360
+rect 3487 360 3517 375
+rect 3573 360 3603 375
+rect 3659 360 3689 375
+rect 3745 360 3775 375
+rect 3831 360 3861 375
+rect 3917 360 3947 375
+rect 4003 360 4033 375
+rect 4089 360 4119 375
+rect 3487 330 4119 360
+rect 4175 360 4205 375
+rect 4293 360 4359 383
+rect 4602 403 5062 432
+rect 4175 330 4359 360
+rect 4430 335 4460 361
+rect 4516 335 4546 361
+rect 4602 335 4632 403
+rect 4688 335 4718 403
+rect 4774 335 4804 361
+rect 4860 335 4890 361
+rect 4946 335 4976 403
+rect 5032 335 5062 403
+rect 5305 417 5371 427
+rect 5305 383 5321 417
+rect 5355 383 5371 417
+rect 5118 335 5148 361
+rect 5204 335 5234 361
+rect 5305 360 5371 383
+rect 6471 417 6537 427
+rect 6471 383 6487 417
+rect 6521 383 6537 417
+rect 5459 360 5489 375
+rect 3487 328 3554 330
+rect 1477 274 1545 286
+rect 1477 240 1494 274
+rect 1528 240 1545 274
+rect 1821 274 1889 286
+rect 1932 284 1999 294
+rect 1821 240 1838 274
+rect 1872 240 1889 274
+rect 2392 249 2422 321
+rect 2478 249 2508 321
+rect 2564 249 2594 321
+rect 2650 249 2680 321
+rect 3487 294 3503 328
+rect 3537 294 3554 328
+rect 3487 284 3554 294
+rect 4052 328 4119 330
+rect 4052 294 4069 328
+rect 4103 294 4119 328
+rect 4052 284 4119 294
+rect 2797 259 2863 269
+rect 1136 210 1311 240
+rect 1136 176 1202 210
+rect 1281 195 1311 210
+rect 1367 210 1999 240
+rect 1367 195 1397 210
+rect 1453 195 1483 210
+rect 1539 195 1569 210
+rect 1625 195 1655 210
+rect 1711 195 1741 210
+rect 1797 195 1827 210
+rect 1883 195 1913 210
+rect 1969 195 1999 210
+rect 2055 210 2229 240
+rect 2055 195 2085 210
+rect 1136 142 1152 176
+rect 1186 142 1202 176
+rect 1136 132 1202 142
+rect 2163 176 2229 210
+rect 2163 142 2179 176
+rect 2213 142 2229 176
+rect 2163 132 2229 142
+rect 2797 225 2813 259
+rect 2847 233 2863 259
+rect 3149 259 3215 269
+rect 3149 233 3165 259
+rect 2847 225 3165 233
+rect 3199 225 3215 259
+rect 3594 259 3660 269
+rect 3594 232 3610 259
+rect 2797 202 3215 225
+rect 3257 202 3431 232
+rect 2862 187 2892 202
+rect 2948 187 2978 202
+rect 3034 187 3064 202
+rect 3120 187 3150 202
+rect 2392 83 2422 109
+rect 2478 83 2508 109
+rect 2564 83 2594 109
+rect 2650 83 2680 109
+rect 1281 29 1311 55
+rect 1367 29 1397 55
+rect 1453 29 1483 55
+rect 1539 29 1569 55
+rect 1625 29 1655 55
+rect 1711 29 1741 55
+rect 1797 29 1827 55
+rect 1883 29 1913 55
+rect 1969 29 1999 55
+rect 2055 29 2085 55
+rect 3257 168 3323 202
+rect 3401 187 3431 202
+rect 3487 225 3610 232
+rect 3644 232 3660 259
+rect 3946 259 4012 269
+rect 3946 232 3962 259
+rect 3644 225 3962 232
+rect 3996 232 4012 259
+rect 3996 225 4119 232
+rect 3487 202 4119 225
+rect 3487 187 3517 202
+rect 3573 187 3603 202
+rect 3659 187 3689 202
+rect 3745 187 3775 202
+rect 3831 187 3861 202
+rect 3917 187 3947 202
+rect 4003 187 4033 202
+rect 4089 187 4119 202
+rect 4175 202 4350 232
+rect 4175 187 4205 202
+rect 4284 195 4350 202
+rect 3257 134 3273 168
+rect 3307 134 3323 168
+rect 3257 124 3323 134
+rect 4284 161 4300 195
+rect 4334 161 4350 195
+rect 4284 108 4350 161
+rect 5305 330 5489 360
+rect 5545 360 5575 375
+rect 5631 360 5691 375
+rect 5747 360 5807 375
+rect 5863 360 5893 375
+rect 5949 360 5979 375
+rect 6035 360 6095 375
+rect 6151 360 6211 375
+rect 6267 360 6297 375
+rect 5545 330 6297 360
+rect 6353 360 6383 375
+rect 6471 360 6537 383
+rect 6353 330 6537 360
+rect 5545 328 5612 330
+rect 5545 294 5561 328
+rect 5595 294 5612 328
+rect 5545 284 5612 294
+rect 6230 328 6297 330
+rect 6230 294 6247 328
+rect 6281 294 6297 328
+rect 6230 284 6297 294
+rect 5682 259 5748 269
+rect 5682 232 5698 259
+rect 5314 202 5489 232
+rect 5314 195 5380 202
+rect 5314 161 5330 195
+rect 5364 161 5380 195
+rect 5459 187 5489 202
+rect 5545 225 5698 232
+rect 5732 232 5748 259
+rect 6094 259 6160 269
+rect 6094 232 6110 259
+rect 5732 225 6110 232
+rect 6144 232 6160 259
+rect 6144 225 6297 232
+rect 5545 202 6297 225
+rect 5545 187 5575 202
+rect 5631 187 5691 202
+rect 5747 187 5807 202
+rect 5863 187 5893 202
+rect 5949 187 5979 202
+rect 6035 187 6095 202
+rect 6151 187 6211 202
+rect 6267 187 6297 202
+rect 6353 202 6527 232
+rect 6353 187 6383 202
+rect 4430 108 4460 123
+rect 4284 78 4460 108
+rect 4516 51 4546 123
+rect 4602 93 4632 123
+rect 4688 93 4718 123
+rect 4774 95 4804 123
+rect 4860 95 4890 123
+rect 4774 85 4890 95
+rect 4946 93 4976 123
+rect 5032 93 5062 123
+rect 4774 51 4815 85
+rect 4849 51 4890 85
+rect 5118 51 5148 123
+rect 5204 108 5234 123
+rect 5314 108 5380 161
+rect 5204 78 5380 108
+rect 2862 21 2892 47
+rect 2948 21 2978 47
+rect 3034 21 3064 47
+rect 3120 21 3150 47
+rect 3401 21 3431 47
+rect 3487 21 3517 47
+rect 3573 21 3603 47
+rect 3659 21 3689 47
+rect 3745 21 3775 47
+rect 3831 21 3861 47
+rect 3917 21 3947 47
+rect 4003 21 4033 47
+rect 4089 21 4119 47
+rect 4175 21 4205 47
+rect 4516 21 5148 51
+rect 6461 168 6527 202
+rect 6461 134 6477 168
+rect 6511 134 6527 168
+rect 6461 124 6527 134
+rect 5459 21 5489 47
+rect 5545 21 5575 47
+rect 5631 21 5691 47
+rect 5747 21 5807 47
+rect 5863 21 5893 47
+rect 5949 21 5979 47
+rect 6035 21 6095 47
+rect 6151 21 6211 47
+rect 6267 21 6297 47
+rect 6353 21 6383 47
+<< polycont >>
+rect 1143 383 1177 417
+rect 2189 383 2223 417
+rect 2339 332 2373 366
+rect 2903 331 2937 365
+rect 3075 331 3109 365
+rect 1383 294 1417 328
+rect 1949 294 1983 328
+rect 3263 383 3297 417
+rect 4815 432 4849 466
+rect 4309 383 4343 417
+rect 5321 383 5355 417
+rect 6487 383 6521 417
+rect 1494 240 1528 274
+rect 1838 240 1872 274
+rect 3503 294 3537 328
+rect 4069 294 4103 328
+rect 1152 142 1186 176
+rect 2179 142 2213 176
+rect 2813 225 2847 259
+rect 3165 225 3199 259
+rect 3610 225 3644 259
+rect 3962 225 3996 259
+rect 3273 134 3307 168
+rect 4300 161 4334 195
+rect 5561 294 5595 328
+rect 6247 294 6281 328
+rect 5330 161 5364 195
+rect 5698 225 5732 259
+rect 6110 225 6144 259
+rect 4815 51 4849 85
+rect 6477 134 6511 168
+<< xpolycontact >>
+rect 27 75 459 357
+rect 599 75 1031 357
+<< xpolyres >>
+rect 459 75 599 357
+<< locali >>
+rect 0 527 29 561
+rect 63 527 121 561
+rect 155 527 213 561
+rect 247 527 305 561
+rect 339 527 397 561
+rect 431 527 489 561
+rect 523 527 581 561
+rect 615 527 673 561
+rect 707 527 765 561
+rect 799 527 857 561
+rect 891 527 949 561
+rect 983 527 1041 561
+rect 1075 527 1133 561
+rect 1167 527 1225 561
+rect 1259 527 1317 561
+rect 1351 527 1409 561
+rect 1443 527 1501 561
+rect 1535 527 1593 561
+rect 1627 527 1685 561
+rect 1719 527 1777 561
+rect 1811 527 1869 561
+rect 1903 527 1961 561
+rect 1995 527 2053 561
+rect 2087 527 2145 561
+rect 2179 527 2237 561
+rect 2271 527 2329 561
+rect 2363 527 2421 561
+rect 2455 527 2513 561
+rect 2547 527 2605 561
+rect 2639 527 2697 561
+rect 2731 527 2789 561
+rect 2823 527 2881 561
+rect 2915 527 2973 561
+rect 3007 527 3065 561
+rect 3099 527 3157 561
+rect 3191 527 3249 561
+rect 3283 527 3341 561
+rect 3375 527 3433 561
+rect 3467 527 3525 561
+rect 3559 527 3617 561
+rect 3651 527 3709 561
+rect 3743 527 3801 561
+rect 3835 527 3893 561
+rect 3927 527 3985 561
+rect 4019 527 4077 561
+rect 4111 527 4169 561
+rect 4203 527 4261 561
+rect 4295 527 4353 561
+rect 4387 527 4445 561
+rect 4479 527 4537 561
+rect 4571 527 4629 561
+rect 4663 527 4721 561
+rect 4755 527 4813 561
+rect 4847 527 4905 561
+rect 4939 527 4997 561
+rect 5031 527 5089 561
+rect 5123 527 5181 561
+rect 5215 527 5273 561
+rect 5307 527 5365 561
+rect 5399 527 5457 561
+rect 5491 527 5549 561
+rect 5583 527 5641 561
+rect 5675 527 5733 561
+rect 5767 527 5825 561
+rect 5859 527 5917 561
+rect 5951 527 6009 561
+rect 6043 527 6101 561
+rect 6135 527 6193 561
+rect 6227 527 6285 561
+rect 6319 527 6377 561
+rect 6411 527 6469 561
+rect 6503 527 6561 561
+rect 6595 527 6653 561
+rect 6687 527 6716 561
+rect 1236 485 1270 527
+rect 1408 485 1442 527
+rect 1580 485 1614 527
+rect 1752 485 1786 527
+rect 1924 485 1958 527
+rect 2096 485 2130 527
+rect 1306 451 1322 485
+rect 1356 451 1372 485
+rect 1478 451 1494 485
+rect 1528 451 1544 485
+rect 1650 451 1666 485
+rect 1700 451 1716 485
+rect 1822 451 1838 485
+rect 1872 451 1888 485
+rect 1994 451 2010 485
+rect 2044 451 2061 485
+rect 1236 417 1270 451
+rect 1322 417 1356 451
+rect 1127 383 1143 417
+rect 1177 383 1236 417
+rect 1270 383 1286 417
+rect 1322 364 1356 383
+rect 1408 417 1442 451
+rect 1408 367 1442 383
+rect 1322 328 1356 330
+rect 1322 294 1383 328
+rect 1417 294 1434 328
+rect 1494 274 1528 383
+rect 1580 417 1614 451
+rect 1580 366 1614 383
+rect 1666 417 1700 451
+rect 1666 364 1700 383
+rect 1752 417 1786 451
+rect 1752 367 1786 383
+rect 1838 274 1872 383
+rect 1924 417 1958 451
+rect 1924 367 1958 383
+rect 2010 417 2044 451
+rect 2096 417 2130 451
+rect 2278 472 2312 488
+rect 2189 417 2223 433
+rect 2080 383 2096 417
+rect 2130 383 2189 417
+rect 2010 364 2044 383
+rect 2189 367 2223 383
+rect 2278 366 2312 438
+rect 3174 472 3208 527
+rect 3174 422 3208 438
+rect 3356 485 3390 527
+rect 3528 485 3562 527
+rect 3700 485 3734 527
+rect 3872 485 3906 527
+rect 4044 485 4078 527
+rect 4216 485 4250 527
+rect 3425 451 3442 485
+rect 3476 451 3492 485
+rect 3598 451 3614 485
+rect 3648 451 3664 485
+rect 3770 451 3786 485
+rect 3820 451 3836 485
+rect 3942 451 3958 485
+rect 3992 451 4008 485
+rect 4114 451 4130 485
+rect 4164 451 4180 485
+rect 5414 485 5448 527
+rect 5586 485 5620 527
+rect 5818 485 5852 527
+rect 5990 485 6024 527
+rect 6222 485 6256 527
+rect 6394 485 6428 527
+rect 3263 417 3297 433
+rect 3356 417 3390 451
+rect 3442 417 3476 451
+rect 3297 383 3356 417
+rect 3390 383 3406 417
+rect 2278 332 2339 366
+rect 2373 332 2389 366
+rect 2903 365 2937 381
+rect 2010 328 2044 330
+rect 1932 294 1949 328
+rect 1983 294 2044 328
+rect 1478 240 1494 274
+rect 1528 240 1544 274
+rect 1822 240 1838 274
+rect 1872 240 1888 274
+rect 2381 264 2847 298
+rect 2347 230 2381 264
+rect 2519 230 2553 264
+rect 2691 230 2725 264
+rect 2417 196 2433 230
+rect 2467 196 2483 230
+rect 2589 196 2605 230
+rect 2639 196 2655 230
+rect 2813 259 2847 264
+rect 2813 209 2847 225
+rect 1136 142 1152 176
+rect 1186 142 1236 176
+rect 1270 142 1286 176
+rect 1236 108 1270 142
+rect 27 17 459 75
+rect 1236 17 1270 74
+rect 1322 108 1356 142
+rect 1322 58 1356 74
+rect 1408 176 1442 192
+rect 1408 116 1442 142
+rect 1408 58 1442 74
+rect 1494 108 1528 142
+rect 1494 58 1528 74
+rect 1580 176 1614 192
+rect 1580 116 1614 142
+rect 1580 58 1614 74
+rect 1666 108 1700 142
+rect 1666 58 1700 74
+rect 1752 176 1786 192
+rect 1752 116 1786 142
+rect 1752 58 1786 74
+rect 1838 108 1872 142
+rect 1838 58 1872 74
+rect 1924 176 1958 192
+rect 1924 116 1958 142
+rect 1924 58 1958 74
+rect 2080 142 2096 176
+rect 2130 142 2179 176
+rect 2213 142 2229 176
+rect 2347 162 2381 196
+rect 2433 162 2467 196
+rect 2519 162 2553 196
+rect 2605 162 2639 196
+rect 2691 162 2725 196
+rect 2903 168 2937 331
+rect 3075 365 3109 381
+rect 3263 367 3297 383
+rect 3075 168 3109 331
+rect 3442 328 3476 383
+rect 3528 417 3562 451
+rect 3528 367 3562 383
+rect 3614 417 3648 451
+rect 3700 417 3734 451
+rect 3700 367 3734 383
+rect 3786 417 3820 451
+rect 3786 328 3820 383
+rect 3872 417 3906 451
+rect 3872 366 3906 383
+rect 3958 417 3992 451
+rect 4044 417 4078 451
+rect 4044 367 4078 383
+rect 4130 417 4164 451
+rect 4216 417 4250 451
+rect 4799 466 4865 476
+rect 4799 432 4815 466
+rect 4849 432 4865 466
+rect 5484 451 5500 485
+rect 5534 451 5550 485
+rect 5686 451 5702 485
+rect 5736 451 5752 485
+rect 5888 451 5904 485
+rect 5938 451 5954 485
+rect 6090 451 6106 485
+rect 6140 451 6156 485
+rect 6292 451 6308 485
+rect 6342 451 6359 485
+rect 5414 417 5448 451
+rect 5500 417 5534 451
+rect 4200 383 4216 417
+rect 4250 383 4309 417
+rect 4343 383 4359 417
+rect 4130 328 4164 383
+rect 4427 364 5237 398
+rect 5305 383 5321 417
+rect 5355 383 5414 417
+rect 5448 383 5464 417
+rect 3442 294 3503 328
+rect 3537 294 4069 328
+rect 4103 294 4130 328
+rect 4385 314 4419 330
+rect 3165 259 3199 275
+rect 3199 225 3610 259
+rect 3644 225 3962 259
+rect 3996 225 4164 259
+rect 3165 209 3199 225
+rect 3273 168 3307 184
+rect 3442 168 3476 225
+rect 2010 108 2044 142
+rect 2010 58 2044 74
+rect 2096 108 2130 142
+rect 2096 17 2130 74
+rect 2263 94 2297 158
+rect 2331 128 2347 162
+rect 2381 128 2397 162
+rect 2503 128 2519 162
+rect 2553 128 2569 162
+rect 2675 128 2691 162
+rect 2725 128 2741 162
+rect 2801 134 2817 168
+rect 2851 134 2867 168
+rect 2973 134 2989 168
+rect 3023 134 3039 168
+rect 3145 134 3161 168
+rect 3195 134 3211 168
+rect 3307 134 3356 168
+rect 3390 134 3406 168
+rect 2433 94 2467 128
+rect 2605 94 2639 128
+rect 2263 60 2639 94
+rect 2817 100 2851 134
+rect 2903 100 2937 134
+rect 2989 100 3023 134
+rect 3075 100 3109 134
+rect 3161 100 3195 134
+rect 3273 118 3307 134
+rect 2887 66 2903 100
+rect 2937 66 2953 100
+rect 3059 66 3075 100
+rect 3109 66 3125 100
+rect 2817 17 2851 66
+rect 2989 17 3023 66
+rect 3161 17 3195 66
+rect 3356 100 3390 134
+rect 3442 101 3476 134
+rect 3528 168 3562 184
+rect 3426 100 3492 101
+rect 3426 66 3442 100
+rect 3476 66 3492 100
+rect 3528 100 3562 134
+rect 3614 168 3648 184
+rect 3614 126 3648 134
+rect 3356 17 3390 66
+rect 3528 17 3562 66
+rect 3598 66 3614 93
+rect 3700 168 3734 184
+rect 3700 100 3734 134
+rect 3648 66 3664 93
+rect 3598 59 3664 66
+rect 3786 168 3820 225
+rect 3786 100 3820 134
+rect 3700 17 3734 66
+rect 3770 66 3786 93
+rect 3872 168 3906 184
+rect 3872 100 3906 134
+rect 3958 168 3992 184
+rect 3958 126 3992 134
+rect 4044 168 4078 184
+rect 4044 100 4078 134
+rect 4130 168 4164 225
+rect 4385 246 4419 280
+rect 4385 195 4419 212
+rect 4130 101 4164 134
+rect 4216 168 4300 195
+rect 4250 161 4300 168
+rect 4334 178 4419 195
+rect 4334 161 4385 178
+rect 3820 66 3836 93
+rect 3770 59 3836 66
+rect 3942 66 3958 100
+rect 3992 66 4008 100
+rect 4114 100 4180 101
+rect 4114 66 4130 100
+rect 4164 66 4180 100
+rect 4216 100 4250 134
+rect 4385 128 4419 144
+rect 4471 328 4505 330
+rect 4471 246 4505 280
+rect 4471 178 4505 212
+rect 4471 128 4505 144
+rect 4557 314 4591 330
+rect 4557 246 4591 280
+rect 4557 178 4591 212
+rect 3872 17 3906 66
+rect 4044 17 4078 66
+rect 4216 17 4250 66
+rect 4557 94 4591 144
+rect 4643 314 4677 330
+rect 4643 260 4677 280
+rect 4643 178 4677 212
+rect 4643 128 4677 144
+rect 4729 314 4763 330
+rect 4729 246 4763 280
+rect 4729 192 4763 212
+rect 4729 94 4763 144
+rect 4815 328 4849 330
+rect 4815 246 4849 280
+rect 4815 178 4849 212
+rect 4815 128 4849 144
+rect 4901 314 4935 330
+rect 4901 246 4935 280
+rect 4901 192 4935 212
+rect 4901 94 4935 144
+rect 4987 314 5021 330
+rect 4987 260 5021 280
+rect 4987 178 5021 212
+rect 4987 128 5021 144
+rect 5073 314 5107 330
+rect 5073 246 5107 280
+rect 5073 178 5107 212
+rect 5073 94 5107 144
+rect 5159 329 5193 330
+rect 5159 246 5193 280
+rect 5159 178 5193 212
+rect 5159 128 5193 144
+rect 5245 314 5279 330
+rect 5500 328 5534 383
+rect 5586 417 5620 451
+rect 5586 367 5620 383
+rect 5702 367 5736 383
+rect 5818 417 5852 451
+rect 5818 366 5852 383
+rect 5904 417 5938 451
+rect 5904 328 5938 383
+rect 5990 417 6024 451
+rect 5990 367 6024 383
+rect 6106 367 6140 383
+rect 6222 417 6256 451
+rect 6222 367 6256 383
+rect 6308 417 6342 451
+rect 6394 417 6428 451
+rect 6605 417 6699 451
+rect 6378 383 6394 417
+rect 6428 383 6487 417
+rect 6521 383 6537 417
+rect 6308 328 6342 383
+rect 5534 294 5561 328
+rect 5595 294 6247 328
+rect 6281 294 6342 328
+rect 5245 246 5279 280
+rect 5245 195 5279 212
+rect 5500 225 5575 259
+rect 5609 225 5698 259
+rect 5732 225 6110 259
+rect 6144 225 6342 259
+rect 5245 178 5330 195
+rect 5279 161 5330 178
+rect 5364 168 5448 195
+rect 5364 161 5414 168
+rect 5245 128 5279 144
+rect 4334 93 4763 94
+rect 4300 60 4763 93
+rect 4799 85 4865 94
+rect 4799 51 4815 85
+rect 4849 51 4865 85
+rect 4901 60 5107 94
+rect 5414 100 5448 134
+rect 5500 168 5534 225
+rect 5500 101 5534 134
+rect 5586 168 5620 184
+rect 5484 100 5550 101
+rect 5484 66 5500 100
+rect 5534 66 5550 100
+rect 5586 100 5620 134
+rect 5702 168 5736 184
+rect 5702 127 5736 134
+rect 5818 168 5852 184
+rect 5818 100 5852 134
+rect 5904 168 5938 225
+rect 5904 100 5938 134
+rect 5990 168 6024 184
+rect 5990 100 6024 134
+rect 6106 168 6140 184
+rect 6106 127 6140 134
+rect 6222 168 6256 184
+rect 6222 100 6256 134
+rect 6308 168 6342 225
+rect 6378 134 6394 168
+rect 6428 134 6477 168
+rect 6511 134 6527 168
+rect 6308 101 6342 134
+rect 5686 66 5702 100
+rect 5736 66 5752 100
+rect 5888 66 5904 100
+rect 5938 66 5954 100
+rect 6090 66 6106 100
+rect 6140 66 6156 100
+rect 6292 100 6358 101
+rect 6292 66 6308 100
+rect 6342 66 6358 100
+rect 6394 100 6428 134
+rect 6647 128 6699 417
+rect 6571 127 6699 128
+rect 6605 93 6699 127
+rect 5414 17 5448 66
+rect 5586 17 5620 66
+rect 5818 17 5852 66
+rect 5990 17 6024 66
+rect 6222 17 6256 66
+rect 6394 17 6428 66
+rect 0 -17 29 17
+rect 63 -17 121 17
+rect 155 -17 213 17
+rect 247 -17 305 17
+rect 339 -17 397 17
+rect 431 -17 489 17
+rect 523 -17 581 17
+rect 615 -17 673 17
+rect 707 -17 765 17
+rect 799 -17 857 17
+rect 891 -17 949 17
+rect 983 -17 1041 17
+rect 1075 -17 1133 17
+rect 1167 -17 1225 17
+rect 1259 -17 1317 17
+rect 1351 -17 1409 17
+rect 1443 -17 1501 17
+rect 1535 -17 1593 17
+rect 1627 -17 1685 17
+rect 1719 -17 1777 17
+rect 1811 -17 1869 17
+rect 1903 -17 1961 17
+rect 1995 -17 2053 17
+rect 2087 -17 2145 17
+rect 2179 -17 2237 17
+rect 2271 -17 2329 17
+rect 2363 -17 2421 17
+rect 2455 -17 2513 17
+rect 2547 -17 2605 17
+rect 2639 -17 2697 17
+rect 2731 -17 2789 17
+rect 2823 -17 2881 17
+rect 2915 -17 2973 17
+rect 3007 -17 3065 17
+rect 3099 -17 3157 17
+rect 3191 -17 3249 17
+rect 3283 -17 3341 17
+rect 3375 -17 3433 17
+rect 3467 -17 3525 17
+rect 3559 -17 3617 17
+rect 3651 -17 3709 17
+rect 3743 -17 3801 17
+rect 3835 -17 3893 17
+rect 3927 -17 3985 17
+rect 4019 -17 4077 17
+rect 4111 -17 4169 17
+rect 4203 -17 4261 17
+rect 4295 -17 4353 17
+rect 4387 -17 4445 17
+rect 4479 -17 4537 17
+rect 4571 -17 4629 17
+rect 4663 -17 4721 17
+rect 4755 -17 4813 17
+rect 4847 -17 4905 17
+rect 4939 -17 4997 17
+rect 5031 -17 5089 17
+rect 5123 -17 5181 17
+rect 5215 -17 5273 17
+rect 5307 -17 5365 17
+rect 5399 -17 5457 17
+rect 5491 -17 5549 17
+rect 5583 -17 5641 17
+rect 5675 -17 5733 17
+rect 5767 -17 5825 17
+rect 5859 -17 5917 17
+rect 5951 -17 6009 17
+rect 6043 -17 6101 17
+rect 6135 -17 6193 17
+rect 6227 -17 6285 17
+rect 6319 -17 6377 17
+rect 6411 -17 6469 17
+rect 6503 -17 6561 17
+rect 6595 -17 6653 17
+rect 6687 -17 6716 17
+<< viali >>
+rect 29 527 63 561
+rect 121 527 155 561
+rect 213 527 247 561
+rect 305 527 339 561
+rect 397 527 431 561
+rect 489 527 523 561
+rect 581 527 615 561
+rect 673 527 707 561
+rect 765 527 799 561
+rect 857 527 891 561
+rect 949 527 983 561
+rect 1041 527 1075 561
+rect 1133 527 1167 561
+rect 1225 527 1259 561
+rect 1317 527 1351 561
+rect 1409 527 1443 561
+rect 1501 527 1535 561
+rect 1593 527 1627 561
+rect 1685 527 1719 561
+rect 1777 527 1811 561
+rect 1869 527 1903 561
+rect 1961 527 1995 561
+rect 2053 527 2087 561
+rect 2145 527 2179 561
+rect 2237 527 2271 561
+rect 2329 527 2363 561
+rect 2421 527 2455 561
+rect 2513 527 2547 561
+rect 2605 527 2639 561
+rect 2697 527 2731 561
+rect 2789 527 2823 561
+rect 2881 527 2915 561
+rect 2973 527 3007 561
+rect 3065 527 3099 561
+rect 3157 527 3191 561
+rect 3249 527 3283 561
+rect 3341 527 3375 561
+rect 3433 527 3467 561
+rect 3525 527 3559 561
+rect 3617 527 3651 561
+rect 3709 527 3743 561
+rect 3801 527 3835 561
+rect 3893 527 3927 561
+rect 3985 527 4019 561
+rect 4077 527 4111 561
+rect 4169 527 4203 561
+rect 4261 527 4295 561
+rect 4353 527 4387 561
+rect 4445 527 4479 561
+rect 4537 527 4571 561
+rect 4629 527 4663 561
+rect 4721 527 4755 561
+rect 4813 527 4847 561
+rect 4905 527 4939 561
+rect 4997 527 5031 561
+rect 5089 527 5123 561
+rect 5181 527 5215 561
+rect 5273 527 5307 561
+rect 5365 527 5399 561
+rect 5457 527 5491 561
+rect 5549 527 5583 561
+rect 5641 527 5675 561
+rect 5733 527 5767 561
+rect 5825 527 5859 561
+rect 5917 527 5951 561
+rect 6009 527 6043 561
+rect 6101 527 6135 561
+rect 6193 527 6227 561
+rect 6285 527 6319 561
+rect 6377 527 6411 561
+rect 6469 527 6503 561
+rect 6561 527 6595 561
+rect 6653 527 6687 561
+rect 1494 417 1528 451
+rect 1322 330 1356 364
+rect 1838 417 1872 451
+rect 1666 330 1700 364
+rect 2010 330 2044 364
+rect 2347 264 2381 298
+rect 1322 176 1356 192
+rect 1322 158 1356 176
+rect 997 82 1031 116
+rect 1408 108 1442 116
+rect 1408 82 1442 108
+rect 1494 176 1528 192
+rect 1494 158 1528 176
+rect 1580 108 1614 116
+rect 1580 82 1614 108
+rect 1666 176 1700 192
+rect 1666 158 1700 176
+rect 1752 108 1786 116
+rect 1752 82 1786 108
+rect 1838 176 1872 192
+rect 1838 158 1872 176
+rect 1924 108 1958 116
+rect 1924 82 1958 108
+rect 2010 176 2044 192
+rect 2010 158 2044 176
+rect 2263 158 2297 192
+rect 3614 383 3648 398
+rect 3614 364 3648 383
+rect 3958 383 3992 398
+rect 3958 364 3992 383
+rect 4393 364 4427 398
+rect 5237 364 5271 398
+rect 4130 294 4164 328
+rect 3614 100 3648 126
+rect 3614 92 3648 100
+rect 3958 100 3992 126
+rect 3958 92 3992 100
+rect 4471 314 4505 328
+rect 4471 294 4505 314
+rect 4300 93 4334 127
+rect 4643 246 4677 260
+rect 4643 226 4677 246
+rect 4729 178 4763 192
+rect 4729 158 4763 178
+rect 4815 314 4849 328
+rect 4815 294 4849 314
+rect 4901 178 4935 192
+rect 4901 158 4935 178
+rect 4987 246 5021 260
+rect 4987 226 5021 246
+rect 5159 314 5193 329
+rect 5159 295 5193 314
+rect 5702 417 5736 451
+rect 6106 417 6140 451
+rect 6571 417 6605 451
+rect 5500 294 5534 328
+rect 5575 225 5609 259
+rect 5702 100 5736 127
+rect 6106 100 6140 127
+rect 5702 93 5736 100
+rect 6106 93 6140 100
+rect 6571 93 6605 127
+rect 29 -17 63 17
+rect 121 -17 155 17
+rect 213 -17 247 17
+rect 305 -17 339 17
+rect 397 -17 431 17
+rect 489 -17 523 17
+rect 581 -17 615 17
+rect 673 -17 707 17
+rect 765 -17 799 17
+rect 857 -17 891 17
+rect 949 -17 983 17
+rect 1041 -17 1075 17
+rect 1133 -17 1167 17
+rect 1225 -17 1259 17
+rect 1317 -17 1351 17
+rect 1409 -17 1443 17
+rect 1501 -17 1535 17
+rect 1593 -17 1627 17
+rect 1685 -17 1719 17
+rect 1777 -17 1811 17
+rect 1869 -17 1903 17
+rect 1961 -17 1995 17
+rect 2053 -17 2087 17
+rect 2145 -17 2179 17
+rect 2237 -17 2271 17
+rect 2329 -17 2363 17
+rect 2421 -17 2455 17
+rect 2513 -17 2547 17
+rect 2605 -17 2639 17
+rect 2697 -17 2731 17
+rect 2789 -17 2823 17
+rect 2881 -17 2915 17
+rect 2973 -17 3007 17
+rect 3065 -17 3099 17
+rect 3157 -17 3191 17
+rect 3249 -17 3283 17
+rect 3341 -17 3375 17
+rect 3433 -17 3467 17
+rect 3525 -17 3559 17
+rect 3617 -17 3651 17
+rect 3709 -17 3743 17
+rect 3801 -17 3835 17
+rect 3893 -17 3927 17
+rect 3985 -17 4019 17
+rect 4077 -17 4111 17
+rect 4169 -17 4203 17
+rect 4261 -17 4295 17
+rect 4353 -17 4387 17
+rect 4445 -17 4479 17
+rect 4537 -17 4571 17
+rect 4629 -17 4663 17
+rect 4721 -17 4755 17
+rect 4813 -17 4847 17
+rect 4905 -17 4939 17
+rect 4997 -17 5031 17
+rect 5089 -17 5123 17
+rect 5181 -17 5215 17
+rect 5273 -17 5307 17
+rect 5365 -17 5399 17
+rect 5457 -17 5491 17
+rect 5549 -17 5583 17
+rect 5641 -17 5675 17
+rect 5733 -17 5767 17
+rect 5825 -17 5859 17
+rect 5917 -17 5951 17
+rect 6009 -17 6043 17
+rect 6101 -17 6135 17
+rect 6193 -17 6227 17
+rect 6285 -17 6319 17
+rect 6377 -17 6411 17
+rect 6469 -17 6503 17
+rect 6561 -17 6595 17
+rect 6653 -17 6687 17
+<< metal1 >>
+rect 0 561 6716 592
+rect 0 527 29 561
+rect 63 527 121 561
+rect 155 527 213 561
+rect 247 527 305 561
+rect 339 527 397 561
+rect 431 527 489 561
+rect 523 527 581 561
+rect 615 527 673 561
+rect 707 527 765 561
+rect 799 527 857 561
+rect 891 527 949 561
+rect 983 527 1041 561
+rect 1075 527 1133 561
+rect 1167 527 1225 561
+rect 1259 527 1317 561
+rect 1351 527 1409 561
+rect 1443 527 1501 561
+rect 1535 527 1593 561
+rect 1627 527 1685 561
+rect 1719 527 1777 561
+rect 1811 527 1869 561
+rect 1903 527 1961 561
+rect 1995 527 2053 561
+rect 2087 527 2145 561
+rect 2179 527 2237 561
+rect 2271 527 2329 561
+rect 2363 527 2421 561
+rect 2455 527 2513 561
+rect 2547 527 2605 561
+rect 2639 527 2697 561
+rect 2731 527 2789 561
+rect 2823 527 2881 561
+rect 2915 527 2973 561
+rect 3007 527 3065 561
+rect 3099 527 3157 561
+rect 3191 527 3249 561
+rect 3283 527 3341 561
+rect 3375 527 3433 561
+rect 3467 527 3525 561
+rect 3559 527 3617 561
+rect 3651 527 3709 561
+rect 3743 527 3801 561
+rect 3835 527 3893 561
+rect 3927 527 3985 561
+rect 4019 527 4077 561
+rect 4111 527 4169 561
+rect 4203 527 4261 561
+rect 4295 527 4353 561
+rect 4387 527 4445 561
+rect 4479 527 4537 561
+rect 4571 527 4629 561
+rect 4663 527 4721 561
+rect 4755 527 4813 561
+rect 4847 527 4905 561
+rect 4939 527 4997 561
+rect 5031 527 5089 561
+rect 5123 527 5181 561
+rect 5215 527 5273 561
+rect 5307 527 5365 561
+rect 5399 527 5457 561
+rect 5491 527 5549 561
+rect 5583 527 5641 561
+rect 5675 527 5733 561
+rect 5767 527 5825 561
+rect 5859 527 5917 561
+rect 5951 527 6009 561
+rect 6043 527 6101 561
+rect 6135 527 6193 561
+rect 6227 527 6285 561
+rect 6319 527 6377 561
+rect 6411 527 6469 561
+rect 6503 527 6561 561
+rect 6595 527 6653 561
+rect 6687 527 6716 561
+rect 0 496 6716 527
+rect 1482 451 1540 457
+rect 1482 417 1494 451
+rect 1528 448 1540 451
+rect 1826 451 1884 457
+rect 1826 448 1838 451
+rect 1528 420 1838 448
+rect 1528 417 1540 420
+rect 1482 411 1540 417
+rect 1826 417 1838 420
+rect 1872 448 1884 451
+rect 5690 451 5748 457
+rect 1872 420 2378 448
+rect 1872 417 1884 420
+rect 1826 411 1884 417
+rect 1316 364 1362 376
+rect 1316 330 1322 364
+rect 1356 330 1362 364
+rect 1316 318 1362 330
+rect 1660 364 1706 376
+rect 1660 330 1666 364
+rect 1700 330 1706 364
+rect 1660 318 1706 330
+rect 2004 364 2050 376
+rect 2004 330 2010 364
+rect 2044 330 2050 364
+rect 2004 318 2050 330
+rect 1325 204 1353 318
+rect 1669 204 1697 318
+rect 2013 204 2041 318
+rect 2350 310 2378 420
+rect 5690 417 5702 451
+rect 5736 448 5748 451
+rect 6094 451 6152 457
+rect 6094 448 6106 451
+rect 5736 420 6106 448
+rect 5736 417 5748 420
+rect 5690 411 5748 417
+rect 6094 417 6106 420
+rect 6140 448 6152 451
+rect 6559 451 6617 457
+rect 6559 448 6571 451
+rect 6140 420 6571 448
+rect 6140 417 6152 420
+rect 6094 411 6152 417
+rect 6559 417 6571 420
+rect 6605 417 6617 451
+rect 6559 411 6617 417
+rect 3602 398 3660 404
+rect 3602 364 3614 398
+rect 3648 395 3660 398
+rect 3946 398 4004 404
+rect 3946 395 3958 398
+rect 3648 367 3958 395
+rect 3648 364 3660 367
+rect 3602 358 3660 364
+rect 3946 364 3958 367
+rect 3992 395 4004 398
+rect 4381 398 4439 404
+rect 4381 395 4393 398
+rect 3992 367 4393 395
+rect 3992 364 4004 367
+rect 3946 358 4004 364
+rect 4381 364 4393 367
+rect 4427 364 4439 398
+rect 4381 358 4439 364
+rect 5225 398 5283 404
+rect 5225 364 5237 398
+rect 5271 395 5283 398
+rect 5271 367 5607 395
+rect 5271 364 5283 367
+rect 5225 358 5283 364
+rect 4118 328 4176 334
+rect 2341 298 2387 310
+rect 2341 264 2347 298
+rect 2381 264 2387 298
+rect 4118 294 4130 328
+rect 4164 325 4176 328
+rect 4459 328 4517 334
+rect 4459 325 4471 328
+rect 4164 297 4471 325
+rect 4164 294 4176 297
+rect 4118 288 4176 294
+rect 4459 294 4471 297
+rect 4505 325 4517 328
+rect 4803 328 4862 334
+rect 4803 325 4815 328
+rect 4505 297 4815 325
+rect 4505 294 4517 297
+rect 4459 288 4517 294
+rect 4803 294 4815 297
+rect 4849 325 4862 328
+rect 5147 329 5206 335
+rect 5147 325 5159 329
+rect 4849 297 5159 325
+rect 4849 294 4862 297
+rect 4803 288 4862 294
+rect 5147 295 5159 297
+rect 5193 295 5206 329
+rect 5488 328 5546 334
+rect 5488 326 5500 328
+rect 5147 289 5206 295
+rect 5234 297 5500 326
+rect 2341 252 2387 264
+rect 4631 260 4690 266
+rect 4631 226 4643 260
+rect 4677 257 4690 260
+rect 4975 260 5033 266
+rect 4975 257 4987 260
+rect 4677 229 4987 257
+rect 4677 226 4690 229
+rect 4631 220 4690 226
+rect 4975 226 4987 229
+rect 5021 257 5033 260
+rect 5234 257 5262 297
+rect 5488 294 5500 297
+rect 5534 294 5546 328
+rect 5488 288 5546 294
+rect 5578 271 5607 367
+rect 5021 229 5262 257
+rect 5569 259 5615 271
+rect 5021 226 5033 229
+rect 4975 220 5033 226
+rect 5569 225 5575 259
+rect 5609 225 5615 259
+rect 5569 213 5615 225
+rect 1316 192 1362 204
+rect 1316 158 1322 192
+rect 1356 189 1362 192
+rect 1488 192 1534 204
+rect 1488 189 1494 192
+rect 1356 161 1494 189
+rect 1356 158 1362 161
+rect 1316 146 1362 158
+rect 1488 158 1494 161
+rect 1528 189 1534 192
+rect 1660 192 1706 204
+rect 1660 189 1666 192
+rect 1528 161 1666 189
+rect 1528 158 1534 161
+rect 1488 146 1534 158
+rect 1660 158 1666 161
+rect 1700 189 1706 192
+rect 1832 192 1878 204
+rect 1832 189 1838 192
+rect 1700 161 1838 189
+rect 1700 158 1706 161
+rect 1660 146 1706 158
+rect 1832 158 1838 161
+rect 1872 189 1878 192
+rect 2004 192 2050 204
+rect 2004 189 2010 192
+rect 1872 161 2010 189
+rect 1872 158 1878 161
+rect 1832 146 1878 158
+rect 2004 158 2010 161
+rect 2044 189 2050 192
+rect 2257 192 2303 204
+rect 2257 189 2263 192
+rect 2044 161 2263 189
+rect 2044 158 2050 161
+rect 2004 146 2050 158
+rect 2257 158 2263 161
+rect 2297 158 2303 192
+rect 2257 146 2303 158
+rect 4717 192 4775 198
+rect 4717 158 4729 192
+rect 4763 189 4775 192
+rect 4889 192 4947 198
+rect 4889 189 4901 192
+rect 4763 161 4901 189
+rect 4763 158 4775 161
+rect 4717 152 4775 158
+rect 4889 158 4901 161
+rect 4935 158 4947 192
+rect 4889 152 4947 158
+rect 3602 126 3660 132
+rect 985 116 1043 122
+rect 985 82 997 116
+rect 1031 113 1043 116
+rect 1396 116 1454 122
+rect 1396 113 1408 116
+rect 1031 85 1408 113
+rect 1031 82 1043 85
+rect 985 76 1043 82
+rect 1396 82 1408 85
+rect 1442 113 1454 116
+rect 1568 116 1626 122
+rect 1568 113 1580 116
+rect 1442 85 1580 113
+rect 1442 82 1454 85
+rect 1396 76 1454 82
+rect 1568 82 1580 85
+rect 1614 113 1626 116
+rect 1740 116 1798 122
+rect 1740 113 1752 116
+rect 1614 85 1752 113
+rect 1614 82 1626 85
+rect 1568 76 1626 82
+rect 1740 82 1752 85
+rect 1786 113 1798 116
+rect 1912 116 1970 122
+rect 1912 113 1924 116
+rect 1786 85 1924 113
+rect 1786 82 1798 85
+rect 1740 76 1798 82
+rect 1912 82 1924 85
+rect 1958 82 1970 116
+rect 3602 92 3614 126
+rect 3648 123 3660 126
+rect 3946 126 4004 132
+rect 3946 123 3958 126
+rect 3648 95 3958 123
+rect 3648 92 3660 95
+rect 3602 86 3660 92
+rect 3946 92 3958 95
+rect 3992 123 4004 126
+rect 4288 127 4346 133
+rect 4288 123 4300 127
+rect 3992 95 4300 123
+rect 3992 92 4004 95
+rect 3946 86 4004 92
+rect 4288 93 4300 95
+rect 4334 93 4346 127
+rect 4288 87 4346 93
+rect 5690 127 5748 133
+rect 5690 93 5702 127
+rect 5736 124 5748 127
+rect 6094 127 6152 133
+rect 6094 124 6106 127
+rect 5736 96 6106 124
+rect 5736 93 5748 96
+rect 5690 87 5748 93
+rect 6094 93 6106 96
+rect 6140 124 6152 127
+rect 6559 127 6617 133
+rect 6559 124 6571 127
+rect 6140 96 6571 124
+rect 6140 93 6152 96
+rect 6094 87 6152 93
+rect 6559 93 6571 96
+rect 6605 93 6617 127
+rect 6559 87 6617 93
+rect 1912 76 1970 82
+rect 5403 48 5585 49
+rect 0 17 6716 48
+rect 0 -17 29 17
+rect 63 -17 121 17
+rect 155 -17 213 17
+rect 247 -17 305 17
+rect 339 -17 397 17
+rect 431 -17 489 17
+rect 523 -17 581 17
+rect 615 -17 673 17
+rect 707 -17 765 17
+rect 799 -17 857 17
+rect 891 -17 949 17
+rect 983 -17 1041 17
+rect 1075 -17 1133 17
+rect 1167 -17 1225 17
+rect 1259 -17 1317 17
+rect 1351 -17 1409 17
+rect 1443 -17 1501 17
+rect 1535 -17 1593 17
+rect 1627 -17 1685 17
+rect 1719 -17 1777 17
+rect 1811 -17 1869 17
+rect 1903 -17 1961 17
+rect 1995 -17 2053 17
+rect 2087 -17 2145 17
+rect 2179 -17 2237 17
+rect 2271 -17 2329 17
+rect 2363 -17 2421 17
+rect 2455 -17 2513 17
+rect 2547 -17 2605 17
+rect 2639 -17 2697 17
+rect 2731 -17 2789 17
+rect 2823 -17 2881 17
+rect 2915 -17 2973 17
+rect 3007 -17 3065 17
+rect 3099 -17 3157 17
+rect 3191 -17 3249 17
+rect 3283 -17 3341 17
+rect 3375 -17 3433 17
+rect 3467 -17 3525 17
+rect 3559 -17 3617 17
+rect 3651 -17 3709 17
+rect 3743 -17 3801 17
+rect 3835 -17 3893 17
+rect 3927 -17 3985 17
+rect 4019 -17 4077 17
+rect 4111 -17 4169 17
+rect 4203 -17 4261 17
+rect 4295 -17 4353 17
+rect 4387 -17 4445 17
+rect 4479 -17 4537 17
+rect 4571 -17 4629 17
+rect 4663 -17 4721 17
+rect 4755 -17 4813 17
+rect 4847 -17 4905 17
+rect 4939 -17 4997 17
+rect 5031 -17 5089 17
+rect 5123 -17 5181 17
+rect 5215 -17 5273 17
+rect 5307 -17 5365 17
+rect 5399 -17 5457 17
+rect 5491 -17 5549 17
+rect 5583 -17 5641 17
+rect 5675 -17 5733 17
+rect 5767 -17 5825 17
+rect 5859 -17 5917 17
+rect 5951 -17 6009 17
+rect 6043 -17 6101 17
+rect 6135 -17 6193 17
+rect 6227 -17 6285 17
+rect 6319 -17 6377 17
+rect 6411 -17 6469 17
+rect 6503 -17 6561 17
+rect 6595 -17 6653 17
+rect 6687 -17 6716 17
+rect 0 -48 6716 -17
+<< labels >>
+flabel metal1 29 527 63 561 0 FreeSans 192 0 0 0 VPWR
+port 8 nsew
+flabel nwell 87 527 121 561 0 FreeSans 192 0 0 0 VPB
+port 7 nsew
+flabel metal1 29 -17 63 17 0 FreeSans 192 0 0 0 VGND
+port 5 nsew
+flabel pwell 100 -17 134 17 0 FreeSans 192 0 0 0 VNB
+port 6 nsew
+flabel locali 6657 366 6691 400 0 FreeSans 192 0 0 0 Iout
+port 4 nsew
+flabel locali 6657 298 6691 332 0 FreeSans 192 0 0 0 Iout
+port 4 nsew
+flabel locali 6657 230 6691 264 0 FreeSans 192 0 0 0 Iout
+port 4 nsew
+flabel locali 6657 162 6691 196 0 FreeSans 192 0 0 0 Iout
+port 4 nsew
+flabel locali 4815 55 4849 89 0 FreeSans 192 0 0 0 Vin2
+port 2 nsew
+flabel locali 4815 437 4849 471 0 FreeSans 192 0 0 0 Vin1
+port 1 nsew
+<< end >>
diff --git a/mag/user_analog_project_wrapper.mag b/mag/user_analog_project_wrapper.mag
index 96f8caa..bcd04e5 100644
--- a/mag/user_analog_project_wrapper.mag
+++ b/mag/user_analog_project_wrapper.mag
@@ -1,11 +1,15 @@
magic
tech sky130B
magscale 1 2
-timestamp 1646596575
+timestamp 1647124351
<< dnwell >>
rect 561940 685328 563006 686342
<< pwell >>
rect 562058 685450 562858 686250
+<< locali >>
+rect 548026 677495 548438 677529
+rect 543778 677268 543874 677316
+rect 548026 676951 548440 676985
<< metal1 >>
rect 561180 686400 561428 686442
rect 561180 686254 561216 686400
@@ -36,18 +40,36 @@
rect 225178 683618 560962 683790
rect 224866 683613 560962 683618
rect 224866 683612 226828 683613
+rect 548032 677464 548438 677560
+rect 543766 677426 543886 677436
+rect 543766 677372 543776 677426
+rect 543876 677372 543886 677426
+rect 543766 677262 543886 677372
+rect 543162 677002 543810 677016
+rect 543162 676932 543168 677002
+rect 543794 676932 543810 677002
+rect 543162 676920 543810 676932
+rect 548029 676920 548440 677016
<< via1 >>
rect 561216 686254 561378 686400
rect 561216 685764 561378 685910
rect 326572 684652 326878 684824
rect 224872 683618 225178 683790
+rect 554512 677472 555148 677550
+rect 543776 677372 543876 677426
+rect 543168 676932 543794 677002
<< metal2 >>
+rect 512622 703358 513362 703376
rect 415430 703206 416162 703216
rect 415430 702616 415440 703206
rect 416152 702616 416162 703206
rect 415430 702606 416162 702616
rect 467610 703066 468342 703076
rect -193 -193 193 700125
+rect 172840 699800 173580 699824
+rect 172840 699100 172858 699800
+rect 173558 699100 173580 699800
+rect 172840 699084 173580 699100
rect 224634 698474 225366 698484
rect 224634 697884 224644 698474
rect 225356 697884 225366 698474
@@ -66,11 +88,14 @@
rect 467610 702476 467620 703066
rect 468332 702476 468342 703066
rect 467610 702466 468342 702476
+rect 512622 702658 512642 703358
+rect 513342 702658 513362 703358
+rect 467832 686486 468157 702466
+rect 512622 687290 513362 702658
rect 522684 702928 523010 702938
rect 522684 702578 522694 702928
rect 523000 702578 523010 702928
rect 568938 702909 569264 702910
-rect 467832 686486 468157 702466
rect 522684 702447 523010 702578
rect 568933 702900 569264 702909
rect 568933 702550 568942 702900
@@ -79,9 +104,16 @@
rect 568933 700536 569264 702550
rect 522681 700196 562334 700528
rect 564007 700208 569264 700536
+rect 512622 687282 513364 687290
+rect 512622 686566 512642 687282
+rect 513342 686566 513364 687282
rect 562009 686923 562327 700196
rect 564010 687532 564332 700208
rect 568933 700207 569264 700208
+rect 512622 686565 512766 686566
+rect 513264 686565 513364 686566
+rect 512622 686558 513364 686565
+rect 512624 686550 513364 686558
rect 467832 686484 560486 686486
rect 467832 686400 561462 686484
rect 467832 686254 561216 686400
@@ -116,6 +148,35 @@
rect 583036 681176 583046 681526
rect 562127 681170 583046 681176
rect 582202 681166 583046 681170
+rect 543766 677426 543886 677696
+rect 555482 677560 559312 677618
+rect 554504 677550 559312 677560
+rect 554504 677472 554512 677550
+rect 555148 677472 559312 677550
+rect 554504 677464 559312 677472
+rect 543766 677372 543776 677426
+rect 543876 677372 543886 677426
+rect 543766 677364 543886 677372
+rect 555482 677362 559312 677464
+rect 512642 677336 542642 677338
+rect 512624 677308 542642 677336
+rect 512624 676608 512642 677308
+rect 513342 677140 542642 677308
+rect 513342 677016 542784 677140
+rect 513342 677002 543810 677016
+rect 513342 676932 543168 677002
+rect 543794 676932 543810 677002
+rect 513342 676920 543810 676932
+rect 513342 676796 542784 676920
+rect 513342 676608 542642 676796
+rect 512624 676598 542642 676608
+rect 512624 676582 513360 676598
+rect 558568 642500 559308 677362
+rect 558568 642478 583348 642500
+rect 558568 641778 582624 642478
+rect 583324 641778 583348 642478
+rect 558568 641760 583348 641778
+rect 558568 641758 559308 641760
rect 524 -800 636 480
rect 1706 -800 1818 480
rect 2888 -800 3000 480
@@ -612,13 +673,21 @@
rect 583250 -800 583362 480
<< via2 >>
rect 415440 702616 416152 703206
+rect 172858 699100 173558 699800
rect 224644 697884 225356 698474
rect 326344 697884 327056 698474
rect 467620 702476 468332 703066
+rect 512642 702658 513342 703358
rect 522694 702578 523000 702928
rect 568942 702550 569254 702900
+rect 512642 686566 513342 687282
+rect 512766 686565 513264 686566
rect 582730 681176 583036 681526
+rect 512642 676608 513342 677308
+rect 582624 641778 583324 642478
<< metal3 >>
+rect 165596 704800 170590 704804
+rect 175896 704800 180890 704804
rect 16194 702300 21194 704800
rect 68194 702300 73194 704800
rect 120194 702300 125194 704800
@@ -642,7 +711,10 @@
rect 465394 702476 467620 703066
rect 468332 702476 470394 703066
rect 465394 702300 470394 702476
-rect 510594 702340 515394 704800
+rect 510594 703358 515394 704800
+rect 510594 702658 512642 703358
+rect 513342 702658 515394 703358
+rect 510594 702340 515394 702658
rect 520594 702928 525394 704800
rect 520594 702578 522694 702928
rect 523000 702578 525394 702928
@@ -651,9 +723,16 @@
rect 566594 702550 568942 702900
rect 569254 702550 571594 702900
rect 566594 702300 571594 702550
+rect 165596 701002 170590 702300
+rect 175896 701002 180890 702300
+rect 165556 699800 180890 701002
+rect 165556 699100 172858 699800
+rect 173558 699100 180890 699800
+rect 165556 698298 180890 699100
rect 217296 699170 222286 702300
rect 227598 699170 232588 702300
rect 217296 698474 232588 699170
+rect 165556 698198 180868 698298
rect 217296 697884 224644 698474
rect 225356 697884 232588 698474
rect 217296 697340 232588 697884
@@ -663,13 +742,28 @@
rect 318994 697884 326344 698474
rect 327056 697884 334288 698474
rect 318994 697340 334288 697884
+rect 512612 687282 513364 687312
+rect 512612 686566 512642 687282
+rect 513342 686566 513364 687282
+rect 512612 686565 512766 686566
+rect 513264 686565 513364 686566
+rect 512612 686542 513364 686565
rect -800 680242 1700 685242
+rect 512622 677308 513362 686542
rect 582300 681526 584802 682984
rect 582300 681176 582730 681526
rect 583036 681176 584802 681526
rect 582300 677984 584802 681176
+rect 512622 676758 512642 677308
+rect 512624 676608 512642 676758
+rect 513342 676758 513362 677308
+rect 513342 676608 513360 676758
+rect 512624 676582 513360 676608
rect -800 643842 1660 648642
-rect 582340 639784 584800 644584
+rect 582340 642478 584800 644584
+rect 582340 641778 582624 642478
+rect 583324 641778 584800 642478
+rect 582340 639784 584800 641778
rect -800 633842 1660 638642
rect 582340 629784 584800 634584
rect 583520 589472 584800 589584
@@ -857,6 +951,14 @@
timestamp 1645671873
transform 1 0 562058 0 1 685450
box 0 0 864 800
+use sky130_sc_ams__comparator_1 sky130_sc_ams__comparator_1_0
+timestamp 1647118226
+transform 1 0 543156 0 1 676968
+box -38 -48 4914 592
+use sky130_sc_ams__ota_1 sky130_sc_ams__ota_1_0
+timestamp 1647118226
+transform 1 0 548438 0 1 676968
+box -38 -48 6754 592
<< labels >>
flabel metal3 s 583520 269230 584800 269342 0 FreeSans 1120 0 0 0 gpio_analog[0]
port 0 nsew signal bidirectional
@@ -2008,8 +2110,6 @@
port 561 nsew signal bidirectional
flabel metal3 s 520594 702340 525394 704800 0 FreeSans 1920 180 0 0 vssa1
port 562 nsew signal bidirectional
-flabel metal3 s 510594 702340 515394 704800 0 FreeSans 1920 180 0 0 vssa1
-port 563 nsew signal bidirectional
flabel metal3 s 582340 146830 584800 151630 0 FreeSans 1120 0 0 0 vssa1
port 564 nsew signal bidirectional
flabel metal3 s 582340 136830 584800 141630 0 FreeSans 1120 0 0 0 vssa1
@@ -2238,6 +2338,8 @@
port 676 nsew signal input
flabel metal2 s 6434 -800 6546 480 0 FreeSans 1120 90 0 0 wbs_we_i
port 677 nsew signal input
+flabel metal3 s 510594 702340 515394 704800 0 FreeSans 1920 180 0 0 vssa1
+port 563 nsew signal bidirectional
<< properties >>
string FIXED_BBOX 0 0 584000 704000
<< end >>
diff --git a/xschem/sky130_sc_ams__comparator_1.sch b/xschem/sky130_sc_ams__comparator_1.sch
new file mode 100644
index 0000000..8f65613
--- /dev/null
+++ b/xschem/sky130_sc_ams__comparator_1.sch
@@ -0,0 +1,442 @@
+v {xschem version=2.9.9 file_version=1.2 }
+G {}
+K {}
+V {}
+S {}
+E {}
+N 0 170 0 230 { lab=#net1}
+N -110 170 110 170 { lab=#net1}
+N 110 30 110 110 { lab=#net2}
+N -110 30 -110 110 { lab=#net3}
+N -420 -230 420 -230 { lab=VPWR}
+N -110 -170 -110 -30 { lab=#net4}
+N 110 -170 110 -30 { lab=#net5}
+N -420 -170 -420 80 { lab=#net3}
+N -420 80 -110 80 { lab=#net3}
+N 420 -170 420 80 { lab=#net2}
+N 110 80 420 80 { lab=#net2}
+N -290 -170 -290 -140 { lab=#net4}
+N -290 -140 -110 -140 { lab=#net4}
+N 290 -170 290 -140 { lab=#net5}
+N 110 -140 290 -140 { lab=#net5}
+N -330 -200 -330 -140 { lab=CLK}
+N -460 -140 -330 -140 { lab=CLK}
+N -460 -200 -460 -140 { lab=CLK}
+N 330 -200 330 -140 { lab=CLK}
+N 330 -140 460 -140 { lab=CLK}
+N 460 -200 460 -140 { lab=CLK}
+N -70 -200 70 -140 { lab=#net5}
+N 70 -140 110 -140 { lab=#net5}
+N -70 0 70 -60 { lab=#net5}
+N 70 -60 110 -60 { lab=#net5}
+N -70 -60 70 0 { lab=#net4}
+N -110 -60 -70 -60 { lab=#net4}
+N -70 -140 70 -200 { lab=#net4}
+N -110 -140 -70 -140 { lab=#net4}
+N 620 130 620 170 { lab=#net6}
+N 620 -170 620 -130 { lab=#net7}
+N 580 -200 580 -100 { lab=#net5}
+N 580 100 580 200 { lab=#net4}
+N 110 -120 580 -120 { lab=#net5}
+N -110 -80 500 -80 { lab=#net4}
+N 500 -80 500 140 { lab=#net4}
+N 500 140 580 140 { lab=#net4}
+N 620 -150 760 -150 { lab=#net7}
+N 760 -150 760 -100 { lab=#net7}
+N 760 -100 800 -100 { lab=#net7}
+N 620 150 1120 150 { lab=#net6}
+N 1120 -100 1120 150 { lab=#net6}
+N 1080 -100 1120 -100 { lab=#net6}
+N 840 -200 840 -130 { lab=X}
+N 1040 -200 1040 -130 { lab=#net8}
+N 880 -230 1000 -180 { lab=#net8}
+N 1000 -180 1040 -180 { lab=#net8}
+N 880 -180 1000 -230 { lab=X}
+N 840 -180 880 -180 { lab=X}
+N 840 -260 1040 -260 { lab=VPWR}
+N -420 120 -420 200 { lab=VGND}
+N -420 200 -360 200 { lab=VGND}
+N -360 120 -360 200 { lab=VGND}
+N 360 120 360 200 { lab=VGND}
+N 360 200 420 200 { lab=VGND}
+N 420 120 420 200 { lab=VGND}
+N -320 -100 -320 -20 { lab=VGND}
+N -320 -20 -260 -20 { lab=VGND}
+N -260 -100 -260 -20 { lab=VGND}
+N 260 -100 260 -20 { lab=VGND}
+N 260 -20 320 -20 { lab=VGND}
+N 320 -100 320 -20 { lab=VGND}
+C {devices/ipin.sym} 0 -450 0 0 {name=p4 lab=CLK}
+C {devices/ipin.sym} -150 140 0 0 {name=p1 lab=VIN1}
+C {devices/ipin.sym} 150 140 0 1 {name=p3 lab=VIN2}
+C {devices/ipin.sym} 0 -420 0 0 {name=p5 lab=VGND}
+C {devices/ipin.sym} 0 -390 0 0 {name=p6 lab=VNB}
+C {devices/ipin.sym} 0 -360 0 0 {name=p7 lab=VPB}
+C {devices/ipin.sym} 0 -330 0 0 {name=p8 lab=VPWR}
+C {devices/opin.sym} 840 -150 0 1 {name=p2 lab=X}
+C {sky130_fd_pr/nfet_01v8.sym} -20 260 0 0 {name=M1
+L=0.15
+W=1.49
+nf=1
+mult=2
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/pfet_01v8.sym} -440 -200 0 0 {name=M2
+L=0.15
+W=0.45
+nf=1
+mult=1
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=pfet_01v8
+spiceprefix=X
+}
+C {devices/lab_pin.sym} 0 -450 0 1 {name=l1 sig_type=std_logic lab=CLK}
+C {devices/lab_pin.sym} 0 -420 0 1 {name=l2 sig_type=std_logic lab=VGND}
+C {devices/lab_pin.sym} 0 -390 0 1 {name=l3 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} 0 -360 0 1 {name=l4 sig_type=std_logic lab=VPB}
+C {devices/lab_pin.sym} 0 -330 0 1 {name=l5 sig_type=std_logic lab=VPWR}
+C {devices/lab_pin.sym} -40 260 0 0 {name=l6 sig_type=std_logic lab=CLK}
+C {devices/lab_pin.sym} 0 290 1 1 {name=l7 sig_type=std_logic lab=VGND}
+C {sky130_fd_pr/nfet_01v8.sym} -130 140 0 0 {name=M3
+L=0.15
+W=1
+nf=1
+mult=4
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/nfet_01v8.sym} 130 140 0 1 {name=M4
+L=0.15
+W=1
+nf=1
+mult=4
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/nfet_01v8.sym} 90 0 0 0 {name=M5
+L=0.15
+W=0.7
+nf=1
+mult=2
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/nfet_01v8.sym} -90 0 0 1 {name=M6
+L=0.15
+W=0.7
+nf=1
+mult=2
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/pfet_01v8.sym} -310 -200 0 0 {name=M7
+L=0.15
+W=0.45
+nf=1
+mult=1
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=pfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/pfet_01v8.sym} -90 -200 0 1 {name=M8
+L=0.15
+W=0.63
+nf=1
+mult=2
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=pfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/pfet_01v8.sym} 90 -200 0 0 {name=M9
+L=0.15
+W=0.63
+nf=1
+mult=2
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=pfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/pfet_01v8.sym} 310 -200 0 1 {name=M10
+L=0.15
+W=0.45
+nf=1
+mult=1
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=pfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/pfet_01v8.sym} 440 -200 0 1 {name=M11
+L=0.15
+W=0.45
+nf=1
+mult=1
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=pfet_01v8
+spiceprefix=X
+}
+C {devices/lab_pin.sym} 0 -230 3 1 {name=l8 sig_type=std_logic lab=VPWR}
+C {devices/lab_pin.sym} 460 -200 0 1 {name=l9 sig_type=std_logic lab=CLK}
+C {devices/lab_pin.sym} -460 -200 0 0 {name=l10 sig_type=std_logic lab=CLK}
+C {devices/lab_pin.sym} -420 -200 0 1 {name=l11 sig_type=std_logic lab=VPB}
+C {devices/lab_pin.sym} -290 -200 0 1 {name=l12 sig_type=std_logic lab=VPB}
+C {devices/lab_pin.sym} 110 -200 0 1 {name=l13 sig_type=std_logic lab=VPB}
+C {devices/lab_pin.sym} -110 -200 0 0 {name=l14 sig_type=std_logic lab=VPB}
+C {devices/lab_pin.sym} 290 -200 0 0 {name=l15 sig_type=std_logic lab=VPB}
+C {devices/lab_pin.sym} 420 -200 0 0 {name=l16 sig_type=std_logic lab=VPB}
+C {devices/lab_pin.sym} 110 0 0 1 {name=l17 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} -110 140 0 1 {name=l18 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} 0 260 0 1 {name=l19 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} -110 0 0 0 {name=l20 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} 110 140 0 0 {name=l21 sig_type=std_logic lab=VNB}
+C {sky130_fd_pr/nfet_01v8.sym} 600 -100 0 0 {name=M12
+L=0.15
+W=0.65
+nf=1
+mult=1
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/pfet_01v8.sym} 600 -200 0 0 {name=M13
+L=0.15
+W=1
+nf=1
+mult=1
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=pfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/nfet_01v8.sym} 600 200 0 0 {name=M14
+L=0.15
+W=0.65
+nf=1
+mult=1
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/pfet_01v8.sym} 600 100 0 0 {name=M15
+L=0.15
+W=1
+nf=1
+mult=1
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=pfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/nfet_01v8.sym} 820 -100 0 0 {name=M16
+L=0.15
+W=0.645
+nf=1
+mult=1
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/nfet_01v8.sym} 1060 -100 0 1 {name=M17
+L=0.15
+W=0.645
+nf=1
+mult=1
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {devices/lab_pin.sym} 620 230 1 1 {name=l22 sig_type=std_logic lab=VGND}
+C {devices/lab_pin.sym} 620 -70 1 1 {name=l23 sig_type=std_logic lab=VGND}
+C {devices/lab_pin.sym} 840 -70 1 1 {name=l24 sig_type=std_logic lab=VGND}
+C {devices/lab_pin.sym} 1040 -70 1 1 {name=l25 sig_type=std_logic lab=VGND}
+C {sky130_fd_pr/pfet_01v8.sym} 860 -230 0 1 {name=M18
+L=0.15
+W=0.7
+nf=1
+mult=1
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=pfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/pfet_01v8.sym} 1020 -230 0 0 {name=M19
+L=0.15
+W=0.7
+nf=1
+mult=1
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=pfet_01v8
+spiceprefix=X
+}
+C {devices/lab_pin.sym} 940 -260 3 1 {name=l26 sig_type=std_logic lab=VPWR}
+C {devices/lab_pin.sym} 620 -230 3 1 {name=l27 sig_type=std_logic lab=VPWR}
+C {devices/lab_pin.sym} 620 70 3 1 {name=l28 sig_type=std_logic lab=VPWR}
+C {devices/lab_pin.sym} 840 -230 0 0 {name=l29 sig_type=std_logic lab=VPB}
+C {devices/lab_pin.sym} 620 -200 0 1 {name=l30 sig_type=std_logic lab=VPB}
+C {devices/lab_pin.sym} 620 100 0 1 {name=l31 sig_type=std_logic lab=VPB}
+C {devices/lab_pin.sym} 1040 -230 0 1 {name=l32 sig_type=std_logic lab=VPB}
+C {devices/lab_pin.sym} 1040 -100 0 0 {name=l33 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} 840 -100 0 1 {name=l34 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} 620 -100 0 1 {name=l35 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} 620 200 0 1 {name=l36 sig_type=std_logic lab=VNB}
+C {sky130_fd_pr/nfet_01v8.sym} -390 100 1 0 {name=M20
+L=1
+W=1.49
+nf=1
+mult=1
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {devices/lab_pin.sym} -390 120 1 1 {name=l37 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} -390 200 1 1 {name=l38 sig_type=std_logic lab=VGND}
+C {sky130_fd_pr/nfet_01v8.sym} 390 100 1 0 {name=M21
+L=1
+W=1.49
+nf=1
+mult=1
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {devices/lab_pin.sym} 390 120 1 1 {name=l39 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} 390 200 1 1 {name=l40 sig_type=std_logic lab=VGND}
+C {sky130_fd_pr/nfet_01v8.sym} -290 -120 1 0 {name=M22
+L=1
+W=1.49
+nf=1
+mult=1
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {devices/lab_pin.sym} -290 -100 1 1 {name=l41 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} -290 -20 1 1 {name=l42 sig_type=std_logic lab=VGND}
+C {sky130_fd_pr/nfet_01v8.sym} 290 -120 1 0 {name=M23
+L=1
+W=1.49
+nf=1
+mult=1
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {devices/lab_pin.sym} 290 -100 1 1 {name=l43 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} 290 -20 1 1 {name=l44 sig_type=std_logic lab=VGND}
diff --git a/xschem/sky130_sc_ams__comparator_1.sym b/xschem/sky130_sc_ams__comparator_1.sym
new file mode 100644
index 0000000..0b15c22
--- /dev/null
+++ b/xschem/sky130_sc_ams__comparator_1.sym
@@ -0,0 +1,38 @@
+v {xschem version=2.9.9 file_version=1.2 }
+G {}
+K {type=subcircuit
+format="@name @pinlist @symname"
+template="name=x1"
+}
+V {}
+S {}
+E {}
+L 4 -70 0 -50 0 {}
+L 4 70 0 90 0 {}
+L 4 -70 30 -50 30 {}
+L 4 -70 -30 -50 -30 {}
+L 4 -50 -60 -50 60 {}
+L 4 -50 60 70 0 {}
+L 4 -50 -60 70 0 {}
+L 4 10 -60 10 -30 {}
+L 4 -10 -60 -10 -40 {}
+L 4 10 30 10 60 {}
+L 4 -10 40 -10 60 {}
+B 5 -72.5 -2.5 -67.5 2.5 {name=CLK dir=in }
+B 5 -72.5 -32.5 -67.5 -27.5 {name=VIN1 dir=in }
+B 5 -72.5 27.5 -67.5 32.5 {name=VIN2 dir=in }
+B 5 7.5 57.5 12.5 62.5 {name=VGND dir=in }
+B 5 -12.5 57.5 -7.5 62.5 {name=VNB dir=in }
+B 5 -12.5 -62.5 -7.5 -57.5 {name=VPB dir=in }
+B 5 7.5 -62.5 12.5 -57.5 {name=VPWR dir=in }
+B 5 87.5 -2.5 92.5 2.5 {name=X dir=out }
+T {@symname} 20.5 -46 0 0 0.3 0.3 {}
+T {@name} -55 -92 0 0 0.2 0.2 {}
+T {CLK} -45 -4 0 0 0.2 0.2 {}
+T {VIN1} -45 -34 0 0 0.2 0.2 {}
+T {VIN2} -45 26 0 0 0.2 0.2 {}
+T {VGND} 15 51 0 0 0.2 0.2 {}
+T {VNB} -35 51 0 0 0.2 0.2 {}
+T {VPB} -35 -64 0 0 0.2 0.2 {}
+T {VPWR} 15 -64 0 0 0.2 0.2 {}
+T {X} 85 -14 0 1 0.2 0.2 {}
diff --git a/xschem/sky130_sc_ams__ota_1.sch b/xschem/sky130_sc_ams__ota_1.sch
new file mode 100644
index 0000000..6e377c5
--- /dev/null
+++ b/xschem/sky130_sc_ams__ota_1.sch
@@ -0,0 +1,449 @@
+v {xschem version=2.9.9 file_version=1.2 }
+G {}
+K {}
+V {}
+S {}
+E {}
+N -250 -180 -250 -120 { lab=#net1}
+N -350 -210 -290 -210 { lab=#net1}
+N -290 -160 -250 -160 { lab=#net1}
+N 270 -180 270 -120 { lab=#net2}
+N 310 -210 370 -210 { lab=#net2}
+N -310 -160 -290 -160 { lab=#net1}
+N -310 -210 -310 -160 { lab=#net1}
+N 270 -160 330 -160 { lab=#net2}
+N 330 -210 330 -160 { lab=#net2}
+N -380 -240 300 -240 { lab=VPWR}
+N -560 90 -560 120 { lab=#net3}
+N -1060 0 -1020 0 { lab=#net4}
+N -1020 0 -1020 30 { lab=#net4}
+N -1140 60 -1060 60 { lab=VGND}
+N -0 -60 0 -0 { lab=#net5}
+N -560 -180 -560 90 { lab=#net3}
+N -1020 30 -960 30 { lab=#net4}
+N -1020 -210 -960 -210 { lab=#net6}
+N -960 -160 -920 -160 { lab=#net6}
+N -980 -160 -960 -160 { lab=#net6}
+N -980 -210 -980 -160 { lab=#net6}
+N -420 30 -40 30 { lab=#net4}
+N -1060 -180 -1060 0 { lab=#net4}
+N -920 -180 -920 0 { lab=#net6}
+N -1220 -100 -1220 -40 { lab=#net4}
+N -1220 -40 -1060 -40 { lab=#net4}
+N -1220 -160 -980 -160 { lab=#net6}
+N -1360 -240 -1060 -240 { lab=VPWR}
+N -1360 -180 -1360 -130 { lab=#net7}
+N -1360 -130 -1260 -130 { lab=#net7}
+N -1360 -180 -1320 -180 { lab=#net7}
+N -1320 -210 -1320 -180 { lab=#net7}
+N -1360 -130 -1360 0 { lab=#net7}
+N -1360 60 -1140 60 { lab=VGND}
+N -1320 0 -1320 30 { lab=#net4}
+N -1320 0 -1060 0 { lab=#net4}
+N -1060 -240 -1000 -240 { lab=VPWR}
+N -720 120 -560 120 { lab=#net3}
+N -680 150 -680 180 { lab=VGND}
+N -720 180 -680 180 { lab=VGND}
+N -490 -60 -450 -60 { lab=VGND}
+N 170 -240 170 -210 { lab=VPWR}
+N 130 -180 130 -160 { lab=#net2}
+N 410 -180 410 120 { lab=Iout}
+N 130 -160 270 -160 { lab=#net2}
+N -150 -240 -150 -210 { lab=VPWR}
+N -110 -180 -110 -160 { lab=#net1}
+N -250 -160 -110 -160 { lab=#net1}
+N 300 -240 410 -240 { lab=VPWR}
+N -490 -90 -490 -60 { lab=VGND}
+N -450 -120 -250 -120 { lab=#net1}
+N -250 -60 270 -60 { lab=#net5}
+N -520 150 370 150 { lab=#net3}
+N -560 100 -500 100 { lab=#net3}
+N -500 100 -500 150 { lab=#net3}
+N -640 -240 -380 -240 { lab=VPWR}
+N -520 -210 -350 -210 { lab=#net1}
+N -1170 30 -1170 60 { lab=VGND}
+N -1060 -40 -770 -40 { lab=#net4}
+N -1000 -240 -940 -240 { lab=VPWR}
+N -830 -240 -830 -210 { lab=VPWR}
+N -790 -180 -790 -160 { lab=#net6}
+N -920 -160 -790 -160 { lab=#net6}
+N -920 0 -780 0 { lab=#net6}
+N -820 30 -820 60 { lab=VGND}
+N -820 60 -780 60 { lab=VGND}
+N -780 60 -780 120 { lab=VGND}
+N -940 -240 -640 -240 { lab=VPWR}
+N -770 -40 -660 -40 { lab=#net4}
+N -660 -40 -660 30 { lab=#net4}
+N -660 30 -420 30 { lab=#net4}
+N -920 120 -780 120 { lab=VGND}
+C {devices/ipin.sym} 310 -90 0 1 {name=Vin1 lab=Vin1}
+C {devices/ipin.sym} -290 -90 0 0 {name=Vin2 lab=Vin2}
+C {devices/ipin.sym} 0 -320 0 0 {name=p3 lab=VGND}
+C {devices/ipin.sym} 0 -350 0 0 {name=p2 lab=VNB}
+C {devices/ipin.sym} 0 -380 0 0 {name=p1 lab=VPB}
+C {devices/ipin.sym} 0 -410 0 0 {name=p4 lab=VPWR}
+C {devices/opin.sym} 410 -70 0 0 {name=Iout lab=Iout}
+C {sky130_fd_pr/pfet_01v8.sym} 390 -210 0 0 {name=M7
+L=0.30
+W=0.61
+nf=1
+mult=4
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=pfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/pfet_01v8.sym} -540 -210 0 1 {name=M8
+L=0.15
+W=0.61
+nf=1
+mult=4
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=pfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/pfet_01v8.sym} 290 -210 0 1 {name=M9
+L=0.15
+W=0.61
+nf=1
+mult=4
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=pfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/nfet_01v8.sym} -20 30 0 0 {name=M1
+L=0.15
+W=0.70
+nf=1
+mult=4
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/nfet_01v8.sym} -1040 30 0 1 {name=M10
+L=0.15
+W=0.70
+nf=1
+mult=4
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/nfet_01v8.sym} -940 30 0 0 {name=M11
+L=0.15
+W=0.70
+nf=1
+mult=8
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/pfet_01v8.sym} -940 -210 0 0 {name=M12
+L=0.15
+W=0.61
+nf=1
+mult=4
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=pfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/pfet_01v8.sym} -1040 -210 0 1 {name=M13
+L=0.15
+W=0.61
+nf=1
+mult=4
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=pfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/nfet_01v8.sym} -1240 -130 0 0 {name=M14
+L=0.15
+W=0.70
+nf=1
+mult=4
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/nfet_01v8.sym} -1340 30 0 1 {name=M16
+L=0.15
+W=0.70
+nf=1
+mult=4
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/nfet_01v8.sym} -270 -90 0 0 {name=M2
+L=0.15
+W=1.06
+nf=1
+mult=4
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/nfet_01v8.sym} 290 -90 0 1 {name=M3
+L=0.15
+W=1.06
+nf=1
+mult=4
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {devices/lab_pin.sym} 0 -380 0 1 {name=l7 sig_type=std_logic lab=VPB}
+C {sky130_fd_pr/nfet_01v8.sym} -700 150 0 1 {name=M17
+L=0.15
+W=0.70
+nf=1
+mult=2
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/nfet_01v8.sym} -470 -90 0 0 {name=M18
+L=0.15
+W=1.06
+nf=1
+mult=2
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/pfet_01v8.sym} 150 -210 0 1 {name=M19
+L=0.15
+W=0.61
+nf=1
+mult=2
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=pfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/pfet_01v8.sym} -130 -210 0 0 {name=M20
+L=0.15
+W=0.61
+nf=1
+mult=2
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=pfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/nfet_01v8.sym} -540 150 0 1 {name=M4
+L=0.15
+W=0.70
+nf=1
+mult=4
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {devices/lab_pin.sym} -110 -210 0 1 {name=l10 sig_type=std_logic lab=VPB}
+C {devices/lab_pin.sym} -250 -210 0 1 {name=l11 sig_type=std_logic lab=VPB}
+C {devices/lab_pin.sym} 410 -210 0 1 {name=l12 sig_type=std_logic lab=VPB}
+C {devices/lab_pin.sym} 130 -210 0 0 {name=l13 sig_type=std_logic lab=VPB}
+C {devices/lab_pin.sym} 270 -210 0 0 {name=l14 sig_type=std_logic lab=VPB}
+C {devices/lab_pin.sym} -560 -210 0 0 {name=l15 sig_type=std_logic lab=VPB}
+C {devices/lab_pin.sym} -1060 -210 0 0 {name=l16 sig_type=std_logic lab=VPB}
+C {devices/lab_pin.sym} -920 -210 0 1 {name=l18 sig_type=std_logic lab=VPB}
+C {devices/lab_pin.sym} 0 -350 0 1 {name=l19 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} -250 -90 0 1 {name=l20 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} -450 -90 0 1 {name=l21 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} 270 -90 0 0 {name=l22 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} 0 30 0 1 {name=l23 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} 410 150 0 1 {name=l24 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} -560 150 0 0 {name=l25 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} -720 150 0 0 {name=l26 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} -920 30 0 1 {name=l27 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} -1060 30 0 0 {name=l28 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} -1360 30 0 0 {name=l29 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} -1220 -130 0 1 {name=l30 sig_type=std_logic lab=VNB}
+C {sky130_fd_pr/nfet_01v8.sym} -1190 30 0 1 {name=M21
+L=0.15
+W=0.70
+nf=1
+mult=2
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {devices/lab_pin.sym} -1210 30 0 0 {name=l31 sig_type=std_logic lab=VNB}
+C {sky130_fd_pr/pfet_01v8.sym} -810 -210 0 0 {name=M22
+L=0.15
+W=0.61
+nf=1
+mult=2
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=pfet_01v8
+spiceprefix=X
+}
+C {devices/lab_pin.sym} -790 -210 0 1 {name=l32 sig_type=std_logic lab=VPB}
+C {sky130_fd_pr/pfet_01v8.sym} -1340 -210 0 1 {name=M15
+L=4.20
+W=0.42
+nf=1
+mult=1
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=pfet_01v8
+spiceprefix=X
+}
+C {devices/lab_pin.sym} -1360 -210 0 0 {name=l33 sig_type=std_logic lab=VPB}
+C {sky130_fd_pr/nfet_01v8.sym} -800 30 0 0 {name=M23
+L=0.15
+W=0.70
+nf=1
+mult=2
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {devices/lab_pin.sym} -780 30 0 1 {name=l17 sig_type=std_logic lab=VNB}
+C {devices/lab_pin.sym} -940 90 0 0 {name=l34 sig_type=std_logic lab=VNB}
+C {sky130_fd_pr/res_xhigh_po.sym} -920 90 0 0 {name=R2
+W=1.41
+L=0.70
+model=res_xhigh_po
+spiceprefix=X
+mult=1}
+C {sky130_fd_pr/pfet_01v8.sym} -270 -210 0 0 {name=M6
+L=0.15
+W=0.61
+nf=1
+mult=4
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=pfet_01v8
+spiceprefix=X
+}
+C {sky130_fd_pr/nfet_01v8.sym} 390 150 0 0 {name=M5
+L=0.30
+W=0.70
+nf=1
+mult=4
+ad="'int((nf+1)/2) * W/nf * 0.29'"
+pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
+as="'int((nf+2)/2) * W/nf * 0.29'"
+ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
+nrd="'0.29 / W'" nrs="'0.29 / W'"
+sa=0 sb=0 sd=0
+model=nfet_01v8
+spiceprefix=X
+}
+C {devices/lab_pin.sym} 0 -320 0 1 {name=l1 sig_type=std_logic lab=VGND}
+C {devices/lab_pin.sym} 0 -410 0 1 {name=l5 sig_type=std_logic lab=VPWR}
+C {devices/lab_pin.sym} 0 60 3 0 {name=l35 sig_type=std_logic lab=VGND}
+C {devices/lab_pin.sym} 0 -240 3 1 {name=l36 sig_type=std_logic lab=VPWR}
+C {devices/lab_pin.sym} -560 180 3 0 {name=l2 sig_type=std_logic lab=VGND}
+C {devices/lab_pin.sym} 410 180 3 0 {name=l3 sig_type=std_logic lab=VGND}
+C {devices/lab_pin.sym} -720 180 3 0 {name=l8 sig_type=std_logic lab=VGND}
+C {devices/lab_pin.sym} -920 120 3 0 {name=l6 sig_type=std_logic lab=VGND}
+C {devices/lab_pin.sym} -1210 60 3 0 {name=l4 sig_type=std_logic lab=VGND}
+C {devices/lab_pin.sym} -450 -60 3 0 {name=l9 sig_type=std_logic lab=VGND}
diff --git a/xschem/sky130_sc_ams__ota_1.spice b/xschem/sky130_sc_ams__ota_1.spice
new file mode 100644
index 0000000..6c6fd48
--- /dev/null
+++ b/xschem/sky130_sc_ams__ota_1.spice
@@ -0,0 +1,88 @@
+.include /home/charana/IC/OpenLane/pdks/sky130A/libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__tt.pm3.spice
+* SPICE3 file created from sky130_sd_ams__ota_1.ext - technology: sky130A
+.subckt sky130_sd_ams__ota_1 Vin1 Vin2 VGND VNB VPB VPWR Iout
+X0 a_599_75# a_1367_29# a_1311_55# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X1 Iout a_4632_123# VPWR VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=300000u
+X2 a_4632_123# a_4632_123# VPWR VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X3 VGND a_1367_29# a_3603_47# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X4 a_3603_47# a_1367_29# VGND VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X5 VPWR a_2270_413# a_2270_413# VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=420000u l=4.2e+06u
+X6 a_599_75# a_1367_29# a_1311_55# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X7 VGND a_3603_375# a_3603_375# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X8 a_3603_375# a_3431_375# VPWR VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X9 a_1311_55# a_2270_413# a_1367_29# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X10 a_3431_375# Vin2 a_3603_47# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=1.06e+06u l=150000u
+X11 VGND a_3603_375# Iout VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=300000u
+X12 VPWR a_1311_55# a_1311_55# VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X13 a_3603_375# a_3431_375# VPWR VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X14 VPWR a_3431_375# a_3603_375# VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X15 VGND VGND a_3431_375# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=1.06e+06u l=150000u
+X16 VPWR a_1311_55# a_1311_55# VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X17 a_3431_375# a_3431_375# VPWR VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X18 a_1367_29# a_1367_29# VGND VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X19 a_1367_29# a_1311_55# VPWR VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X20 Iout a_4632_123# VPWR VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=300000u
+X21 a_4632_123# a_4632_123# VPWR VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X22 a_1367_29# a_1367_29# VGND VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X23 VPWR a_4632_123# a_4632_123# VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X24 a_3603_47# a_1367_29# VGND VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X25 a_599_75# a_1367_29# a_1311_55# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X26 a_3431_375# VGND VGND VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=1.06e+06u l=150000u
+X27 a_1367_29# a_2270_413# a_1311_55# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X28 a_1367_29# VGND VGND VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X29 a_3603_47# Vin2 a_3431_375# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=1.06e+06u l=150000u
+X30 a_3603_375# VGND VGND VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X31 a_1367_29# a_1311_55# VPWR VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X32 VPWR a_3431_375# a_3603_375# VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X33 a_599_75# a_1367_29# a_1311_55# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X34 VPWR a_1311_55# a_1367_29# VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X35 VPWR VPWR a_3431_375# VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X36 VGND a_599_75# VNB sky130_fd_pr__res_xhigh_po w=1.41e+06u l=700000u
+X37 VGND VGND a_1311_55# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X38 VGND a_1367_29# a_3603_47# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X39 a_4632_123# VPWR VPWR VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X40 VPWR a_4632_123# Iout VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=300000u
+X41 VPWR VPWR a_4632_123# VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X42 a_1311_55# a_1367_29# a_599_75# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X43 VGND a_3603_375# Iout VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=300000u
+X44 VGND a_1367_29# a_2270_413# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X45 VGND VGND a_3603_375# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X46 a_1311_55# a_1367_29# a_599_75# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X47 a_1311_55# a_2270_413# a_1367_29# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X48 VGND a_1367_29# a_1367_29# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X49 a_3603_47# Vin2 a_3431_375# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=1.06e+06u l=150000u
+X50 a_3603_47# Vin1 a_4632_123# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=1.06e+06u l=150000u
+X51 a_3431_375# a_3431_375# VPWR VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X52 a_4632_123# Vin1 a_3603_47# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=1.06e+06u l=150000u
+X53 VPWR a_1311_55# a_1367_29# VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X54 a_1311_55# a_1367_29# a_599_75# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X55 a_2270_413# a_1367_29# VGND VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X56 a_1311_55# a_1311_55# VPWR VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X57 VPWR VPWR a_1311_55# VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X58 VPWR a_4632_123# a_4632_123# VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X59 VPWR a_4632_123# Iout VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=300000u
+X60 a_3603_375# a_3603_375# VGND VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X61 Iout a_3603_375# VGND VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=300000u
+X62 a_1311_55# a_1367_29# a_599_75# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X63 a_2270_413# a_1367_29# VGND VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X64 a_3431_375# VPWR VPWR VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X65 VGND a_1367_29# a_2270_413# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X66 a_4632_123# Vin1 a_3603_47# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=1.06e+06u l=150000u
+X67 a_3603_375# a_3603_375# VGND VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X68 a_1311_55# VPWR VPWR VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X69 VPWR a_3431_375# a_3431_375# VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X70 VPWR a_3431_375# a_3431_375# VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X71 a_1367_29# a_2270_413# a_1311_55# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X72 VGND a_1367_29# a_1367_29# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X73 a_3603_47# Vin1 a_4632_123# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=1.06e+06u l=150000u
+X74 Iout a_3603_375# VGND VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=300000u
+X75 a_3431_375# Vin2 a_3603_47# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=1.06e+06u l=150000u
+X76 a_1311_55# a_1311_55# VPWR VPB sky130_fd_pr__pfet_01v8 ad=0p pd=0u as=0p ps=0u w=610000u l=150000u
+X77 a_1311_55# VGND VGND VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X78 VGND VGND a_1367_29# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+X79 VGND a_3603_375# a_3603_375# VNB sky130_fd_pr__nfet_01v8 ad=0p pd=0u as=0p ps=0u w=700000u l=150000u
+C0 a_599_75# a_1311_55# 2.09fF
+C1 a_3603_47# VGND 2.61fF
+C2 a_1367_29# VGND 2.16fF
+C3 a_1367_29# VNB 2.36fF
+.ends
diff --git a/xschem/sky130_sc_ams__ota_1.sym b/xschem/sky130_sc_ams__ota_1.sym
new file mode 100644
index 0000000..de2743d
--- /dev/null
+++ b/xschem/sky130_sc_ams__ota_1.sym
@@ -0,0 +1,38 @@
+v {xschem version=2.9.9 file_version=1.2 }
+G {}
+K {type=subcircuit
+format="@name @pinlist @symname"
+template="name=x1"
+}
+V {}
+S {}
+E {}
+L 4 -80 -20 -60 -20 {}
+L 4 -80 20 -60 20 {}
+L 4 -60 -60 -60 60 {}
+L 4 -60 60 60 0 {}
+L 4 -60 -60 60 0 {}
+L 4 -50 -20 -30 -20 {}
+L 4 -40 -30 -40 -10 {}
+L 4 -50 20 -30 20 {}
+L 4 -10 35 -10 60 {}
+L 4 10 25 10 60 {}
+L 4 -10 -60 -10 -35 {}
+L 4 10 -60 10 -25 {}
+L 4 60 -0 80 -0 {}
+B 5 7.5 -62.5 12.5 -57.5 {name=VPWR dir=in }
+B 5 -12.5 -62.5 -7.5 -57.5 {name=VPB dir=in }
+B 5 -12.5 57.5 -7.5 62.5 {name=VNB dir=in }
+B 5 7.5 57.5 12.5 62.5 {name=VGND dir=in }
+B 5 -82.5 -22.5 -77.5 -17.5 {name=Vin1 dir=in }
+B 5 -82.5 17.5 -77.5 22.5 {name=Vin2 dir=in }
+B 5 77.5 -2.5 82.5 2.5 {name=Iout dir=out }
+T {@symname} 22 -46 0 0 0.3 0.3 {}
+T {@name} -65 -82 0 0 0.2 0.2 {}
+T {VPWR} 46.5 -50 2 0 0.2 0.2 {}
+T {VPB} -16 -50 2 0 0.2 0.2 {}
+T {VNB} -36.5 50 0 0 0.2 0.2 {}
+T {VGND} 15 48.5 0 0 0.2 0.2 {}
+T {Vin1} -85 -39 0 0 0.2 0.2 {}
+T {Vin2} -85 26 0 0 0.2 0.2 {}
+T {Iout} 75 -19 0 1 0.2 0.2 {}