lizhangmai commited on
Commit
e33cb0d
·
verified ·
1 Parent(s): e8ab4de

Refresh public dataset from latest verified Designs sources

Browse files

Refresh all 92 public tasks, including the 21-task core, from the current Designs sources.
Authoring source commit: bbe0939a95f58fcde0543100d32a101f193c4967
Release manifest SHA-256: fcd8d2eaa4b0b8dddb03aafb66cd96a3d7ddd569aa781f8153fe877acb593fd8
Validation: all 92 retained qualifications verified; all 21 core acceptance summaries verified; 100 catalog integration checks passed.
Publication contains only declared static materials, Dataset Card and licenses.

This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +3 -3
  2. data.parquet +2 -2
  3. tasks/freepdk45/CircuitOpt/cases/fd_ota/case.toml +43 -36
  4. tasks/freepdk45/CircuitOpt/cases/fd_ota/materials/ngspice.spiceinit +1 -0
  5. tasks/freepdk45/CircuitOpt/cases/fd_ota/materials/testbench.spice +4 -1
  6. tasks/freepdk45/CircuitOpt/cases/fd_ota/problem.md +3 -1
  7. tasks/freepdk45/OpenRAM/NOTICE +3 -3
  8. tasks/freepdk45/OpenRAM/cases/cell_6t/case.toml +49 -42
  9. tasks/freepdk45/OpenRAM/cases/cell_6t/materials/ngspice.spiceinit +1 -0
  10. tasks/freepdk45/OpenRAM/cases/cell_6t/materials/testbench.spice +4 -1
  11. tasks/freepdk45/OpenRAM/cases/cell_6t/problem.md +5 -3
  12. tasks/freepdk45/OpenRAM/cases/sense_amp/case.toml +42 -35
  13. tasks/freepdk45/OpenRAM/cases/sense_amp/materials/ngspice.spiceinit +1 -0
  14. tasks/freepdk45/OpenRAM/cases/sense_amp/materials/testbench.spice +4 -1
  15. tasks/freepdk45/OpenRAM/cases/sense_amp/problem.md +5 -3
  16. tasks/freepdk45/OpenRAM/cases/write_driver/case.toml +53 -46
  17. tasks/freepdk45/OpenRAM/cases/write_driver/materials/ngspice.spiceinit +1 -0
  18. tasks/freepdk45/OpenRAM/cases/write_driver/materials/testbench.spice +4 -1
  19. tasks/freepdk45/OpenRAM/cases/write_driver/problem.md +5 -3
  20. tasks/freepdk45/nangate45-pdk/cases/AOI21_X1/case.toml +70 -63
  21. tasks/freepdk45/nangate45-pdk/cases/AOI21_X1/materials/ngspice.spiceinit +1 -0
  22. tasks/freepdk45/nangate45-pdk/cases/AOI21_X1/materials/testbench.spice +4 -1
  23. tasks/freepdk45/nangate45-pdk/cases/AOI21_X1/problem.md +5 -3
  24. tasks/freepdk45/nangate45-pdk/cases/INV_X1/case.toml +73 -66
  25. tasks/freepdk45/nangate45-pdk/cases/INV_X1/materials/ngspice.spiceinit +1 -0
  26. tasks/freepdk45/nangate45-pdk/cases/INV_X1/materials/testbench.spice +4 -1
  27. tasks/freepdk45/nangate45-pdk/cases/INV_X1/problem.md +3 -1
  28. tasks/freepdk45/nangate45-pdk/cases/NAND2_X1/case.toml +57 -50
  29. tasks/freepdk45/nangate45-pdk/cases/NAND2_X1/materials/ngspice.spiceinit +1 -0
  30. tasks/freepdk45/nangate45-pdk/cases/NAND2_X1/materials/testbench.spice +4 -1
  31. tasks/freepdk45/nangate45-pdk/cases/NAND2_X1/problem.md +5 -3
  32. tasks/freepdk45/nangate45-pdk/cases/NOR2_X1/case.toml +61 -54
  33. tasks/freepdk45/nangate45-pdk/cases/NOR2_X1/materials/ngspice.spiceinit +1 -0
  34. tasks/freepdk45/nangate45-pdk/cases/NOR2_X1/materials/testbench.spice +4 -1
  35. tasks/freepdk45/nangate45-pdk/cases/NOR2_X1/problem.md +3 -1
  36. tasks/freepdk45/nangate45-pdk/cases/XOR2_X1/case.toml +72 -65
  37. tasks/freepdk45/nangate45-pdk/cases/XOR2_X1/materials/ngspice.spiceinit +1 -0
  38. tasks/freepdk45/nangate45-pdk/cases/XOR2_X1/materials/testbench.spice +4 -1
  39. tasks/freepdk45/nangate45-pdk/cases/XOR2_X1/problem.md +3 -1
  40. tasks/freepdk45/pdk.toml +213 -288
  41. tasks/gf180mcuD/2AMLogic-sar-adc/cases/track_switch/case.toml +26 -33
  42. tasks/gf180mcuD/2AMLogic-sar-adc/cases/track_switch/materials/ngspice.spiceinit +3 -0
  43. tasks/gf180mcuD/2AMLogic-sar-adc/cases/track_switch/materials/testbench.spice +6 -1
  44. tasks/gf180mcuD/2AMLogic-sar-adc/cases/track_switch/problem.md +2 -0
  45. tasks/gf180mcuD/Chipathon2023_ADC/cases/comparator/case.toml +34 -41
  46. tasks/gf180mcuD/Chipathon2023_ADC/cases/comparator/materials/ngspice.spiceinit +3 -0
  47. tasks/gf180mcuD/Chipathon2023_ADC/cases/comparator/materials/testbench.spice +6 -1
  48. tasks/gf180mcuD/Chipathon2023_ADC/cases/comparator/problem.md +2 -0
  49. tasks/gf180mcuD/Jianxun-OTA/cases/ota_5t/case.toml +0 -0
  50. tasks/gf180mcuD/Jianxun-OTA/cases/ota_5t/materials/analysis.spice +132 -0
README.md CHANGED
@@ -7,7 +7,7 @@ tags:
7
  - benchmark
8
  license: other
9
  license_name: component-specific
10
- license_link: https://huggingface.co/datasets/MAI716/ICLayout-Bench/blob/main/README.md#licensing
11
  configs:
12
  - config_name: default
13
  data_files:
@@ -63,7 +63,7 @@ To browse the task table with the Hugging Face `datasets` library:
63
  ```python
64
  from datasets import load_dataset
65
 
66
- tasks = load_dataset("MAI716/ICLayout-Bench", split="test")
67
  core = tasks.filter(lambda task: task["in_core"]).sort("core_order")
68
  print(tasks[0]["problem"])
69
  ```
@@ -83,7 +83,7 @@ from huggingface_hub import snapshot_download
83
 
84
  revision = "main" # Use a full dataset commit hash for repeatable experiments.
85
  dataset_root = Path(snapshot_download(
86
- repo_id="MAI716/ICLayout-Bench",
87
  repo_type="dataset",
88
  revision=revision,
89
  local_dir="iclayout-bench-dataset",
 
7
  - benchmark
8
  license: other
9
  license_name: component-specific
10
+ license_link: https://huggingface.co/datasets/lizhangmai/ICLayout-Bench/blob/main/README.md#licensing
11
  configs:
12
  - config_name: default
13
  data_files:
 
63
  ```python
64
  from datasets import load_dataset
65
 
66
+ tasks = load_dataset("lizhangmai/ICLayout-Bench", split="test")
67
  core = tasks.filter(lambda task: task["in_core"]).sort("core_order")
68
  print(tasks[0]["problem"])
69
  ```
 
83
 
84
  revision = "main" # Use a full dataset commit hash for repeatable experiments.
85
  dataset_root = Path(snapshot_download(
86
+ repo_id="lizhangmai/ICLayout-Bench",
87
  repo_type="dataset",
88
  revision=revision,
89
  local_dir="iclayout-bench-dataset",
data.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7a8728dc7bbcf61028e4bd0b45f53070d45c1b2d914bd1e9bc8dc7f078395e7d
3
- size 185039
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26280f1faf0713594446ae036ff42928798415c634abfe43a1bb94d2fcef52b4
3
+ size 189607
tasks/freepdk45/CircuitOpt/cases/fd_ota/case.toml CHANGED
@@ -14,7 +14,7 @@ environment = "freepdk45-nominal-predictive-rc"
14
  [task.inputs.description]
15
  path = "problem.md"
16
  format = "text"
17
- sha256 = "ff8729f45b7771563e2a70ecacf07b3c6cfbee9d7159c4fbbf526c9dbe188367"
18
 
19
  [task.inputs.netlist]
20
  path = "materials/circuit.spice"
@@ -25,7 +25,12 @@ sha256 = "4d3b70dc4275dec002434649f56fba42859326b377859bcc74dedaaab983502e"
25
  [task.inputs.performance]
26
  path = "materials/testbench.spice"
27
  format = "spice"
28
- sha256 = "8fd67dc95adcd226a12bacd326c122f150044983e78a118404bc258774f80589"
 
 
 
 
 
29
 
30
  [task.constraints]
31
  quality = [
@@ -256,6 +261,7 @@ stage = "simulate"
256
  operation = "circuit.simulate"
257
 
258
  [task.evaluation.jobs.inputs]
 
259
  deck = "input:performance"
260
  dut = "job:parasitics:netlist"
261
 
@@ -408,15 +414,16 @@ unity = 0.25
408
  supply = 0.15
409
 
410
  [task.evaluation.pre_layout]
411
- source_report_sha256 = "22683ad85fee5a0044c48172a8a6474bfeb7632c9113ad0c2a1a69fb8a54e83a"
412
 
413
  [task.evaluation.pre_layout.backends]
414
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"dfbdf2f93297bbe7d8b576fb988504bd0ecf85b93ef47c314a0f2c9c8830c3e7\", \"compatibility\": null, \"cpu_budget\": 8, \"execution_sha256\": \"495aa9623759f70228a236eb4825c2ae443ef6a741816d8cfc17d1830841dcef\", \"image_id\": \"sha256:060fee64f9f6e71a647e5e958b788d723c9d51d2928ff93e6a295db1959bc37f\", \"limits\": {\"cpus\": 8, \"memory_mb\": 4096, \"pids\": 256}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"660672961e1ce0632bb9e18bc6dfb1fbd751a36d1fc496f1491763859d76c624\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 120.0, \"tool_version\": \"******\\n** ngspice-45 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2025, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Thu Sep 17 13:42:47 UTC 2026\\n******\"}"
415
 
416
  [task.evaluation.pre_layout.jobs.source_nominal]
417
  operation = "circuit.simulate"
418
 
419
  [task.evaluation.pre_layout.jobs.source_nominal.inputs]
 
420
  deck = "input:performance"
421
  dut = "input:netlist"
422
 
@@ -427,15 +434,16 @@ waveform = "ngspice-raw"
427
  waveform = "waveform.raw"
428
 
429
  [task.evaluation.pre_layout.jobs.source_nominal.parameters.measurements]
430
- cmfb_shift = "V"
431
- gain_db = "dB"
432
  output_cm = "V"
433
  output_diff = "V"
434
  supply = "W"
 
435
  unity_hz = "Hz"
 
436
 
437
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
438
- deck = "8fd67dc95adcd226a12bacd326c122f150044983e78a118404bc258774f80589"
 
439
  dut = "4d3b70dc4275dec002434649f56fba42859326b377859bcc74dedaaab983502e"
440
 
441
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.cmfb_shift]
@@ -443,7 +451,7 @@ value = 0.05064101
443
  unit = "V"
444
 
445
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.gain_db]
446
- value = 41.54426
447
  unit = "dB"
448
 
449
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.output_cm]
@@ -459,12 +467,9 @@ value = 2.121048e-05
459
  unit = "W"
460
 
461
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.unity_hz]
462
- value = 119987800.0
463
  unit = "Hz"
464
 
465
- [task.evaluation.pre_layout.jobs.source_nominal.output_sha256]
466
- waveform = "0ec55af93a2d81534b7f56eb2908ea43291dbcd4b9b9414e853ac74b428919c5"
467
-
468
  [toolchain.backends.artifact]
469
  type = "klayout-docker"
470
 
@@ -474,30 +479,10 @@ check = "artifact"
474
  timeout_seconds = 120
475
 
476
  [toolchain.backends.drc]
477
- type = "klayout-docker"
478
-
479
- [toolchain.backends.drc.settings]
480
- image = "iclayout-eda-open:local"
481
- check = "drc"
482
- timeout_seconds = 120
483
- support = "build/support/freepdk45-klayout"
484
- profile = "drc.json"
485
-
486
- [toolchain.backends.drc.support_profiles]
487
- support = "klayout"
488
 
489
  [toolchain.backends.lvs]
490
- type = "klayout-docker"
491
-
492
- [toolchain.backends.lvs.settings]
493
- image = "iclayout-eda-open:local"
494
- check = "lvs"
495
- timeout_seconds = 120
496
- support = "build/support/freepdk45-klayout"
497
- profile = "strict-lvs.json"
498
-
499
- [toolchain.backends.lvs.support_profiles]
500
- support = "klayout"
501
 
502
  [toolchain.backends.geometry]
503
  type = "klayout-geometry-docker"
@@ -510,8 +495,30 @@ timeout_seconds = 60
510
  type = "magic-rc-docker"
511
 
512
  [toolchain.backends.rc.settings]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
513
  image = "iclayout-eda-open:local"
514
- support = "build/support/freepdk45-magic-vtg"
515
  technology = "freepdk45.tech"
516
  tech_name = "freepdk45"
517
  style = "spice3(sim)"
@@ -576,7 +583,7 @@ max_parallel_jobs = 8
576
  threads = 1
577
  cpu_budget = 8
578
  image = "iclayout-eda-open:local"
579
- support = "build/support/freepdk45-models"
580
  timeout_seconds = 120
581
 
582
  [toolchain.backends.ngspice.support_profiles]
 
14
  [task.inputs.description]
15
  path = "problem.md"
16
  format = "text"
17
+ sha256 = "65f0c0bda14fcc341144f75919d2c1c63bf9f14b810e191d8f85849d8fc063e4"
18
 
19
  [task.inputs.netlist]
20
  path = "materials/circuit.spice"
 
25
  [task.inputs.performance]
26
  path = "materials/testbench.spice"
27
  format = "spice"
28
+ sha256 = "0c04fa4998e29e6f1de255c970bf8af57f7d68669464892bd80f1adad0a12859"
29
+
30
+ [task.inputs.ngspice_startup]
31
+ path = "materials/ngspice.spiceinit"
32
+ format = "text"
33
+ sha256 = "2ef8c1ce0b4d65b62053c99e75b2bad1d1158582c6ca6cfc19b1e255c84ecfbc"
34
 
35
  [task.constraints]
36
  quality = [
 
261
  operation = "circuit.simulate"
262
 
263
  [task.evaluation.jobs.inputs]
264
+ startup = "input:ngspice_startup"
265
  deck = "input:performance"
266
  dut = "job:parasitics:netlist"
267
 
 
414
  supply = 0.15
415
 
416
  [task.evaluation.pre_layout]
417
+ source_report_sha256 = "f97b2fa3d535511247497dd5377f0decf8df736c9b49999f5c34f22892912bbb"
418
 
419
  [task.evaluation.pre_layout.backends]
420
+ "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"b31d9cd1eefc0739b5ca5d9de5b495674b1f0581e8bc61db6a8b372897a0ec20\", \"compatibility\": null, \"cpu_budget\": 8, \"executable_workspace\": false, \"execution_sha256\": \"7f6228054295b3b6f8c13b457ac41ed7e6fb868cff93c76b928402aab17ed48e\", \"image_id\": \"sha256:a280e1c61fcf6e950f3585fedd83fabcfaa4e295a5c8f58e4543d2e7d5a6c207\", \"limits\": {\"cpus\": null, \"memory_mb\": null, \"pids\": null}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"retry_policy\": {\"backoff_seconds\": 1, \"max_attempts\": 3, \"max_backoff_seconds\": 2}, \"support_sha256\": \"25c7f76fc1800bcafca34c2e69f6f460e276849eb7d43893748b0303283b7f2f\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 120.0, \"tool_version\": \"******\\n** ngspice-47 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2026, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Fri Nov 13 02:32:42 UTC 2026\\n******\"}"
421
 
422
  [task.evaluation.pre_layout.jobs.source_nominal]
423
  operation = "circuit.simulate"
424
 
425
  [task.evaluation.pre_layout.jobs.source_nominal.inputs]
426
+ startup = "input:ngspice_startup"
427
  deck = "input:performance"
428
  dut = "input:netlist"
429
 
 
434
  waveform = "waveform.raw"
435
 
436
  [task.evaluation.pre_layout.jobs.source_nominal.parameters.measurements]
 
 
437
  output_cm = "V"
438
  output_diff = "V"
439
  supply = "W"
440
+ gain_db = "dB"
441
  unity_hz = "Hz"
442
+ cmfb_shift = "V"
443
 
444
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
445
+ startup = "2ef8c1ce0b4d65b62053c99e75b2bad1d1158582c6ca6cfc19b1e255c84ecfbc"
446
+ deck = "0c04fa4998e29e6f1de255c970bf8af57f7d68669464892bd80f1adad0a12859"
447
  dut = "4d3b70dc4275dec002434649f56fba42859326b377859bcc74dedaaab983502e"
448
 
449
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.cmfb_shift]
 
451
  unit = "V"
452
 
453
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.gain_db]
454
+ value = 41.5443
455
  unit = "dB"
456
 
457
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.output_cm]
 
467
  unit = "W"
468
 
469
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.unity_hz]
470
+ value = 119988000.0
471
  unit = "Hz"
472
 
 
 
 
473
  [toolchain.backends.artifact]
474
  type = "klayout-docker"
475
 
 
479
  timeout_seconds = 120
480
 
481
  [toolchain.backends.drc]
482
+ from_pdk = "drc"
 
 
 
 
 
 
 
 
 
 
483
 
484
  [toolchain.backends.lvs]
485
+ from_pdk = "lvs"
 
 
 
 
 
 
 
 
 
 
486
 
487
  [toolchain.backends.geometry]
488
  type = "klayout-geometry-docker"
 
495
  type = "magic-rc-docker"
496
 
497
  [toolchain.backends.rc.settings]
498
+ gds_ignore_layers = [
499
+ [
500
+ 6,
501
+ 0,
502
+ ],
503
+ [
504
+ 7,
505
+ 0,
506
+ ],
507
+ [
508
+ 8,
509
+ 0,
510
+ ],
511
+ [
512
+ 230,
513
+ 0,
514
+ ],
515
+ [
516
+ 239,
517
+ 0,
518
+ ],
519
+ ]
520
  image = "iclayout-eda-open:local"
521
+ support = "magic-vtg"
522
  technology = "freepdk45.tech"
523
  tech_name = "freepdk45"
524
  style = "spice3(sim)"
 
583
  threads = 1
584
  cpu_budget = 8
585
  image = "iclayout-eda-open:local"
586
+ support = "models"
587
  timeout_seconds = 120
588
 
589
  [toolchain.backends.ngspice.support_profiles]
tasks/freepdk45/CircuitOpt/cases/fd_ota/materials/ngspice.spiceinit ADDED
@@ -0,0 +1 @@
 
 
1
+ set num_threads=1
tasks/freepdk45/CircuitOpt/cases/fd_ota/materials/testbench.spice CHANGED
@@ -1,5 +1,8 @@
1
  * Nominal fully differential OTA: differential AC drive through CircuitOpt fixture.
2
- .include /workspace/support/models.spice
 
 
 
3
  .include dut.spice
4
  .temp 27
5
  VDD VDD 0 1.0
 
1
  * Nominal fully differential OTA: differential AC drive through CircuitOpt fixture.
2
+ .include /workspace/support/tran_models/models_nom/NMOS_VTG.inc
3
+ .include /workspace/support/tran_models/models_nom/PMOS_VTG.inc
4
+ .include /workspace/support/tran_models/models_nom/NMOS_VTL.inc
5
+ .include /workspace/support/tran_models/models_nom/PMOS_VTL.inc
6
  .include dut.spice
7
  .temp 27
8
  VDD VDD 0 1.0
tasks/freepdk45/CircuitOpt/cases/fd_ota/problem.md CHANGED
@@ -22,7 +22,7 @@ Nominal DC measures output common mode (OUTP+OUTN)/2, differential output OUTP
22
 
23
  ## Physical Requirements
24
 
25
- Submit `output/final.gds`, top cell `fd_ota`, nonempty and at most 10 MiB. Pass FreePDK45 KLayout DRC and strict four-terminal LVS without waivers, including models, sizes and bodies. Research rules do not constitute manufacturing signoff.
26
 
27
  Functional geometry on layers 1/0–29/0 must fit within 100 µm × 100 µm; this outline is a hard limit, and area also contributes to quality scoring. Magic extracts RC used for electrical evaluation.
28
 
@@ -48,6 +48,8 @@ Total score is 100 × min(1, q_area)^0.15 × min(1, q_output_cm)^0.10 × min(1,
48
 
49
  ## Tools and Submission
50
 
 
 
51
  Soft solve budget: **8 hours**.
52
 
53
  Read `/protocol/task.json` for input/output paths, constraints and the `resources` object; `/protocol/harness.json` describes the active check and submission interface.
 
22
 
23
  ## Physical Requirements
24
 
25
+ Submit `output/final.gds`, top cell `fd_ota`, nonempty and at most 10 MiB. Pass FreePDK45 KLayout DRC and native upstream LVS, including declared MOS models and geometry under the upstream well/supply conventions. Research rules do not constitute manufacturing signoff.
26
 
27
  Functional geometry on layers 1/0–29/0 must fit within 100 µm × 100 µm; this outline is a hard limit, and area also contributes to quality scoring. Magic extracts RC used for electrical evaluation.
28
 
 
48
 
49
  ## Tools and Submission
50
 
51
+ For Magic RC import, this task explicitly ignores GDS layers 6/0, 7/0, 8/0, 230/0 and 239/0 through native `cifinput` rules. Independent KLayout DRC/LVS still checks the original submitted layout.
52
+
53
  Soft solve budget: **8 hours**.
54
 
55
  Read `/protocol/task.json` for input/output paths, constraints and the `resources` object; `/protocol/harness.json` describes the active check and submission interface.
tasks/freepdk45/OpenRAM/NOTICE CHANGED
@@ -4,7 +4,7 @@ Source: https://github.com/ferdous313/OpenRAM/tree/420a33e731d7d80bf9c7cd54ffbee
4
  Selected circuit: technology/freepdk45/sp_lib/cell_6t.sp (cell_6t)
5
  The accompanying LICENSE is the source repository's GPL-3.0 license.
6
  Layout-Bench netlist modification: none to the SPICE bytes.
7
- The candidate reference GDS is a selected-cell export of technology/freepdk45/gds_lib/cell_6t.gds; Geometry and netlist are unchanged.
8
  No model files, Cadence technology files or Calibre SVRF are distributed here.
9
  FreePDK45 process collateral has separate upstream terms; the repository license
10
  must not be treated as a license grant for separately sourced PDK assets.
@@ -13,7 +13,7 @@ Source: https://github.com/ferdous313/OpenRAM/tree/420a33e731d7d80bf9c7cd54ffbee
13
  Selected circuit: technology/freepdk45/sp_lib/sense_amp.sp (sense_amp)
14
  The accompanying LICENSE is the source repository's GPL-3.0 license.
15
  Layout-Bench netlist modification: none to the SPICE bytes.
16
- The candidate reference GDS is a selected-cell export of technology/freepdk45/gds_lib/sense_amp.gds; Six overlapping duplicate contacts are removed; transistor geometry and circuit parameters are unchanged.
17
  No model files, Cadence technology files or Calibre SVRF are distributed here.
18
  FreePDK45 process collateral has separate upstream terms; the repository license
19
  must not be treated as a license grant for separately sourced PDK assets.
@@ -22,7 +22,7 @@ Source: https://github.com/ferdous313/OpenRAM/tree/420a33e731d7d80bf9c7cd54ffbee
22
  Selected circuit: technology/freepdk45/sp_lib/write_driver.sp (write_driver)
23
  The accompanying LICENSE is the source repository's GPL-3.0 license.
24
  Layout-Bench netlist modification: none to the SPICE bytes.
25
- The candidate reference GDS is a selected-cell export of technology/freepdk45/gds_lib/write_driver.gds; The enable label is wen, matching the authoritative SPICE port; conductor and transistor geometry are unchanged.
26
  No model files, Cadence technology files or Calibre SVRF are distributed here.
27
  FreePDK45 process collateral has separate upstream terms; the repository license
28
  must not be treated as a license grant for separately sourced PDK assets.
 
4
  Selected circuit: technology/freepdk45/sp_lib/cell_6t.sp (cell_6t)
5
  The accompanying LICENSE is the source repository's GPL-3.0 license.
6
  Layout-Bench netlist modification: none to the SPICE bytes.
7
+ The reference GDS is a selected-cell export of technology/freepdk45/gds_lib/cell_6t.gds. VIA1 cuts are adapted to the current native 70 nm rule, with directional M1/M2 enclosure extensions. Transistor, contact and well geometry, port labels and SPICE bytes are preserved.
8
  No model files, Cadence technology files or Calibre SVRF are distributed here.
9
  FreePDK45 process collateral has separate upstream terms; the repository license
10
  must not be treated as a license grant for separately sourced PDK assets.
 
13
  Selected circuit: technology/freepdk45/sp_lib/sense_amp.sp (sense_amp)
14
  The accompanying LICENSE is the source repository's GPL-3.0 license.
15
  Layout-Bench netlist modification: none to the SPICE bytes.
16
+ The reference GDS is a selected-cell export of technology/freepdk45/gds_lib/sense_amp.gds. Six overlapping duplicate contacts are removed. VIA1 cuts are adapted to 70 nm with directional M1/M2 enclosure extensions; three cuts move by 2.5 nm along existing wires. Transistor, contact and well geometry, port labels and circuit parameters are preserved.
17
  No model files, Cadence technology files or Calibre SVRF are distributed here.
18
  FreePDK45 process collateral has separate upstream terms; the repository license
19
  must not be treated as a license grant for separately sourced PDK assets.
 
22
  Selected circuit: technology/freepdk45/sp_lib/write_driver.sp (write_driver)
23
  The accompanying LICENSE is the source repository's GPL-3.0 license.
24
  Layout-Bench netlist modification: none to the SPICE bytes.
25
+ The reference GDS is a selected-cell export of technology/freepdk45/gds_lib/write_driver.gds. The enable label is wen, matching the authoritative SPICE port. VIA1 cuts are adapted to 70 nm; two cuts move 100 nm along existing wires and a third moves 37.5 nm vertically and 2.5 nm horizontally, with local M1/M2 enclosure and notch fill. Transistor, contact and well geometry, port labels and circuit parameters are preserved.
26
  No model files, Cadence technology files or Calibre SVRF are distributed here.
27
  FreePDK45 process collateral has separate upstream terms; the repository license
28
  must not be treated as a license grant for separately sourced PDK assets.
tasks/freepdk45/OpenRAM/cases/cell_6t/case.toml CHANGED
@@ -15,7 +15,7 @@ environment = "freepdk45-nominal-predictive-rc"
15
  [task.inputs.description]
16
  path = "problem.md"
17
  format = "text"
18
- sha256 = "2d757eea55473016fb89dadd0dc853c24bd0c5700641344b24f93ceedefb796f"
19
 
20
  [task.inputs.netlist]
21
  path = "materials/circuit.spice"
@@ -26,7 +26,12 @@ sha256 = "18518f33516076c2bdca25c7036319734470c7757e3b1a2ab5c8e93b21fb4488"
26
  [task.inputs.performance]
27
  path = "materials/testbench.spice"
28
  format = "spice"
29
- sha256 = "bc0034d4bde558134f21b5ad453623f4cd93862d8fe7761a1a8752ba21051006"
 
 
 
 
 
30
 
31
  [task.constraints]
32
  quality = [
@@ -252,6 +257,7 @@ stage = "simulate"
252
  operation = "circuit.simulate"
253
 
254
  [task.evaluation.jobs.inputs]
 
255
  deck = "input:performance"
256
  dut = "job:parasitics:netlist"
257
 
@@ -387,7 +393,7 @@ rationale = "The declared ordered-event interval or crossing frequency has a non
387
  method = "layout"
388
  area_metric = "functional_area"
389
  area_target = 0.55
390
- rationale = "The 0.55 um2 area target is an expert engineering estimate for a compact standalone bitcell under the declared rules and complete functional-bbox measurement. A four-NMOS shared-diffusion chain uses 50 nm gates, 65 nm contacts and 35 nm gate-to-contact clearances: 4*50 + 3*(65+2*35) + 2*(35+65+5) = 815 nm of active width. Two 55 nm well enclosures give 925 nm. The 205 nm pull-down and 90 nm pull-up widths, inter-row gate/contact access, body ties and cross-coupled routing motivate an approximately 590-600 nm total height, giving a 0.546-0.555 um2 compact envelope. This is a demanding layout budget, not a demonstrated optimum or a mandatory topology; other aspect ratios and equivalent layouts remain allowed. Array sharing of wells or body contacts is not assumed for the standalone cell. Area carries 50%, complete-window supply power 40% and read delay 10%. Energy is the principal electrical layout cost; read timing retains a smaller independent weight. Both stored states, nondestructive reads and all declared measurements remain checked."
391
 
392
  [task.evaluation.scoring.weights]
393
  functional_area = 0.5
@@ -395,15 +401,16 @@ read_delay = 0.1
395
  supply = 0.4
396
 
397
  [task.evaluation.pre_layout]
398
- source_report_sha256 = "cdc4c535c47688bd62882fd748fd30697c19eb0393172c69c45c32884ce266f4"
399
 
400
  [task.evaluation.pre_layout.backends]
401
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"dfbdf2f93297bbe7d8b576fb988504bd0ecf85b93ef47c314a0f2c9c8830c3e7\", \"compatibility\": null, \"cpu_budget\": 8, \"execution_sha256\": \"495aa9623759f70228a236eb4825c2ae443ef6a741816d8cfc17d1830841dcef\", \"image_id\": \"sha256:060fee64f9f6e71a647e5e958b788d723c9d51d2928ff93e6a295db1959bc37f\", \"limits\": {\"cpus\": 8, \"memory_mb\": 4096, \"pids\": 256}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"660672961e1ce0632bb9e18bc6dfb1fbd751a36d1fc496f1491763859d76c624\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 120.0, \"tool_version\": \"******\\n** ngspice-45 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2025, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Thu Sep 17 13:42:47 UTC 2026\\n******\"}"
402
 
403
  [task.evaluation.pre_layout.jobs.source_nominal]
404
  operation = "circuit.simulate"
405
 
406
  [task.evaluation.pre_layout.jobs.source_nominal.inputs]
 
407
  deck = "input:performance"
408
  dut = "input:netlist"
409
 
@@ -425,48 +432,46 @@ read_delay_1_5 = "s"
425
  read_delay_1_6 = "s"
426
 
427
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
428
- deck = "bc0034d4bde558134f21b5ad453623f4cd93862d8fe7761a1a8752ba21051006"
 
429
  dut = "18518f33516076c2bdca25c7036319734470c7757e3b1a2ab5c8e93b21fb4488"
430
 
431
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.read0]
432
- value = 0.7858571
433
  unit = "V"
434
 
435
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.read1]
436
- value = 0.7858571
437
  unit = "V"
438
 
439
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.read_delay_0_1]
440
- value = 1.317565e-11
441
  unit = "s"
442
 
443
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.read_delay_0_2]
444
- value = 1.317565e-11
445
  unit = "s"
446
 
447
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.read_delay_1_5]
448
- value = 1.317565e-11
449
  unit = "s"
450
 
451
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.read_delay_1_6]
452
- value = 1.317565e-11
453
  unit = "s"
454
 
455
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.repeat0]
456
- value = 0.7858571
457
  unit = "V"
458
 
459
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.repeat1]
460
- value = 0.7858571
461
  unit = "V"
462
 
463
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.supply]
464
- value = 5.942012e-06
465
  unit = "W"
466
 
467
- [task.evaluation.pre_layout.jobs.source_nominal.output_sha256]
468
- waveform = "532eb3655fa60cea47e9c9eb12e53033ff2d99d674d1de5b2430173dd600bf35"
469
-
470
  [toolchain.backends.artifact]
471
  type = "klayout-docker"
472
 
@@ -476,30 +481,10 @@ check = "artifact"
476
  timeout_seconds = 120
477
 
478
  [toolchain.backends.drc]
479
- type = "klayout-docker"
480
-
481
- [toolchain.backends.drc.settings]
482
- image = "iclayout-eda-open:local"
483
- check = "drc"
484
- timeout_seconds = 120
485
- support = "build/support/freepdk45-klayout"
486
- profile = "drc.json"
487
-
488
- [toolchain.backends.drc.support_profiles]
489
- support = "klayout"
490
 
491
  [toolchain.backends.lvs]
492
- type = "klayout-docker"
493
-
494
- [toolchain.backends.lvs.settings]
495
- image = "iclayout-eda-open:local"
496
- check = "lvs"
497
- timeout_seconds = 120
498
- support = "build/support/freepdk45-klayout"
499
- profile = "strict-lvs.json"
500
-
501
- [toolchain.backends.lvs.support_profiles]
502
- support = "klayout"
503
 
504
  [toolchain.backends.geometry]
505
  type = "klayout-geometry-docker"
@@ -512,8 +497,30 @@ timeout_seconds = 60
512
  type = "magic-rc-docker"
513
 
514
  [toolchain.backends.rc.settings]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
515
  image = "iclayout-eda-open:local"
516
- support = "build/support/freepdk45-magic-vtg"
517
  technology = "freepdk45.tech"
518
  tech_name = "freepdk45"
519
  style = "spice3(sim)"
@@ -578,7 +585,7 @@ max_parallel_jobs = 8
578
  threads = 1
579
  cpu_budget = 8
580
  image = "iclayout-eda-open:local"
581
- support = "build/support/freepdk45-models"
582
  timeout_seconds = 120
583
 
584
  [toolchain.backends.ngspice.support_profiles]
 
15
  [task.inputs.description]
16
  path = "problem.md"
17
  format = "text"
18
+ sha256 = "17cebe332576dda6ee92b177c3a44a22a892fbaf665eba47bc2af08b27110a67"
19
 
20
  [task.inputs.netlist]
21
  path = "materials/circuit.spice"
 
26
  [task.inputs.performance]
27
  path = "materials/testbench.spice"
28
  format = "spice"
29
+ sha256 = "0a3d7da8d4b28efb89658f97f8d843aab8c737d5d116ec2a47a105d449d8d87c"
30
+
31
+ [task.inputs.ngspice_startup]
32
+ path = "materials/ngspice.spiceinit"
33
+ format = "text"
34
+ sha256 = "2ef8c1ce0b4d65b62053c99e75b2bad1d1158582c6ca6cfc19b1e255c84ecfbc"
35
 
36
  [task.constraints]
37
  quality = [
 
257
  operation = "circuit.simulate"
258
 
259
  [task.evaluation.jobs.inputs]
260
+ startup = "input:ngspice_startup"
261
  deck = "input:performance"
262
  dut = "job:parasitics:netlist"
263
 
 
393
  method = "layout"
394
  area_metric = "functional_area"
395
  area_target = 0.55
396
+ rationale = "The 0.55 um2 area target is an expert engineering estimate for a compact standalone bitcell under the declared rules and complete functional-bbox measurement. A four-NMOS shared-diffusion chain uses 50 nm gates, 65 nm contacts and 35 nm gate-to-contact clearances: 4*50 + 3*(65+2*35) + 2*(35+65+5) = 815 nm of active width. Two 55 nm well enclosures give 925 nm. The 205 nm pull-down and 90 nm pull-up widths, inter-row gate/contact access, body ties and cross-coupled routing motivate an approximately 590-600 nm total height, giving a 0.546-0.555 um2 compact envelope. This is a demanding layout budget, not a demonstrated optimum or a mandatory topology; other aspect ratios and equivalent layouts remain allowed. The estimate budgets local well/body access; native upstream LVS defines the permitted global/implicit well and supply conventions. Area carries 50%, complete-window supply power 40% and read delay 10%. Energy is the principal electrical layout cost; read timing retains a smaller independent weight. Both stored states, nondestructive reads and all declared measurements remain checked."
397
 
398
  [task.evaluation.scoring.weights]
399
  functional_area = 0.5
 
401
  supply = 0.4
402
 
403
  [task.evaluation.pre_layout]
404
+ source_report_sha256 = "c0604801c51d4190c626bd14eba5eca141fac42b0ddb17b637793c412fe9823a"
405
 
406
  [task.evaluation.pre_layout.backends]
407
+ "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"b31d9cd1eefc0739b5ca5d9de5b495674b1f0581e8bc61db6a8b372897a0ec20\", \"compatibility\": null, \"cpu_budget\": 8, \"executable_workspace\": false, \"execution_sha256\": \"7f6228054295b3b6f8c13b457ac41ed7e6fb868cff93c76b928402aab17ed48e\", \"image_id\": \"sha256:a280e1c61fcf6e950f3585fedd83fabcfaa4e295a5c8f58e4543d2e7d5a6c207\", \"limits\": {\"cpus\": null, \"memory_mb\": null, \"pids\": null}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"retry_policy\": {\"backoff_seconds\": 1, \"max_attempts\": 3, \"max_backoff_seconds\": 2}, \"support_sha256\": \"25c7f76fc1800bcafca34c2e69f6f460e276849eb7d43893748b0303283b7f2f\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 120.0, \"tool_version\": \"******\\n** ngspice-47 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2026, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Fri Nov 13 02:32:42 UTC 2026\\n******\"}"
408
 
409
  [task.evaluation.pre_layout.jobs.source_nominal]
410
  operation = "circuit.simulate"
411
 
412
  [task.evaluation.pre_layout.jobs.source_nominal.inputs]
413
+ startup = "input:ngspice_startup"
414
  deck = "input:performance"
415
  dut = "input:netlist"
416
 
 
432
  read_delay_1_6 = "s"
433
 
434
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
435
+ startup = "2ef8c1ce0b4d65b62053c99e75b2bad1d1158582c6ca6cfc19b1e255c84ecfbc"
436
+ deck = "0a3d7da8d4b28efb89658f97f8d843aab8c737d5d116ec2a47a105d449d8d87c"
437
  dut = "18518f33516076c2bdca25c7036319734470c7757e3b1a2ab5c8e93b21fb4488"
438
 
439
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.read0]
440
+ value = 0.785858
441
  unit = "V"
442
 
443
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.read1]
444
+ value = 0.785858
445
  unit = "V"
446
 
447
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.read_delay_0_1]
448
+ value = 1.31755e-11
449
  unit = "s"
450
 
451
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.read_delay_0_2]
452
+ value = 1.31755e-11
453
  unit = "s"
454
 
455
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.read_delay_1_5]
456
+ value = 1.31755e-11
457
  unit = "s"
458
 
459
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.read_delay_1_6]
460
+ value = 1.31755e-11
461
  unit = "s"
462
 
463
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.repeat0]
464
+ value = 0.785858
465
  unit = "V"
466
 
467
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.repeat1]
468
+ value = 0.785858
469
  unit = "V"
470
 
471
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.supply]
472
+ value = 5.9391e-06
473
  unit = "W"
474
 
 
 
 
475
  [toolchain.backends.artifact]
476
  type = "klayout-docker"
477
 
 
481
  timeout_seconds = 120
482
 
483
  [toolchain.backends.drc]
484
+ from_pdk = "drc"
 
 
 
 
 
 
 
 
 
 
485
 
486
  [toolchain.backends.lvs]
487
+ from_pdk = "lvs"
 
 
 
 
 
 
 
 
 
 
488
 
489
  [toolchain.backends.geometry]
490
  type = "klayout-geometry-docker"
 
497
  type = "magic-rc-docker"
498
 
499
  [toolchain.backends.rc.settings]
500
+ gds_ignore_layers = [
501
+ [
502
+ 6,
503
+ 0,
504
+ ],
505
+ [
506
+ 7,
507
+ 0,
508
+ ],
509
+ [
510
+ 8,
511
+ 0,
512
+ ],
513
+ [
514
+ 230,
515
+ 0,
516
+ ],
517
+ [
518
+ 239,
519
+ 0,
520
+ ],
521
+ ]
522
  image = "iclayout-eda-open:local"
523
+ support = "magic-vtg"
524
  technology = "freepdk45.tech"
525
  tech_name = "freepdk45"
526
  style = "spice3(sim)"
 
585
  threads = 1
586
  cpu_budget = 8
587
  image = "iclayout-eda-open:local"
588
+ support = "models"
589
  timeout_seconds = 120
590
 
591
  [toolchain.backends.ngspice.support_profiles]
tasks/freepdk45/OpenRAM/cases/cell_6t/materials/ngspice.spiceinit ADDED
@@ -0,0 +1 @@
 
 
1
+ set num_threads=1
tasks/freepdk45/OpenRAM/cases/cell_6t/materials/testbench.spice CHANGED
@@ -1,5 +1,8 @@
1
  * cell_6t nominal characterization
2
- .include /workspace/support/models.spice
 
 
 
3
  .include dut.spice
4
  .temp 27
5
  Vdd vdd 0 1
 
1
  * cell_6t nominal characterization
2
+ .include /workspace/support/tran_models/models_nom/NMOS_VTG.inc
3
+ .include /workspace/support/tran_models/models_nom/PMOS_VTG.inc
4
+ .include /workspace/support/tran_models/models_nom/NMOS_VTL.inc
5
+ .include /workspace/support/tran_models/models_nom/PMOS_VTL.inc
6
  .include dut.spice
7
  .temp 27
8
  Vdd vdd 0 1
tasks/freepdk45/OpenRAM/cases/cell_6t/problem.md CHANGED
@@ -22,11 +22,11 @@ The deck precisely defines stimuli and observation times, testing only through e
22
 
23
  ## Physical Requirements
24
 
25
- Submit a nonempty GDSII no larger than 10 MiB. Enable every check in the supplied KLayout DRC deck, including grid and antenna checks, without waivers. Strict LVS checks named ports, models, W/L and physical well/contact connectivity, with library-specific implicit or global power connections disabled. The upstream deck does not implement its documented spacing rule for wells at different potentials and does not provide complete foundry signoff.
26
 
27
  The hard functional-outline limit is 100 um × 100 um. Its bounding box includes all functional geometry on drawing layers 1/0–29/0: active regions, wells, implants, threshold markers, poly, contacts, ten metal layers and nine via layers. Area is scored in um2. Keep functional geometry on these layers, excluding pin-purpose and annotation geometry. Electrical labels use poly or metal drawing layers (9/0, 11/0, 13/0, …, 29/0); nonelectrical annotation text is not extracted.
28
 
29
- Translation, equivalent hierarchy and internal instance renaming are allowed. LVS permits source/drain exchange and equivalent parallel devices; the candidate must still pass the same RC electrical evaluation. Preserve top-level port identities and explicit body connections.
30
 
31
  ## Electrical Requirements and Scoring
32
 
@@ -34,7 +34,7 @@ Artifact, geometry, DRC, LVS and declared functional requirements must pass. Par
34
 
35
  For `layout` scoring, cap every positively weighted raw quality at 1 before aggregation; the score ranges from 0 to 100. Reaching every weighted target scores 100, and no minimum score is required for validity.
36
 
37
- Extract the candidate GDS only after file, DRC, LVS and geometry checks pass. Simulate its Magic RC netlist directly, with independent source simulation supplying the scoring baseline. Independent LVS first checks VTG/VTL device types, then uses the matching extraction configuration. Extraction includes poly/metal sheet resistance, contacts/vias, geometry-dependent coupling and ground capacitance, and device junction areas/perimeters. Wells use lumped connectivity; BSIM4 describes device and junction behavior. Interconnect RC uses estimated coefficients and native capacitance placement from the fixed community FreePDK45 Magic technology. The adapter binds VTG/VTL models, preserves annotation layers and corrects dimension-unit conversion. This is a predictive approximation without field-solver signoff accuracy.
38
 
39
  Physical checks and the declared functional bounds must pass. Each `source_*` job and its corresponding candidate extracted circuit use exactly the same testbench, model resources, parameters, loads and measurement windows. Electrical quality uses the paired pre-layout observations to score preservation of the fixed circuit's performance. Reports retain every source/candidate pair.
40
 
@@ -73,6 +73,8 @@ The capability coefficient is **6**, independent of this task's reference-normal
73
 
74
  ## Tools and Submission
75
 
 
 
76
  Soft solve budget: **1 hour**.
77
 
78
  Read `/protocol/task.json` for input/output paths, constraints and the `resources` object; `/protocol/harness.json` describes the active check and submission interface.
 
22
 
23
  ## Physical Requirements
24
 
25
+ Submit a nonempty GDSII no larger than 10 MiB. Enable every check in the supplied KLayout DRC deck, including grid and antenna checks, without waivers. Native upstream LVS checks the circuit and its declared MOS geometry using the upstream well/supply and symmetric-pin conventions. The upstream deck does not implement its documented spacing rule for wells at different potentials and does not provide complete foundry signoff.
26
 
27
  The hard functional-outline limit is 100 um × 100 um. Its bounding box includes all functional geometry on drawing layers 1/0–29/0: active regions, wells, implants, threshold markers, poly, contacts, ten metal layers and nine via layers. Area is scored in um2. Keep functional geometry on these layers, excluding pin-purpose and annotation geometry. Electrical labels use poly or metal drawing layers (9/0, 11/0, 13/0, …, 29/0); nonelectrical annotation text is not extracted.
28
 
29
+ Translation, equivalent hierarchy and internal instance renaming are allowed. LVS permits source/drain exchange and equivalent parallel devices; the candidate must still pass the same RC electrical evaluation. Preserve the published interface and circuit body nets; native LVS retains upstream global/implicit well and supply conventions.
30
 
31
  ## Electrical Requirements and Scoring
32
 
 
34
 
35
  For `layout` scoring, cap every positively weighted raw quality at 1 before aggregation; the score ranges from 0 to 100. Reaching every weighted target scores 100, and no minimum score is required for validity.
36
 
37
+ Extract the candidate GDS only after file, DRC, LVS and geometry checks pass. Simulate its Magic RC netlist directly, with independent source simulation supplying the scoring baseline. Independent LVS first checks VTG/VTL device types, then uses the matching extraction configuration. Extraction includes poly/metal sheet resistance, contacts/vias, geometry-dependent coupling and ground capacitance, and device junction areas/perimeters. Wells use lumped connectivity; BSIM4 describes device and junction behavior. Interconnect RC uses estimated coefficients and native capacitance placement from the fixed community FreePDK45 Magic technology. The adapter binds VTG/VTL models, ignores the declared nonelectrical marker layers and corrects dimension-unit conversion. This is a predictive approximation without field-solver signoff accuracy.
38
 
39
  Physical checks and the declared functional bounds must pass. Each `source_*` job and its corresponding candidate extracted circuit use exactly the same testbench, model resources, parameters, loads and measurement windows. Electrical quality uses the paired pre-layout observations to score preservation of the fixed circuit's performance. Reports retain every source/candidate pair.
40
 
 
73
 
74
  ## Tools and Submission
75
 
76
+ For Magic RC import, this task explicitly ignores GDS layers 6/0, 7/0, 8/0, 230/0 and 239/0 through native `cifinput` rules. Independent KLayout DRC/LVS still checks the original submitted layout.
77
+
78
  Soft solve budget: **1 hour**.
79
 
80
  Read `/protocol/task.json` for input/output paths, constraints and the `resources` object; `/protocol/harness.json` describes the active check and submission interface.
tasks/freepdk45/OpenRAM/cases/sense_amp/case.toml CHANGED
@@ -14,7 +14,7 @@ environment = "freepdk45-nominal-predictive-rc"
14
  [task.inputs.description]
15
  path = "problem.md"
16
  format = "text"
17
- sha256 = "e1c8d81ef4adfe7e9e69ccf2ba376df371309e07d983614d2ac078c14f0f594c"
18
 
19
  [task.inputs.netlist]
20
  path = "materials/circuit.spice"
@@ -25,7 +25,12 @@ sha256 = "f5a25305dc9184f778cad474f697091f37bfc8b30cf045e46306ce0927c5565f"
25
  [task.inputs.performance]
26
  path = "materials/testbench.spice"
27
  format = "spice"
28
- sha256 = "1d96a4f3ff79ab3e154911210b637de1419e5572e31aabe6e98550f381edb761"
 
 
 
 
 
29
 
30
  [task.constraints]
31
  quality = [
@@ -252,6 +257,7 @@ stage = "simulate"
252
  operation = "circuit.simulate"
253
 
254
  [task.evaluation.jobs.inputs]
 
255
  deck = "input:performance"
256
  dut = "job:parasitics:netlist"
257
 
@@ -356,15 +362,16 @@ decision_delay_fall = 0.68
356
  supply = 0.17
357
 
358
  [task.evaluation.pre_layout]
359
- source_report_sha256 = "f57537b16cb3f7b697e4d0e70eb9518ed478ec7b78d331ed7f4d1efd3c9f1f38"
360
 
361
  [task.evaluation.pre_layout.backends]
362
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"dfbdf2f93297bbe7d8b576fb988504bd0ecf85b93ef47c314a0f2c9c8830c3e7\", \"compatibility\": null, \"cpu_budget\": 8, \"execution_sha256\": \"495aa9623759f70228a236eb4825c2ae443ef6a741816d8cfc17d1830841dcef\", \"image_id\": \"sha256:060fee64f9f6e71a647e5e958b788d723c9d51d2928ff93e6a295db1959bc37f\", \"limits\": {\"cpus\": 8, \"memory_mb\": 4096, \"pids\": 256}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"660672961e1ce0632bb9e18bc6dfb1fbd751a36d1fc496f1491763859d76c624\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 120.0, \"tool_version\": \"******\\n** ngspice-45 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2025, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Thu Sep 17 13:42:47 UTC 2026\\n******\"}"
363
 
364
  [task.evaluation.pre_layout.jobs.source_nominal]
365
  operation = "circuit.simulate"
366
 
367
  [task.evaluation.pre_layout.jobs.source_nominal.inputs]
 
368
  deck = "input:performance"
369
  dut = "input:netlist"
370
 
@@ -381,11 +388,12 @@ supply = "W"
381
  decision_delay_fall = "s"
382
 
383
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
384
- deck = "1d96a4f3ff79ab3e154911210b637de1419e5572e31aabe6e98550f381edb761"
 
385
  dut = "f5a25305dc9184f778cad474f697091f37bfc8b30cf045e46306ce0927c5565f"
386
 
387
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.decision_delay_fall]
388
- value = 1.248627e-11
389
  unit = "s"
390
 
391
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.high]
@@ -393,16 +401,13 @@ value = 0.999996
393
  unit = "V"
394
 
395
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.low]
396
- value = 2.338873e-05
397
  unit = "V"
398
 
399
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.supply]
400
- value = 1.395456e-06
401
  unit = "W"
402
 
403
- [task.evaluation.pre_layout.jobs.source_nominal.output_sha256]
404
- waveform = "cf8e070c6c0b1cb7d47fa1a05d3b23752c4256813abd989270dfda958056634c"
405
-
406
  [toolchain.backends.artifact]
407
  type = "klayout-docker"
408
 
@@ -412,30 +417,10 @@ check = "artifact"
412
  timeout_seconds = 120
413
 
414
  [toolchain.backends.drc]
415
- type = "klayout-docker"
416
-
417
- [toolchain.backends.drc.settings]
418
- image = "iclayout-eda-open:local"
419
- check = "drc"
420
- timeout_seconds = 120
421
- support = "build/support/freepdk45-klayout"
422
- profile = "drc.json"
423
-
424
- [toolchain.backends.drc.support_profiles]
425
- support = "klayout"
426
 
427
  [toolchain.backends.lvs]
428
- type = "klayout-docker"
429
-
430
- [toolchain.backends.lvs.settings]
431
- image = "iclayout-eda-open:local"
432
- check = "lvs"
433
- timeout_seconds = 120
434
- support = "build/support/freepdk45-klayout"
435
- profile = "strict-lvs.json"
436
-
437
- [toolchain.backends.lvs.support_profiles]
438
- support = "klayout"
439
 
440
  [toolchain.backends.geometry]
441
  type = "klayout-geometry-docker"
@@ -448,8 +433,30 @@ timeout_seconds = 60
448
  type = "magic-rc-docker"
449
 
450
  [toolchain.backends.rc.settings]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
451
  image = "iclayout-eda-open:local"
452
- support = "build/support/freepdk45-magic-vtg"
453
  technology = "freepdk45.tech"
454
  tech_name = "freepdk45"
455
  style = "spice3(sim)"
@@ -514,7 +521,7 @@ max_parallel_jobs = 8
514
  threads = 1
515
  cpu_budget = 8
516
  image = "iclayout-eda-open:local"
517
- support = "build/support/freepdk45-models"
518
  timeout_seconds = 120
519
 
520
  [toolchain.backends.ngspice.support_profiles]
 
14
  [task.inputs.description]
15
  path = "problem.md"
16
  format = "text"
17
+ sha256 = "d7bd7d1271e414fd4939f6791985c0150df5a23f6ff518ab872d48e79b582657"
18
 
19
  [task.inputs.netlist]
20
  path = "materials/circuit.spice"
 
25
  [task.inputs.performance]
26
  path = "materials/testbench.spice"
27
  format = "spice"
28
+ sha256 = "de62451cc7145c3350218ae9fa9b3fe6eac77349f2d9be7c6dccff2f3fdd4420"
29
+
30
+ [task.inputs.ngspice_startup]
31
+ path = "materials/ngspice.spiceinit"
32
+ format = "text"
33
+ sha256 = "2ef8c1ce0b4d65b62053c99e75b2bad1d1158582c6ca6cfc19b1e255c84ecfbc"
34
 
35
  [task.constraints]
36
  quality = [
 
257
  operation = "circuit.simulate"
258
 
259
  [task.evaluation.jobs.inputs]
260
+ startup = "input:ngspice_startup"
261
  deck = "input:performance"
262
  dut = "job:parasitics:netlist"
263
 
 
362
  supply = 0.17
363
 
364
  [task.evaluation.pre_layout]
365
+ source_report_sha256 = "71d84158f10570531eca00d5dc8135b9a2ffd42f2fba6bb9f6357165bd8605a8"
366
 
367
  [task.evaluation.pre_layout.backends]
368
+ "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"b31d9cd1eefc0739b5ca5d9de5b495674b1f0581e8bc61db6a8b372897a0ec20\", \"compatibility\": null, \"cpu_budget\": 8, \"executable_workspace\": false, \"execution_sha256\": \"7f6228054295b3b6f8c13b457ac41ed7e6fb868cff93c76b928402aab17ed48e\", \"image_id\": \"sha256:a280e1c61fcf6e950f3585fedd83fabcfaa4e295a5c8f58e4543d2e7d5a6c207\", \"limits\": {\"cpus\": null, \"memory_mb\": null, \"pids\": null}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"retry_policy\": {\"backoff_seconds\": 1, \"max_attempts\": 3, \"max_backoff_seconds\": 2}, \"support_sha256\": \"25c7f76fc1800bcafca34c2e69f6f460e276849eb7d43893748b0303283b7f2f\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 120.0, \"tool_version\": \"******\\n** ngspice-47 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2026, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Fri Nov 13 02:32:42 UTC 2026\\n******\"}"
369
 
370
  [task.evaluation.pre_layout.jobs.source_nominal]
371
  operation = "circuit.simulate"
372
 
373
  [task.evaluation.pre_layout.jobs.source_nominal.inputs]
374
+ startup = "input:ngspice_startup"
375
  deck = "input:performance"
376
  dut = "input:netlist"
377
 
 
388
  decision_delay_fall = "s"
389
 
390
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
391
+ startup = "2ef8c1ce0b4d65b62053c99e75b2bad1d1158582c6ca6cfc19b1e255c84ecfbc"
392
+ deck = "de62451cc7145c3350218ae9fa9b3fe6eac77349f2d9be7c6dccff2f3fdd4420"
393
  dut = "f5a25305dc9184f778cad474f697091f37bfc8b30cf045e46306ce0927c5565f"
394
 
395
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.decision_delay_fall]
396
+ value = 1.24859e-11
397
  unit = "s"
398
 
399
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.high]
 
401
  unit = "V"
402
 
403
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.low]
404
+ value = 2.33887e-05
405
  unit = "V"
406
 
407
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.supply]
408
+ value = 1.39545e-06
409
  unit = "W"
410
 
 
 
 
411
  [toolchain.backends.artifact]
412
  type = "klayout-docker"
413
 
 
417
  timeout_seconds = 120
418
 
419
  [toolchain.backends.drc]
420
+ from_pdk = "drc"
 
 
 
 
 
 
 
 
 
 
421
 
422
  [toolchain.backends.lvs]
423
+ from_pdk = "lvs"
 
 
 
 
 
 
 
 
 
 
424
 
425
  [toolchain.backends.geometry]
426
  type = "klayout-geometry-docker"
 
433
  type = "magic-rc-docker"
434
 
435
  [toolchain.backends.rc.settings]
436
+ gds_ignore_layers = [
437
+ [
438
+ 6,
439
+ 0,
440
+ ],
441
+ [
442
+ 7,
443
+ 0,
444
+ ],
445
+ [
446
+ 8,
447
+ 0,
448
+ ],
449
+ [
450
+ 230,
451
+ 0,
452
+ ],
453
+ [
454
+ 239,
455
+ 0,
456
+ ],
457
+ ]
458
  image = "iclayout-eda-open:local"
459
+ support = "magic-vtg"
460
  technology = "freepdk45.tech"
461
  tech_name = "freepdk45"
462
  style = "spice3(sim)"
 
521
  threads = 1
522
  cpu_budget = 8
523
  image = "iclayout-eda-open:local"
524
+ support = "models"
525
  timeout_seconds = 120
526
 
527
  [toolchain.backends.ngspice.support_profiles]
tasks/freepdk45/OpenRAM/cases/sense_amp/materials/ngspice.spiceinit ADDED
@@ -0,0 +1 @@
 
 
1
+ set num_threads=1
tasks/freepdk45/OpenRAM/cases/sense_amp/materials/testbench.spice CHANGED
@@ -1,5 +1,8 @@
1
  * sense_amp nominal characterization
2
- .include /workspace/support/models.spice
 
 
 
3
  .include dut.spice
4
  .temp 27
5
  Vdd vdd 0 1
 
1
  * sense_amp nominal characterization
2
+ .include /workspace/support/tran_models/models_nom/NMOS_VTG.inc
3
+ .include /workspace/support/tran_models/models_nom/PMOS_VTG.inc
4
+ .include /workspace/support/tran_models/models_nom/NMOS_VTL.inc
5
+ .include /workspace/support/tran_models/models_nom/PMOS_VTL.inc
6
  .include dut.spice
7
  .temp 27
8
  Vdd vdd 0 1
tasks/freepdk45/OpenRAM/cases/sense_amp/problem.md CHANGED
@@ -22,17 +22,17 @@ The deck precisely defines stimuli and observation times, testing only through e
22
 
23
  ## Physical Requirements
24
 
25
- Submit a nonempty GDSII no larger than 10 MiB. Enable every check in the supplied KLayout DRC deck, including grid and antenna checks, without waivers. Strict LVS checks named ports, models, W/L and physical well/contact connectivity, with library-specific implicit or global power connections disabled. The upstream deck does not implement its documented spacing rule for wells at different potentials and does not provide complete foundry signoff.
26
 
27
  The hard functional-outline limit is 100 um × 100 um. Its bounding box includes all functional geometry on drawing layers 1/0–29/0: active regions, wells, implants, threshold markers, poly, contacts, ten metal layers and nine via layers. Area is scored in um2. Keep functional geometry on these layers, excluding pin-purpose and annotation geometry. Electrical labels use poly or metal drawing layers (9/0, 11/0, 13/0, …, 29/0); nonelectrical annotation text is not extracted.
28
 
29
- Translation, equivalent hierarchy and internal instance renaming are allowed. LVS permits source/drain exchange and equivalent parallel devices; the candidate must still pass the same RC electrical evaluation. Preserve top-level port identities and explicit body connections.
30
 
31
  ## Electrical Requirements and Scoring
32
 
33
  Artifact, geometry, DRC, LVS and declared functional requirements must pass. Parasitic extraction is also mandatory: it must produce a complete, electrically consistent netlist usable by the required post-layout simulations. A completed candidate rejection scores zero; infrastructure errors do not establish candidate failure.
34
 
35
- Extract the candidate GDS only after file, DRC, LVS and geometry checks pass. Simulate its Magic RC netlist directly, with independent source simulation supplying the scoring baseline. Independent LVS first checks VTG/VTL device types, then uses the matching extraction configuration. Extraction includes poly/metal sheet resistance, contacts/vias, geometry-dependent coupling and ground capacitance, and device junction areas/perimeters. Wells use lumped connectivity; BSIM4 describes device and junction behavior. Interconnect RC uses estimated coefficients and native capacitance placement from the fixed community FreePDK45 Magic technology. The adapter binds VTG/VTL models, preserves annotation layers and corrects dimension-unit conversion. This is a predictive approximation without field-solver signoff accuracy.
36
 
37
  Physical checks and the declared functional bounds must pass. Quality scoring imposes no fixed degradation allowance. Each `source_*` job and its corresponding candidate extracted circuit use exactly the same testbench, model resources, parameters, loads and measurement windows. Independent source observations define the 100-point electrical baseline without depending on the submitted GDS; reports retain every paired result.
38
 
@@ -69,6 +69,8 @@ Only falling decision delay contributes to timing quality. Both decision polarit
69
 
70
  ## Tools and Submission
71
 
 
 
72
  Soft solve budget: **3 hours**.
73
 
74
  Read `/protocol/task.json` for input/output paths, constraints and the `resources` object; `/protocol/harness.json` describes the active check and submission interface.
 
22
 
23
  ## Physical Requirements
24
 
25
+ Submit a nonempty GDSII no larger than 10 MiB. Enable every check in the supplied KLayout DRC deck, including grid and antenna checks, without waivers. Native upstream LVS checks the circuit and its declared MOS geometry using the upstream well/supply and symmetric-pin conventions. The upstream deck does not implement its documented spacing rule for wells at different potentials and does not provide complete foundry signoff.
26
 
27
  The hard functional-outline limit is 100 um × 100 um. Its bounding box includes all functional geometry on drawing layers 1/0–29/0: active regions, wells, implants, threshold markers, poly, contacts, ten metal layers and nine via layers. Area is scored in um2. Keep functional geometry on these layers, excluding pin-purpose and annotation geometry. Electrical labels use poly or metal drawing layers (9/0, 11/0, 13/0, …, 29/0); nonelectrical annotation text is not extracted.
28
 
29
+ Translation, equivalent hierarchy and internal instance renaming are allowed. LVS permits source/drain exchange and equivalent parallel devices; the candidate must still pass the same RC electrical evaluation. Preserve the published interface and circuit body nets; native LVS retains upstream global/implicit well and supply conventions.
30
 
31
  ## Electrical Requirements and Scoring
32
 
33
  Artifact, geometry, DRC, LVS and declared functional requirements must pass. Parasitic extraction is also mandatory: it must produce a complete, electrically consistent netlist usable by the required post-layout simulations. A completed candidate rejection scores zero; infrastructure errors do not establish candidate failure.
34
 
35
+ Extract the candidate GDS only after file, DRC, LVS and geometry checks pass. Simulate its Magic RC netlist directly, with independent source simulation supplying the scoring baseline. Independent LVS first checks VTG/VTL device types, then uses the matching extraction configuration. Extraction includes poly/metal sheet resistance, contacts/vias, geometry-dependent coupling and ground capacitance, and device junction areas/perimeters. Wells use lumped connectivity; BSIM4 describes device and junction behavior. Interconnect RC uses estimated coefficients and native capacitance placement from the fixed community FreePDK45 Magic technology. The adapter binds VTG/VTL models, ignores the declared nonelectrical marker layers and corrects dimension-unit conversion. This is a predictive approximation without field-solver signoff accuracy.
36
 
37
  Physical checks and the declared functional bounds must pass. Quality scoring imposes no fixed degradation allowance. Each `source_*` job and its corresponding candidate extracted circuit use exactly the same testbench, model resources, parameters, loads and measurement windows. Independent source observations define the 100-point electrical baseline without depending on the submitted GDS; reports retain every paired result.
38
 
 
69
 
70
  ## Tools and Submission
71
 
72
+ For Magic RC import, this task explicitly ignores GDS layers 6/0, 7/0, 8/0, 230/0 and 239/0 through native `cifinput` rules. Independent KLayout DRC/LVS still checks the original submitted layout.
73
+
74
  Soft solve budget: **3 hours**.
75
 
76
  Read `/protocol/task.json` for input/output paths, constraints and the `resources` object; `/protocol/harness.json` describes the active check and submission interface.
tasks/freepdk45/OpenRAM/cases/write_driver/case.toml CHANGED
@@ -15,7 +15,7 @@ environment = "freepdk45-nominal-predictive-rc"
15
  [task.inputs.description]
16
  path = "problem.md"
17
  format = "text"
18
- sha256 = "3eaf8a5e2d6897c3a791cde6c5f7ce1702ec4a2aa372da0fa0b34117995d9bcf"
19
 
20
  [task.inputs.netlist]
21
  path = "materials/circuit.spice"
@@ -26,7 +26,12 @@ sha256 = "40cf5d0d27b138b06a7b6b0bbdffefbf6a0569fae6092f1fd6d64c5501a952b4"
26
  [task.inputs.performance]
27
  path = "materials/testbench.spice"
28
  format = "spice"
29
- sha256 = "588e1607eace9ca43fc016350cd2bff550eb90c6aae16a338f47275ba8b2fe4f"
 
 
 
 
 
30
 
31
  [task.constraints]
32
  quality = [
@@ -253,6 +258,7 @@ stage = "simulate"
253
  operation = "circuit.simulate"
254
 
255
  [task.evaluation.jobs.inputs]
 
256
  deck = "input:performance"
257
  dut = "job:parasitics:netlist"
258
 
@@ -432,15 +438,16 @@ data_delay = 0.7
432
  supply = 0.1
433
 
434
  [task.evaluation.pre_layout]
435
- source_report_sha256 = "1c1c0efa051f6fe904269e5969a27eaf6224b66d0296b114ac96319c759f5aee"
436
 
437
  [task.evaluation.pre_layout.backends]
438
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"dfbdf2f93297bbe7d8b576fb988504bd0ecf85b93ef47c314a0f2c9c8830c3e7\", \"compatibility\": null, \"cpu_budget\": 8, \"execution_sha256\": \"495aa9623759f70228a236eb4825c2ae443ef6a741816d8cfc17d1830841dcef\", \"image_id\": \"sha256:060fee64f9f6e71a647e5e958b788d723c9d51d2928ff93e6a295db1959bc37f\", \"limits\": {\"cpus\": 8, \"memory_mb\": 4096, \"pids\": 256}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"660672961e1ce0632bb9e18bc6dfb1fbd751a36d1fc496f1491763859d76c624\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 120.0, \"tool_version\": \"******\\n** ngspice-45 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2025, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Thu Sep 17 13:42:47 UTC 2026\\n******\"}"
439
 
440
  [task.evaluation.pre_layout.jobs.source_nominal]
441
  operation = "circuit.simulate"
442
 
443
  [task.evaluation.pre_layout.jobs.source_nominal.inputs]
 
444
  deck = "input:performance"
445
  dut = "input:netlist"
446
 
@@ -451,24 +458,25 @@ waveform = "ngspice-raw"
451
  waveform = "waveform.raw"
452
 
453
  [task.evaluation.pre_layout.jobs.source_nominal.parameters.measurements]
454
- bl_high = "V"
455
  bl_low = "V"
456
  br_high = "V"
 
457
  br_low = "V"
 
 
 
458
  data_delay_bl = "s"
459
  data_delay_br = "s"
460
  data_delay_fall_bl = "s"
461
  data_delay_fall_br = "s"
462
- supply = "W"
463
- z_bl = "V"
464
- z_br = "V"
465
 
466
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
467
- deck = "588e1607eace9ca43fc016350cd2bff550eb90c6aae16a338f47275ba8b2fe4f"
 
468
  dut = "40cf5d0d27b138b06a7b6b0bbdffefbf6a0569fae6092f1fd6d64c5501a952b4"
469
 
470
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.bl_high]
471
- value = 0.9860666
472
  unit = "V"
473
 
474
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.bl_low]
@@ -476,44 +484,41 @@ value = 0.0150365
476
  unit = "V"
477
 
478
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.br_high]
479
- value = 0.9886259
480
  unit = "V"
481
 
482
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.br_low]
483
- value = 0.02670905
484
  unit = "V"
485
 
486
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.data_delay_bl]
487
- value = 5.409058e-11
488
  unit = "s"
489
 
490
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.data_delay_br]
491
- value = 6.295051e-11
492
  unit = "s"
493
 
494
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.data_delay_fall_bl]
495
- value = 6.78363e-11
496
  unit = "s"
497
 
498
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.data_delay_fall_br]
499
- value = 4.749879e-11
500
  unit = "s"
501
 
502
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.supply]
503
- value = 2.174283e-05
504
  unit = "W"
505
 
506
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.z_bl]
507
- value = 0.5015592
508
  unit = "V"
509
 
510
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.z_br]
511
- value = 0.502349
512
  unit = "V"
513
 
514
- [task.evaluation.pre_layout.jobs.source_nominal.output_sha256]
515
- waveform = "319ae9bc6fda9bb4d5e68f3d3f1435e9288ed2a7ff7dec670e469cf3cd08c480"
516
-
517
  [toolchain.backends.artifact]
518
  type = "klayout-docker"
519
 
@@ -523,30 +528,10 @@ check = "artifact"
523
  timeout_seconds = 120
524
 
525
  [toolchain.backends.drc]
526
- type = "klayout-docker"
527
-
528
- [toolchain.backends.drc.settings]
529
- image = "iclayout-eda-open:local"
530
- check = "drc"
531
- timeout_seconds = 120
532
- support = "build/support/freepdk45-klayout"
533
- profile = "drc.json"
534
-
535
- [toolchain.backends.drc.support_profiles]
536
- support = "klayout"
537
 
538
  [toolchain.backends.lvs]
539
- type = "klayout-docker"
540
-
541
- [toolchain.backends.lvs.settings]
542
- image = "iclayout-eda-open:local"
543
- check = "lvs"
544
- timeout_seconds = 120
545
- support = "build/support/freepdk45-klayout"
546
- profile = "strict-lvs.json"
547
-
548
- [toolchain.backends.lvs.support_profiles]
549
- support = "klayout"
550
 
551
  [toolchain.backends.geometry]
552
  type = "klayout-geometry-docker"
@@ -559,8 +544,30 @@ timeout_seconds = 60
559
  type = "magic-rc-docker"
560
 
561
  [toolchain.backends.rc.settings]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
562
  image = "iclayout-eda-open:local"
563
- support = "build/support/freepdk45-magic-vtg"
564
  technology = "freepdk45.tech"
565
  tech_name = "freepdk45"
566
  style = "spice3(sim)"
@@ -625,7 +632,7 @@ max_parallel_jobs = 8
625
  threads = 1
626
  cpu_budget = 8
627
  image = "iclayout-eda-open:local"
628
- support = "build/support/freepdk45-models"
629
  timeout_seconds = 120
630
 
631
  [toolchain.backends.ngspice.support_profiles]
 
15
  [task.inputs.description]
16
  path = "problem.md"
17
  format = "text"
18
+ sha256 = "ab0fb48829e03e4044282974fcb1f013815288095f19e61a2f7ae8ed794ecafb"
19
 
20
  [task.inputs.netlist]
21
  path = "materials/circuit.spice"
 
26
  [task.inputs.performance]
27
  path = "materials/testbench.spice"
28
  format = "spice"
29
+ sha256 = "19a9877fbcf0ba3dd24ac064665d1f0badc540fea356e02e9f7ec9a0a3ad74a7"
30
+
31
+ [task.inputs.ngspice_startup]
32
+ path = "materials/ngspice.spiceinit"
33
+ format = "text"
34
+ sha256 = "2ef8c1ce0b4d65b62053c99e75b2bad1d1158582c6ca6cfc19b1e255c84ecfbc"
35
 
36
  [task.constraints]
37
  quality = [
 
258
  operation = "circuit.simulate"
259
 
260
  [task.evaluation.jobs.inputs]
261
+ startup = "input:ngspice_startup"
262
  deck = "input:performance"
263
  dut = "job:parasitics:netlist"
264
 
 
438
  supply = 0.1
439
 
440
  [task.evaluation.pre_layout]
441
+ source_report_sha256 = "ee7456186ea8414e431cc12afb1c29503316c8e161645a19c80a566866d8735d"
442
 
443
  [task.evaluation.pre_layout.backends]
444
+ "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"b31d9cd1eefc0739b5ca5d9de5b495674b1f0581e8bc61db6a8b372897a0ec20\", \"compatibility\": null, \"cpu_budget\": 8, \"executable_workspace\": false, \"execution_sha256\": \"7f6228054295b3b6f8c13b457ac41ed7e6fb868cff93c76b928402aab17ed48e\", \"image_id\": \"sha256:a280e1c61fcf6e950f3585fedd83fabcfaa4e295a5c8f58e4543d2e7d5a6c207\", \"limits\": {\"cpus\": null, \"memory_mb\": null, \"pids\": null}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"retry_policy\": {\"backoff_seconds\": 1, \"max_attempts\": 3, \"max_backoff_seconds\": 2}, \"support_sha256\": \"25c7f76fc1800bcafca34c2e69f6f460e276849eb7d43893748b0303283b7f2f\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 120.0, \"tool_version\": \"******\\n** ngspice-47 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2026, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Fri Nov 13 02:32:42 UTC 2026\\n******\"}"
445
 
446
  [task.evaluation.pre_layout.jobs.source_nominal]
447
  operation = "circuit.simulate"
448
 
449
  [task.evaluation.pre_layout.jobs.source_nominal.inputs]
450
+ startup = "input:ngspice_startup"
451
  deck = "input:performance"
452
  dut = "input:netlist"
453
 
 
458
  waveform = "waveform.raw"
459
 
460
  [task.evaluation.pre_layout.jobs.source_nominal.parameters.measurements]
 
461
  bl_low = "V"
462
  br_high = "V"
463
+ bl_high = "V"
464
  br_low = "V"
465
+ z_bl = "V"
466
+ z_br = "V"
467
+ supply = "W"
468
  data_delay_bl = "s"
469
  data_delay_br = "s"
470
  data_delay_fall_bl = "s"
471
  data_delay_fall_br = "s"
 
 
 
472
 
473
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
474
+ startup = "2ef8c1ce0b4d65b62053c99e75b2bad1d1158582c6ca6cfc19b1e255c84ecfbc"
475
+ deck = "19a9877fbcf0ba3dd24ac064665d1f0badc540fea356e02e9f7ec9a0a3ad74a7"
476
  dut = "40cf5d0d27b138b06a7b6b0bbdffefbf6a0569fae6092f1fd6d64c5501a952b4"
477
 
478
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.bl_high]
479
+ value = 0.986067
480
  unit = "V"
481
 
482
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.bl_low]
 
484
  unit = "V"
485
 
486
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.br_high]
487
+ value = 0.988626
488
  unit = "V"
489
 
490
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.br_low]
491
+ value = 0.0267076
492
  unit = "V"
493
 
494
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.data_delay_bl]
495
+ value = 5.40899e-11
496
  unit = "s"
497
 
498
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.data_delay_br]
499
+ value = 6.29462e-11
500
  unit = "s"
501
 
502
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.data_delay_fall_bl]
503
+ value = 6.78364e-11
504
  unit = "s"
505
 
506
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.data_delay_fall_br]
507
+ value = 4.74972e-11
508
  unit = "s"
509
 
510
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.supply]
511
+ value = 2.17428e-05
512
  unit = "W"
513
 
514
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.z_bl]
515
+ value = 0.501559
516
  unit = "V"
517
 
518
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.z_br]
519
+ value = 0.50235
520
  unit = "V"
521
 
 
 
 
522
  [toolchain.backends.artifact]
523
  type = "klayout-docker"
524
 
 
528
  timeout_seconds = 120
529
 
530
  [toolchain.backends.drc]
531
+ from_pdk = "drc"
 
 
 
 
 
 
 
 
 
 
532
 
533
  [toolchain.backends.lvs]
534
+ from_pdk = "lvs"
 
 
 
 
 
 
 
 
 
 
535
 
536
  [toolchain.backends.geometry]
537
  type = "klayout-geometry-docker"
 
544
  type = "magic-rc-docker"
545
 
546
  [toolchain.backends.rc.settings]
547
+ gds_ignore_layers = [
548
+ [
549
+ 6,
550
+ 0,
551
+ ],
552
+ [
553
+ 7,
554
+ 0,
555
+ ],
556
+ [
557
+ 8,
558
+ 0,
559
+ ],
560
+ [
561
+ 230,
562
+ 0,
563
+ ],
564
+ [
565
+ 239,
566
+ 0,
567
+ ],
568
+ ]
569
  image = "iclayout-eda-open:local"
570
+ support = "magic-vtg"
571
  technology = "freepdk45.tech"
572
  tech_name = "freepdk45"
573
  style = "spice3(sim)"
 
632
  threads = 1
633
  cpu_budget = 8
634
  image = "iclayout-eda-open:local"
635
+ support = "models"
636
  timeout_seconds = 120
637
 
638
  [toolchain.backends.ngspice.support_profiles]
tasks/freepdk45/OpenRAM/cases/write_driver/materials/ngspice.spiceinit ADDED
@@ -0,0 +1 @@
 
 
1
+ set num_threads=1
tasks/freepdk45/OpenRAM/cases/write_driver/materials/testbench.spice CHANGED
@@ -1,5 +1,8 @@
1
  * write_driver nominal characterization
2
- .include /workspace/support/models.spice
 
 
 
3
  .include dut.spice
4
  .temp 27
5
  Vdd vdd 0 1
 
1
  * write_driver nominal characterization
2
+ .include /workspace/support/tran_models/models_nom/NMOS_VTG.inc
3
+ .include /workspace/support/tran_models/models_nom/PMOS_VTG.inc
4
+ .include /workspace/support/tran_models/models_nom/NMOS_VTL.inc
5
+ .include /workspace/support/tran_models/models_nom/PMOS_VTL.inc
6
  .include dut.spice
7
  .temp 27
8
  Vdd vdd 0 1
tasks/freepdk45/OpenRAM/cases/write_driver/problem.md CHANGED
@@ -22,11 +22,11 @@ The deck precisely defines stimuli and observation times, testing only through e
22
 
23
  ## Physical Requirements
24
 
25
- Submit a nonempty GDSII no larger than 10 MiB. Enable every check in the supplied KLayout DRC deck, including grid and antenna checks, without waivers. Strict LVS checks named ports, models, W/L and physical well/contact connectivity, with library-specific implicit or global power connections disabled. The upstream deck does not implement its documented spacing rule for wells at different potentials and does not provide complete foundry signoff.
26
 
27
  The hard functional-outline limit is 100 um × 100 um. Its bounding box includes all functional geometry on drawing layers 1/0–29/0: active regions, wells, implants, threshold markers, poly, contacts, ten metal layers and nine via layers. Area is scored in um2. Keep functional geometry on these layers, excluding pin-purpose and annotation geometry. Electrical labels use poly or metal drawing layers (9/0, 11/0, 13/0, …, 29/0); nonelectrical annotation text is not extracted.
28
 
29
- Translation, equivalent hierarchy and internal instance renaming are allowed. LVS permits source/drain exchange and equivalent parallel devices; the candidate must still pass the same RC electrical evaluation. Preserve top-level port identities and explicit body connections.
30
 
31
  ## Electrical Requirements and Scoring
32
 
@@ -34,7 +34,7 @@ Artifact, geometry, DRC, LVS and declared functional requirements must pass. Par
34
 
35
  For `layout` scoring, cap every positively weighted raw quality at 1 before aggregation; the score ranges from 0 to 100. Reaching every weighted target scores 100, and no minimum score is required for validity.
36
 
37
- Extract the candidate GDS only after file, DRC, LVS and geometry checks pass. Simulate its Magic RC netlist directly, with independent source simulation supplying the scoring baseline. Independent LVS first checks VTG/VTL device types, then uses the matching extraction configuration. Extraction includes poly/metal sheet resistance, contacts/vias, geometry-dependent coupling and ground capacitance, and device junction areas/perimeters. Wells use lumped connectivity; BSIM4 describes device and junction behavior. Interconnect RC uses estimated coefficients and native capacitance placement from the fixed community FreePDK45 Magic technology. The adapter binds VTG/VTL models, preserves annotation layers and corrects dimension-unit conversion. This is a predictive approximation without field-solver signoff accuracy.
38
 
39
  Physical checks and the declared functional bounds must pass. Quality scoring imposes no fixed degradation allowance. Each `source_*` job and its corresponding candidate extracted circuit use exactly the same testbench, model resources, parameters, loads and measurement windows. Independent source observations remain required evidence; the quality targets below set the scoring anchors without depending on the submitted GDS. Reports retain every source/candidate pair.
40
 
@@ -77,6 +77,8 @@ The capability coefficient is **3**, independent of this task's reference-normal
77
 
78
  ## Tools and Submission
79
 
 
 
80
  Soft solve budget: **1 hour**.
81
 
82
  Read `/protocol/task.json` for input/output paths, constraints and the `resources` object; `/protocol/harness.json` describes the active check and submission interface.
 
22
 
23
  ## Physical Requirements
24
 
25
+ Submit a nonempty GDSII no larger than 10 MiB. Enable every check in the supplied KLayout DRC deck, including grid and antenna checks, without waivers. Native upstream LVS checks the circuit and its declared MOS geometry using the upstream well/supply and symmetric-pin conventions. The upstream deck does not implement its documented spacing rule for wells at different potentials and does not provide complete foundry signoff.
26
 
27
  The hard functional-outline limit is 100 um × 100 um. Its bounding box includes all functional geometry on drawing layers 1/0–29/0: active regions, wells, implants, threshold markers, poly, contacts, ten metal layers and nine via layers. Area is scored in um2. Keep functional geometry on these layers, excluding pin-purpose and annotation geometry. Electrical labels use poly or metal drawing layers (9/0, 11/0, 13/0, …, 29/0); nonelectrical annotation text is not extracted.
28
 
29
+ Translation, equivalent hierarchy and internal instance renaming are allowed. LVS permits source/drain exchange and equivalent parallel devices; the candidate must still pass the same RC electrical evaluation. Preserve the published interface and circuit body nets; native LVS retains upstream global/implicit well and supply conventions.
30
 
31
  ## Electrical Requirements and Scoring
32
 
 
34
 
35
  For `layout` scoring, cap every positively weighted raw quality at 1 before aggregation; the score ranges from 0 to 100. Reaching every weighted target scores 100, and no minimum score is required for validity.
36
 
37
+ Extract the candidate GDS only after file, DRC, LVS and geometry checks pass. Simulate its Magic RC netlist directly, with independent source simulation supplying the scoring baseline. Independent LVS first checks VTG/VTL device types, then uses the matching extraction configuration. Extraction includes poly/metal sheet resistance, contacts/vias, geometry-dependent coupling and ground capacitance, and device junction areas/perimeters. Wells use lumped connectivity; BSIM4 describes device and junction behavior. Interconnect RC uses estimated coefficients and native capacitance placement from the fixed community FreePDK45 Magic technology. The adapter binds VTG/VTL models, ignores the declared nonelectrical marker layers and corrects dimension-unit conversion. This is a predictive approximation without field-solver signoff accuracy.
38
 
39
  Physical checks and the declared functional bounds must pass. Quality scoring imposes no fixed degradation allowance. Each `source_*` job and its corresponding candidate extracted circuit use exactly the same testbench, model resources, parameters, loads and measurement windows. Independent source observations remain required evidence; the quality targets below set the scoring anchors without depending on the submitted GDS. Reports retain every source/candidate pair.
40
 
 
77
 
78
  ## Tools and Submission
79
 
80
+ For Magic RC import, this task explicitly ignores GDS layers 6/0, 7/0, 8/0, 230/0 and 239/0 through native `cifinput` rules. Independent KLayout DRC/LVS still checks the original submitted layout.
81
+
82
  Soft solve budget: **1 hour**.
83
 
84
  Read `/protocol/task.json` for input/output paths, constraints and the `resources` object; `/protocol/harness.json` describes the active check and submission interface.
tasks/freepdk45/nangate45-pdk/cases/AOI21_X1/case.toml CHANGED
@@ -14,7 +14,7 @@ environment = "freepdk45-nominal-predictive-rc"
14
  [task.inputs.description]
15
  path = "problem.md"
16
  format = "text"
17
- sha256 = "c606273172f079978e7c3e62ef8feb0c3b67f587cb0545942921fd21987dc4c3"
18
 
19
  [task.inputs.netlist]
20
  path = "materials/circuit.spice"
@@ -25,7 +25,12 @@ sha256 = "07d8b2857f5ecd7bde8d5b3e231b16b6819272db2d19c1ee4882094e04bc909e"
25
  [task.inputs.performance]
26
  path = "materials/testbench.spice"
27
  format = "spice"
28
- sha256 = "f8401ddcc740853f48b867b25e5bbf895409a9d1df90dfd5b013f31d236aa6b8"
 
 
 
 
 
29
 
30
  [task.constraints]
31
  quality = [
@@ -400,6 +405,7 @@ stage = "simulate"
400
  operation = "circuit.simulate"
401
 
402
  [task.evaluation.jobs.inputs]
 
403
  deck = "input:performance"
404
  dut = "job:parasitics:netlist"
405
 
@@ -792,15 +798,16 @@ output_transition = 0.16
792
  supply = 0.16
793
 
794
  [task.evaluation.pre_layout]
795
- source_report_sha256 = "1d0037f3e3d13fc28fdbbbd1fa5c1094ab3fc348a14dc8b7d52e11a195ab6ad5"
796
 
797
  [task.evaluation.pre_layout.backends]
798
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"dfbdf2f93297bbe7d8b576fb988504bd0ecf85b93ef47c314a0f2c9c8830c3e7\", \"compatibility\": null, \"cpu_budget\": 8, \"execution_sha256\": \"495aa9623759f70228a236eb4825c2ae443ef6a741816d8cfc17d1830841dcef\", \"image_id\": \"sha256:060fee64f9f6e71a647e5e958b788d723c9d51d2928ff93e6a295db1959bc37f\", \"limits\": {\"cpus\": 8, \"memory_mb\": 4096, \"pids\": 256}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"660672961e1ce0632bb9e18bc6dfb1fbd751a36d1fc496f1491763859d76c624\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 120.0, \"tool_version\": \"******\\n** ngspice-45 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2025, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Thu Sep 17 13:42:47 UTC 2026\\n******\"}"
799
 
800
  [task.evaluation.pre_layout.jobs.source_nominal]
801
  operation = "circuit.simulate"
802
 
803
  [task.evaluation.pre_layout.jobs.source_nominal.inputs]
 
804
  deck = "input:performance"
805
  dut = "input:netlist"
806
 
@@ -847,39 +854,40 @@ delay_b1_rise_15 = "s"
847
  transition_b1_rise_15 = "s"
848
 
849
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
850
- deck = "f8401ddcc740853f48b867b25e5bbf895409a9d1df90dfd5b013f31d236aa6b8"
 
851
  dut = "07d8b2857f5ecd7bde8d5b3e231b16b6819272db2d19c1ee4882094e04bc909e"
852
 
853
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_fall_4]
854
- value = 1.163873e-11
855
  unit = "s"
856
 
857
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_fall_9]
858
- value = 1.228236e-11
859
  unit = "s"
860
 
861
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_rise_13]
862
- value = 1.992426e-11
863
  unit = "s"
864
 
865
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_rise_8]
866
- value = 1.523821e-11
867
  unit = "s"
868
 
869
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_b1_fall_2]
870
- value = 1.536536e-11
871
  unit = "s"
872
 
873
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_b1_rise_15]
874
- value = 1.536857e-11
875
  unit = "s"
876
 
877
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_b2_fall_14]
878
- value = 1.620396e-11
879
  unit = "s"
880
 
881
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_b2_rise_3]
882
- value = 1.698568e-11
883
  unit = "s"
884
 
885
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_0]
@@ -887,19 +895,19 @@ value = 0.999952
887
  unit = "V"
888
 
889
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_1]
890
- value = 0.9998967
891
  unit = "V"
892
 
893
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_10]
894
- value = 0.0003069374
895
  unit = "V"
896
 
897
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_11]
898
- value = 1.216504e-06
899
  unit = "V"
900
 
901
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_12]
902
- value = 7.794863e-05
903
  unit = "V"
904
 
905
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_13]
@@ -907,51 +915,51 @@ value = 0.99935
907
  unit = "V"
908
 
909
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_14]
910
- value = 0.0001950317
911
  unit = "V"
912
 
913
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_15]
914
- value = 0.9998362
915
  unit = "V"
916
 
917
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_16]
918
- value = 0.9997699
919
  unit = "V"
920
 
921
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_2]
922
- value = 0.0001918556
923
  unit = "V"
924
 
925
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_3]
926
- value = 0.9994024
927
  unit = "V"
928
 
929
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_4]
930
- value = 0.0004865273
931
  unit = "V"
932
 
933
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_5]
934
- value = 1.239731e-06
935
  unit = "V"
936
 
937
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_6]
938
- value = 8.142936e-05
939
  unit = "V"
940
 
941
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_7]
942
- value = -3.673975e-05
943
  unit = "V"
944
 
945
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_8]
946
- value = 0.9998379
947
  unit = "V"
948
 
949
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_9]
950
- value = 0.0004804343
951
  unit = "V"
952
 
953
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.supply]
954
- value = 4.305193e-06
955
  unit = "W"
956
 
957
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_fall_4]
@@ -959,36 +967,33 @@ value = 1.3624e-11
959
  unit = "s"
960
 
961
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_fall_9]
962
- value = 1.274633e-11
963
  unit = "s"
964
 
965
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_rise_13]
966
- value = 2.079778e-11
967
  unit = "s"
968
 
969
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_rise_8]
970
- value = 1.548592e-11
971
  unit = "s"
972
 
973
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_b1_fall_2]
974
- value = 1.762384e-11
975
  unit = "s"
976
 
977
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_b1_rise_15]
978
- value = 1.878498e-11
979
  unit = "s"
980
 
981
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_b2_fall_14]
982
- value = 1.762316e-11
983
  unit = "s"
984
 
985
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_b2_rise_3]
986
- value = 2.078537e-11
987
  unit = "s"
988
 
989
- [task.evaluation.pre_layout.jobs.source_nominal.output_sha256]
990
- waveform = "bc184c2e8c11de11a5601e573be5de0b40ec5389537c591e967315b1f0855682"
991
-
992
  [toolchain.backends.artifact]
993
  type = "klayout-docker"
994
 
@@ -998,30 +1003,10 @@ check = "artifact"
998
  timeout_seconds = 120
999
 
1000
  [toolchain.backends.drc]
1001
- type = "klayout-docker"
1002
-
1003
- [toolchain.backends.drc.settings]
1004
- image = "iclayout-eda-open:local"
1005
- check = "drc"
1006
- timeout_seconds = 120
1007
- support = "build/support/freepdk45-klayout"
1008
- profile = "drc.json"
1009
-
1010
- [toolchain.backends.drc.support_profiles]
1011
- support = "klayout"
1012
 
1013
  [toolchain.backends.lvs]
1014
- type = "klayout-docker"
1015
-
1016
- [toolchain.backends.lvs.settings]
1017
- image = "iclayout-eda-open:local"
1018
- check = "lvs"
1019
- timeout_seconds = 120
1020
- support = "build/support/freepdk45-klayout"
1021
- profile = "strict-lvs.json"
1022
-
1023
- [toolchain.backends.lvs.support_profiles]
1024
- support = "klayout"
1025
 
1026
  [toolchain.backends.geometry]
1027
  type = "klayout-geometry-docker"
@@ -1034,8 +1019,30 @@ timeout_seconds = 60
1034
  type = "magic-rc-docker"
1035
 
1036
  [toolchain.backends.rc.settings]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1037
  image = "iclayout-eda-open:local"
1038
- support = "build/support/freepdk45-magic-vtl"
1039
  technology = "freepdk45.tech"
1040
  tech_name = "freepdk45"
1041
  style = "spice3(sim)"
@@ -1100,7 +1107,7 @@ max_parallel_jobs = 8
1100
  threads = 1
1101
  cpu_budget = 8
1102
  image = "iclayout-eda-open:local"
1103
- support = "build/support/freepdk45-models"
1104
  timeout_seconds = 120
1105
 
1106
  [toolchain.backends.ngspice.support_profiles]
 
14
  [task.inputs.description]
15
  path = "problem.md"
16
  format = "text"
17
+ sha256 = "017b049102489288961baadf87e94ed9b68317b846e96dd822a4b04100af9098"
18
 
19
  [task.inputs.netlist]
20
  path = "materials/circuit.spice"
 
25
  [task.inputs.performance]
26
  path = "materials/testbench.spice"
27
  format = "spice"
28
+ sha256 = "c2fb1a459803e00bf8a0ac73abbabf13d2766484261bd7a3234ef3b8f03ef1c8"
29
+
30
+ [task.inputs.ngspice_startup]
31
+ path = "materials/ngspice.spiceinit"
32
+ format = "text"
33
+ sha256 = "2ef8c1ce0b4d65b62053c99e75b2bad1d1158582c6ca6cfc19b1e255c84ecfbc"
34
 
35
  [task.constraints]
36
  quality = [
 
405
  operation = "circuit.simulate"
406
 
407
  [task.evaluation.jobs.inputs]
408
+ startup = "input:ngspice_startup"
409
  deck = "input:performance"
410
  dut = "job:parasitics:netlist"
411
 
 
798
  supply = 0.16
799
 
800
  [task.evaluation.pre_layout]
801
+ source_report_sha256 = "d3792092b2e9a5cc02a179d1eba8fdde3b56fa1fc644f51ee135c73fd91e486d"
802
 
803
  [task.evaluation.pre_layout.backends]
804
+ "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"b31d9cd1eefc0739b5ca5d9de5b495674b1f0581e8bc61db6a8b372897a0ec20\", \"compatibility\": null, \"cpu_budget\": 8, \"executable_workspace\": false, \"execution_sha256\": \"7f6228054295b3b6f8c13b457ac41ed7e6fb868cff93c76b928402aab17ed48e\", \"image_id\": \"sha256:a280e1c61fcf6e950f3585fedd83fabcfaa4e295a5c8f58e4543d2e7d5a6c207\", \"limits\": {\"cpus\": null, \"memory_mb\": null, \"pids\": null}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"retry_policy\": {\"backoff_seconds\": 1, \"max_attempts\": 3, \"max_backoff_seconds\": 2}, \"support_sha256\": \"25c7f76fc1800bcafca34c2e69f6f460e276849eb7d43893748b0303283b7f2f\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 120.0, \"tool_version\": \"******\\n** ngspice-47 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2026, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Fri Nov 13 02:32:42 UTC 2026\\n******\"}"
805
 
806
  [task.evaluation.pre_layout.jobs.source_nominal]
807
  operation = "circuit.simulate"
808
 
809
  [task.evaluation.pre_layout.jobs.source_nominal.inputs]
810
+ startup = "input:ngspice_startup"
811
  deck = "input:performance"
812
  dut = "input:netlist"
813
 
 
854
  transition_b1_rise_15 = "s"
855
 
856
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
857
+ startup = "2ef8c1ce0b4d65b62053c99e75b2bad1d1158582c6ca6cfc19b1e255c84ecfbc"
858
+ deck = "c2fb1a459803e00bf8a0ac73abbabf13d2766484261bd7a3234ef3b8f03ef1c8"
859
  dut = "07d8b2857f5ecd7bde8d5b3e231b16b6819272db2d19c1ee4882094e04bc909e"
860
 
861
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_fall_4]
862
+ value = 1.16387e-11
863
  unit = "s"
864
 
865
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_fall_9]
866
+ value = 1.22823e-11
867
  unit = "s"
868
 
869
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_rise_13]
870
+ value = 1.9924e-11
871
  unit = "s"
872
 
873
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_rise_8]
874
+ value = 1.52381e-11
875
  unit = "s"
876
 
877
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_b1_fall_2]
878
+ value = 1.53653e-11
879
  unit = "s"
880
 
881
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_b1_rise_15]
882
+ value = 1.53685e-11
883
  unit = "s"
884
 
885
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_b2_fall_14]
886
+ value = 1.62039e-11
887
  unit = "s"
888
 
889
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_b2_rise_3]
890
+ value = 1.69857e-11
891
  unit = "s"
892
 
893
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_0]
 
895
  unit = "V"
896
 
897
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_1]
898
+ value = 0.999897
899
  unit = "V"
900
 
901
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_10]
902
+ value = 0.000306938
903
  unit = "V"
904
 
905
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_11]
906
+ value = 1.2165e-06
907
  unit = "V"
908
 
909
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_12]
910
+ value = 7.7949e-05
911
  unit = "V"
912
 
913
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_13]
 
915
  unit = "V"
916
 
917
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_14]
918
+ value = 0.000195031
919
  unit = "V"
920
 
921
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_15]
922
+ value = 0.999836
923
  unit = "V"
924
 
925
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_16]
926
+ value = 0.99977
927
  unit = "V"
928
 
929
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_2]
930
+ value = 0.000191856
931
  unit = "V"
932
 
933
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_3]
934
+ value = 0.999402
935
  unit = "V"
936
 
937
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_4]
938
+ value = 0.000486527
939
  unit = "V"
940
 
941
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_5]
942
+ value = 1.23973e-06
943
  unit = "V"
944
 
945
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_6]
946
+ value = 8.14298e-05
947
  unit = "V"
948
 
949
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_7]
950
+ value = -3.67426e-05
951
  unit = "V"
952
 
953
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_8]
954
+ value = 0.999838
955
  unit = "V"
956
 
957
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_9]
958
+ value = 0.000480434
959
  unit = "V"
960
 
961
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.supply]
962
+ value = 4.30519e-06
963
  unit = "W"
964
 
965
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_fall_4]
 
967
  unit = "s"
968
 
969
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_fall_9]
970
+ value = 1.27463e-11
971
  unit = "s"
972
 
973
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_rise_13]
974
+ value = 2.07978e-11
975
  unit = "s"
976
 
977
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_rise_8]
978
+ value = 1.54859e-11
979
  unit = "s"
980
 
981
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_b1_fall_2]
982
+ value = 1.76238e-11
983
  unit = "s"
984
 
985
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_b1_rise_15]
986
+ value = 1.8785e-11
987
  unit = "s"
988
 
989
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_b2_fall_14]
990
+ value = 1.76232e-11
991
  unit = "s"
992
 
993
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_b2_rise_3]
994
+ value = 2.07854e-11
995
  unit = "s"
996
 
 
 
 
997
  [toolchain.backends.artifact]
998
  type = "klayout-docker"
999
 
 
1003
  timeout_seconds = 120
1004
 
1005
  [toolchain.backends.drc]
1006
+ from_pdk = "drc"
 
 
 
 
 
 
 
 
 
 
1007
 
1008
  [toolchain.backends.lvs]
1009
+ from_pdk = "lvs-standard-cell"
 
 
 
 
 
 
 
 
 
 
1010
 
1011
  [toolchain.backends.geometry]
1012
  type = "klayout-geometry-docker"
 
1019
  type = "magic-rc-docker"
1020
 
1021
  [toolchain.backends.rc.settings]
1022
+ gds_ignore_layers = [
1023
+ [
1024
+ 6,
1025
+ 0,
1026
+ ],
1027
+ [
1028
+ 7,
1029
+ 0,
1030
+ ],
1031
+ [
1032
+ 8,
1033
+ 0,
1034
+ ],
1035
+ [
1036
+ 230,
1037
+ 0,
1038
+ ],
1039
+ [
1040
+ 239,
1041
+ 0,
1042
+ ],
1043
+ ]
1044
  image = "iclayout-eda-open:local"
1045
+ support = "magic-vtl"
1046
  technology = "freepdk45.tech"
1047
  tech_name = "freepdk45"
1048
  style = "spice3(sim)"
 
1107
  threads = 1
1108
  cpu_budget = 8
1109
  image = "iclayout-eda-open:local"
1110
+ support = "models"
1111
  timeout_seconds = 120
1112
 
1113
  [toolchain.backends.ngspice.support_profiles]
tasks/freepdk45/nangate45-pdk/cases/AOI21_X1/materials/ngspice.spiceinit ADDED
@@ -0,0 +1 @@
 
 
1
+ set num_threads=1
tasks/freepdk45/nangate45-pdk/cases/AOI21_X1/materials/testbench.spice CHANGED
@@ -1,5 +1,8 @@
1
  * AOI21_X1: exhaustive Gray sequence and reversed sequence
2
- .include /workspace/support/models.spice
 
 
 
3
  .include dut.spice
4
  .temp 27
5
  Vdd vdd 0 1
 
1
  * AOI21_X1: exhaustive Gray sequence and reversed sequence
2
+ .include /workspace/support/tran_models/models_nom/NMOS_VTG.inc
3
+ .include /workspace/support/tran_models/models_nom/PMOS_VTG.inc
4
+ .include /workspace/support/tran_models/models_nom/NMOS_VTL.inc
5
+ .include /workspace/support/tran_models/models_nom/PMOS_VTL.inc
6
  .include dut.spice
7
  .temp 27
8
  Vdd vdd 0 1
tasks/freepdk45/nangate45-pdk/cases/AOI21_X1/problem.md CHANGED
@@ -22,11 +22,11 @@ The deck precisely defines stimuli and observation times, testing only through e
22
 
23
  ## Physical Requirements
24
 
25
- Submit a nonempty GDSII no larger than 10 MiB. Enable every check in the supplied KLayout DRC deck, including grid and antenna checks, without waivers. Strict LVS checks named ports, models, W/L and physical well/contact connectivity, with library-specific implicit or global power connections disabled. The upstream deck does not implement its documented spacing rule for wells at different potentials and does not provide complete foundry signoff.
26
 
27
  The hard functional-outline limit is 100 um × 100 um. Its bounding box includes all functional geometry on drawing layers 1/0–29/0: active regions, wells, implants, threshold markers, poly, contacts, ten metal layers and nine via layers. Area is scored in um2. Keep functional geometry on these layers, excluding pin-purpose and annotation geometry. Electrical labels use poly or metal drawing layers (9/0, 11/0, 13/0, …, 29/0); nonelectrical annotation text is not extracted.
28
 
29
- Translation, equivalent hierarchy and internal instance renaming are allowed. LVS permits source/drain exchange and equivalent parallel devices; the candidate must still pass the same RC electrical evaluation. Preserve top-level port identities and explicit body connections.
30
 
31
  The standard-cell functional frame has fixed height 1.63 um and width on a 0.01 um grid. Coordinates below are relative to its lower-left corner; global translation is allowed. Supply rails are continuous on metal1 and bound to their corresponding named supplies by LVS.
32
 
@@ -37,7 +37,7 @@ The standard-cell functional frame has fixed height 1.63 um and width on a 0.01
37
 
38
  Artifact, geometry, DRC, LVS and declared functional requirements must pass. Parasitic extraction is also mandatory: it must produce a complete, electrically consistent netlist usable by the required post-layout simulations. A completed candidate rejection scores zero; infrastructure errors do not establish candidate failure.
39
 
40
- Extract the candidate GDS only after file, DRC, LVS and geometry checks pass. Simulate its Magic RC netlist directly, with independent source simulation supplying the scoring baseline. Independent LVS first checks VTG/VTL device types, then uses the matching extraction configuration. Extraction includes poly/metal sheet resistance, contacts/vias, geometry-dependent coupling and ground capacitance, and device junction areas/perimeters. Wells use lumped connectivity; BSIM4 describes device and junction behavior. Interconnect RC uses estimated coefficients and native capacitance placement from the fixed community FreePDK45 Magic technology. The adapter binds VTG/VTL models, preserves annotation layers and corrects dimension-unit conversion. This is a predictive approximation without field-solver signoff accuracy.
41
 
42
  Physical checks and the declared functional bounds must pass. Quality scoring imposes no fixed degradation allowance. Each `source_*` job and its corresponding candidate extracted circuit use exactly the same testbench, model resources, parameters, loads and measurement windows. Independent source observations define the 100-point electrical baseline without depending on the submitted GDS; reports retain every paired result.
43
 
@@ -97,6 +97,8 @@ Standard-cell logic: propagation delay 48%, output transition 16%, supply power
97
 
98
  ## Tools and Submission
99
 
 
 
100
  Soft solve budget: **3 hours**.
101
 
102
  Read `/protocol/task.json` for input/output paths, constraints and the `resources` object; `/protocol/harness.json` describes the active check and submission interface.
 
22
 
23
  ## Physical Requirements
24
 
25
+ Submit a nonempty GDSII no larger than 10 MiB. Enable every check in the supplied KLayout DRC deck, including grid and antenna checks, without waivers. Native upstream LVS checks the circuit and its declared MOS geometry using the upstream well/supply and symmetric-pin conventions. The upstream deck does not implement its documented spacing rule for wells at different potentials and does not provide complete foundry signoff.
26
 
27
  The hard functional-outline limit is 100 um × 100 um. Its bounding box includes all functional geometry on drawing layers 1/0–29/0: active regions, wells, implants, threshold markers, poly, contacts, ten metal layers and nine via layers. Area is scored in um2. Keep functional geometry on these layers, excluding pin-purpose and annotation geometry. Electrical labels use poly or metal drawing layers (9/0, 11/0, 13/0, …, 29/0); nonelectrical annotation text is not extracted.
28
 
29
+ Translation, equivalent hierarchy and internal instance renaming are allowed. LVS permits source/drain exchange and equivalent parallel devices; the candidate must still pass the same RC electrical evaluation. Preserve the published interface and circuit body nets; native LVS retains upstream global/implicit well and supply conventions.
30
 
31
  The standard-cell functional frame has fixed height 1.63 um and width on a 0.01 um grid. Coordinates below are relative to its lower-left corner; global translation is allowed. Supply rails are continuous on metal1 and bound to their corresponding named supplies by LVS.
32
 
 
37
 
38
  Artifact, geometry, DRC, LVS and declared functional requirements must pass. Parasitic extraction is also mandatory: it must produce a complete, electrically consistent netlist usable by the required post-layout simulations. A completed candidate rejection scores zero; infrastructure errors do not establish candidate failure.
39
 
40
+ Extract the candidate GDS only after file, DRC, LVS and geometry checks pass. Simulate its Magic RC netlist directly, with independent source simulation supplying the scoring baseline. Independent LVS first checks VTG/VTL device types, then uses the matching extraction configuration. Extraction includes poly/metal sheet resistance, contacts/vias, geometry-dependent coupling and ground capacitance, and device junction areas/perimeters. Wells use lumped connectivity; BSIM4 describes device and junction behavior. Interconnect RC uses estimated coefficients and native capacitance placement from the fixed community FreePDK45 Magic technology. The adapter binds VTG/VTL models, ignores the declared nonelectrical marker layers and corrects dimension-unit conversion. This is a predictive approximation without field-solver signoff accuracy.
41
 
42
  Physical checks and the declared functional bounds must pass. Quality scoring imposes no fixed degradation allowance. Each `source_*` job and its corresponding candidate extracted circuit use exactly the same testbench, model resources, parameters, loads and measurement windows. Independent source observations define the 100-point electrical baseline without depending on the submitted GDS; reports retain every paired result.
43
 
 
97
 
98
  ## Tools and Submission
99
 
100
+ For Magic RC import, this task explicitly ignores GDS layers 6/0, 7/0, 8/0, 230/0 and 239/0 through native `cifinput` rules. Independent KLayout DRC/LVS still checks the original submitted layout.
101
+
102
  Soft solve budget: **3 hours**.
103
 
104
  Read `/protocol/task.json` for input/output paths, constraints and the `resources` object; `/protocol/harness.json` describes the active check and submission interface.
tasks/freepdk45/nangate45-pdk/cases/INV_X1/case.toml CHANGED
@@ -14,7 +14,7 @@ environment = "freepdk45-nominal-predictive-rc"
14
  [task.inputs.description]
15
  path = "problem.md"
16
  format = "text"
17
- sha256 = "34a545fbc36ea9ee7650b5c1c3fb5352d75f4363918fd43bb1e307d0f6f213e1"
18
 
19
  [task.inputs.netlist]
20
  path = "materials/circuit.spice"
@@ -25,7 +25,12 @@ sha256 = "18da14e782ffbc06bb5abf382f3f3b66cb4dfdb0e71d706668c1149819d22ca1"
25
  [task.inputs.performance]
26
  path = "materials/testbench.spice"
27
  format = "spice"
28
- sha256 = "8a811631ae065c2af40eca3a951bf588608a6eeb9576f82bea36ac1c0d1642ce"
 
 
 
 
 
29
 
30
  [task.constraints]
31
  quality = [
@@ -398,6 +403,7 @@ stage = "simulate"
398
  operation = "circuit.simulate"
399
 
400
  [task.evaluation.jobs.inputs]
 
401
  deck = "input:performance"
402
  dut = "job:parasitics:netlist"
403
 
@@ -658,15 +664,16 @@ output_transition = 0.16
658
  supply = 0.16
659
 
660
  [task.evaluation.pre_layout]
661
- source_report_sha256 = "ac37ace1e33bd1d10b55dbb595ecca9c01a57efb6fb476cec46602c8f2995803"
662
 
663
  [task.evaluation.pre_layout.backends]
664
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"dfbdf2f93297bbe7d8b576fb988504bd0ecf85b93ef47c314a0f2c9c8830c3e7\", \"compatibility\": null, \"cpu_budget\": 8, \"execution_sha256\": \"495aa9623759f70228a236eb4825c2ae443ef6a741816d8cfc17d1830841dcef\", \"image_id\": \"sha256:060fee64f9f6e71a647e5e958b788d723c9d51d2928ff93e6a295db1959bc37f\", \"limits\": {\"cpus\": 8, \"memory_mb\": 4096, \"pids\": 256}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"660672961e1ce0632bb9e18bc6dfb1fbd751a36d1fc496f1491763859d76c624\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 120.0, \"tool_version\": \"******\\n** ngspice-45 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2025, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Thu Sep 17 13:42:47 UTC 2026\\n******\"}"
665
 
666
  [task.evaluation.pre_layout.jobs.source_nominal]
667
  operation = "circuit.simulate"
668
 
669
  [task.evaluation.pre_layout.jobs.source_nominal.inputs]
 
670
  deck = "input:performance"
671
  dut = "input:netlist"
672
 
@@ -677,14 +684,6 @@ waveform = "ngspice-raw"
677
  waveform = "waveform.raw"
678
 
679
  [task.evaluation.pre_layout.jobs.source_nominal.parameters.measurements]
680
- delay_a_1 = "s"
681
- delay_a_2 = "s"
682
- delay_a_3 = "s"
683
- delay_a_4 = "s"
684
- delay_a_5 = "s"
685
- delay_a_6 = "s"
686
- delay_a_7 = "s"
687
- delay_a_8 = "s"
688
  state_0 = "V"
689
  state_1 = "V"
690
  state_2 = "V"
@@ -695,126 +694,132 @@ state_6 = "V"
695
  state_7 = "V"
696
  state_8 = "V"
697
  supply = "W"
 
698
  transition_a_1 = "s"
 
699
  transition_a_2 = "s"
 
700
  transition_a_3 = "s"
 
701
  transition_a_4 = "s"
 
702
  transition_a_5 = "s"
 
703
  transition_a_6 = "s"
 
704
  transition_a_7 = "s"
 
705
  transition_a_8 = "s"
706
 
707
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
708
- deck = "8a811631ae065c2af40eca3a951bf588608a6eeb9576f82bea36ac1c0d1642ce"
 
709
  dut = "18da14e782ffbc06bb5abf382f3f3b66cb4dfdb0e71d706668c1149819d22ca1"
710
 
711
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_1]
712
- value = 8.362719e-12
713
  unit = "s"
714
 
715
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_2]
716
- value = 8.561607e-12
717
  unit = "s"
718
 
719
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_3]
720
- value = 8.362719e-12
721
  unit = "s"
722
 
723
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_4]
724
- value = 8.561607e-12
725
  unit = "s"
726
 
727
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_5]
728
- value = 8.362719e-12
729
  unit = "s"
730
 
731
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_6]
732
- value = 8.561607e-12
733
  unit = "s"
734
 
735
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_7]
736
- value = 8.362719e-12
737
  unit = "s"
738
 
739
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_8]
740
- value = 8.561607e-12
741
  unit = "s"
742
 
743
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_0]
744
- value = 0.9999739
745
  unit = "V"
746
 
747
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_1]
748
- value = 3.996216e-05
749
  unit = "V"
750
 
751
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_2]
752
- value = 0.9999739
753
  unit = "V"
754
 
755
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_3]
756
- value = 3.996216e-05
757
  unit = "V"
758
 
759
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_4]
760
- value = 0.9999739
761
  unit = "V"
762
 
763
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_5]
764
- value = 3.996216e-05
765
  unit = "V"
766
 
767
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_6]
768
- value = 0.9999739
769
  unit = "V"
770
 
771
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_7]
772
- value = 3.996216e-05
773
  unit = "V"
774
 
775
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_8]
776
- value = 0.9999739
777
  unit = "V"
778
 
779
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.supply]
780
- value = 5.817719e-06
781
  unit = "W"
782
 
783
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_1]
784
- value = 8.403009e-12
785
  unit = "s"
786
 
787
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_2]
788
- value = 8.791603e-12
789
  unit = "s"
790
 
791
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_3]
792
- value = 8.403009e-12
793
  unit = "s"
794
 
795
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_4]
796
- value = 8.791603e-12
797
  unit = "s"
798
 
799
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_5]
800
- value = 8.403009e-12
801
  unit = "s"
802
 
803
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_6]
804
- value = 8.791603e-12
805
  unit = "s"
806
 
807
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_7]
808
- value = 8.403009e-12
809
  unit = "s"
810
 
811
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_8]
812
- value = 8.791603e-12
813
  unit = "s"
814
 
815
- [task.evaluation.pre_layout.jobs.source_nominal.output_sha256]
816
- waveform = "4bf398b73fddeabbf9b096000dcdb8183496668fb3e637addb04285198c8acb4"
817
-
818
  [toolchain.backends.artifact]
819
  type = "klayout-docker"
820
 
@@ -824,30 +829,10 @@ check = "artifact"
824
  timeout_seconds = 120
825
 
826
  [toolchain.backends.drc]
827
- type = "klayout-docker"
828
-
829
- [toolchain.backends.drc.settings]
830
- image = "iclayout-eda-open:local"
831
- check = "drc"
832
- timeout_seconds = 120
833
- support = "build/support/freepdk45-klayout"
834
- profile = "drc.json"
835
-
836
- [toolchain.backends.drc.support_profiles]
837
- support = "klayout"
838
 
839
  [toolchain.backends.lvs]
840
- type = "klayout-docker"
841
-
842
- [toolchain.backends.lvs.settings]
843
- image = "iclayout-eda-open:local"
844
- check = "lvs"
845
- timeout_seconds = 120
846
- support = "build/support/freepdk45-klayout"
847
- profile = "strict-lvs.json"
848
-
849
- [toolchain.backends.lvs.support_profiles]
850
- support = "klayout"
851
 
852
  [toolchain.backends.geometry]
853
  type = "klayout-geometry-docker"
@@ -860,8 +845,30 @@ timeout_seconds = 60
860
  type = "magic-rc-docker"
861
 
862
  [toolchain.backends.rc.settings]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
863
  image = "iclayout-eda-open:local"
864
- support = "build/support/freepdk45-magic-vtl"
865
  technology = "freepdk45.tech"
866
  tech_name = "freepdk45"
867
  style = "spice3(sim)"
@@ -926,7 +933,7 @@ max_parallel_jobs = 8
926
  threads = 1
927
  cpu_budget = 8
928
  image = "iclayout-eda-open:local"
929
- support = "build/support/freepdk45-models"
930
  timeout_seconds = 120
931
 
932
  [toolchain.backends.ngspice.support_profiles]
 
14
  [task.inputs.description]
15
  path = "problem.md"
16
  format = "text"
17
+ sha256 = "164eb07846c8926629cbdc3326bfe6680a3d7ce2479c5b675b8c804fe2c08097"
18
 
19
  [task.inputs.netlist]
20
  path = "materials/circuit.spice"
 
25
  [task.inputs.performance]
26
  path = "materials/testbench.spice"
27
  format = "spice"
28
+ sha256 = "26aef05423b9db2f142c8ee97d02df7a2c77c6c619cb454cbdf3fe683d256fb0"
29
+
30
+ [task.inputs.ngspice_startup]
31
+ path = "materials/ngspice.spiceinit"
32
+ format = "text"
33
+ sha256 = "2ef8c1ce0b4d65b62053c99e75b2bad1d1158582c6ca6cfc19b1e255c84ecfbc"
34
 
35
  [task.constraints]
36
  quality = [
 
403
  operation = "circuit.simulate"
404
 
405
  [task.evaluation.jobs.inputs]
406
+ startup = "input:ngspice_startup"
407
  deck = "input:performance"
408
  dut = "job:parasitics:netlist"
409
 
 
664
  supply = 0.16
665
 
666
  [task.evaluation.pre_layout]
667
+ source_report_sha256 = "d949488a8c325821abb91123c21136019ec4e8813f09eff1032115d8456141ca"
668
 
669
  [task.evaluation.pre_layout.backends]
670
+ "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"b31d9cd1eefc0739b5ca5d9de5b495674b1f0581e8bc61db6a8b372897a0ec20\", \"compatibility\": null, \"cpu_budget\": 8, \"executable_workspace\": false, \"execution_sha256\": \"7f6228054295b3b6f8c13b457ac41ed7e6fb868cff93c76b928402aab17ed48e\", \"image_id\": \"sha256:a280e1c61fcf6e950f3585fedd83fabcfaa4e295a5c8f58e4543d2e7d5a6c207\", \"limits\": {\"cpus\": null, \"memory_mb\": null, \"pids\": null}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"retry_policy\": {\"backoff_seconds\": 1, \"max_attempts\": 3, \"max_backoff_seconds\": 2}, \"support_sha256\": \"25c7f76fc1800bcafca34c2e69f6f460e276849eb7d43893748b0303283b7f2f\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 120.0, \"tool_version\": \"******\\n** ngspice-47 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2026, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Fri Nov 13 02:32:42 UTC 2026\\n******\"}"
671
 
672
  [task.evaluation.pre_layout.jobs.source_nominal]
673
  operation = "circuit.simulate"
674
 
675
  [task.evaluation.pre_layout.jobs.source_nominal.inputs]
676
+ startup = "input:ngspice_startup"
677
  deck = "input:performance"
678
  dut = "input:netlist"
679
 
 
684
  waveform = "waveform.raw"
685
 
686
  [task.evaluation.pre_layout.jobs.source_nominal.parameters.measurements]
 
 
 
 
 
 
 
 
687
  state_0 = "V"
688
  state_1 = "V"
689
  state_2 = "V"
 
694
  state_7 = "V"
695
  state_8 = "V"
696
  supply = "W"
697
+ delay_a_1 = "s"
698
  transition_a_1 = "s"
699
+ delay_a_2 = "s"
700
  transition_a_2 = "s"
701
+ delay_a_3 = "s"
702
  transition_a_3 = "s"
703
+ delay_a_4 = "s"
704
  transition_a_4 = "s"
705
+ delay_a_5 = "s"
706
  transition_a_5 = "s"
707
+ delay_a_6 = "s"
708
  transition_a_6 = "s"
709
+ delay_a_7 = "s"
710
  transition_a_7 = "s"
711
+ delay_a_8 = "s"
712
  transition_a_8 = "s"
713
 
714
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
715
+ startup = "2ef8c1ce0b4d65b62053c99e75b2bad1d1158582c6ca6cfc19b1e255c84ecfbc"
716
+ deck = "26aef05423b9db2f142c8ee97d02df7a2c77c6c619cb454cbdf3fe683d256fb0"
717
  dut = "18da14e782ffbc06bb5abf382f3f3b66cb4dfdb0e71d706668c1149819d22ca1"
718
 
719
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_1]
720
+ value = 8.36269e-12
721
  unit = "s"
722
 
723
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_2]
724
+ value = 8.56159e-12
725
  unit = "s"
726
 
727
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_3]
728
+ value = 8.36269e-12
729
  unit = "s"
730
 
731
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_4]
732
+ value = 8.56159e-12
733
  unit = "s"
734
 
735
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_5]
736
+ value = 8.36269e-12
737
  unit = "s"
738
 
739
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_6]
740
+ value = 8.56159e-12
741
  unit = "s"
742
 
743
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_7]
744
+ value = 8.36269e-12
745
  unit = "s"
746
 
747
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_8]
748
+ value = 8.56159e-12
749
  unit = "s"
750
 
751
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_0]
752
+ value = 0.999974
753
  unit = "V"
754
 
755
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_1]
756
+ value = 3.99622e-05
757
  unit = "V"
758
 
759
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_2]
760
+ value = 0.999974
761
  unit = "V"
762
 
763
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_3]
764
+ value = 3.99622e-05
765
  unit = "V"
766
 
767
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_4]
768
+ value = 0.999974
769
  unit = "V"
770
 
771
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_5]
772
+ value = 3.99622e-05
773
  unit = "V"
774
 
775
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_6]
776
+ value = 0.999974
777
  unit = "V"
778
 
779
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_7]
780
+ value = 3.99622e-05
781
  unit = "V"
782
 
783
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_8]
784
+ value = 0.999974
785
  unit = "V"
786
 
787
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.supply]
788
+ value = 5.81772e-06
789
  unit = "W"
790
 
791
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_1]
792
+ value = 8.39971e-12
793
  unit = "s"
794
 
795
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_2]
796
+ value = 8.79005e-12
797
  unit = "s"
798
 
799
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_3]
800
+ value = 8.39971e-12
801
  unit = "s"
802
 
803
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_4]
804
+ value = 8.79005e-12
805
  unit = "s"
806
 
807
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_5]
808
+ value = 8.39971e-12
809
  unit = "s"
810
 
811
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_6]
812
+ value = 8.79005e-12
813
  unit = "s"
814
 
815
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_7]
816
+ value = 8.39971e-12
817
  unit = "s"
818
 
819
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_8]
820
+ value = 8.79005e-12
821
  unit = "s"
822
 
 
 
 
823
  [toolchain.backends.artifact]
824
  type = "klayout-docker"
825
 
 
829
  timeout_seconds = 120
830
 
831
  [toolchain.backends.drc]
832
+ from_pdk = "drc"
 
 
 
 
 
 
 
 
 
 
833
 
834
  [toolchain.backends.lvs]
835
+ from_pdk = "lvs-standard-cell"
 
 
 
 
 
 
 
 
 
 
836
 
837
  [toolchain.backends.geometry]
838
  type = "klayout-geometry-docker"
 
845
  type = "magic-rc-docker"
846
 
847
  [toolchain.backends.rc.settings]
848
+ gds_ignore_layers = [
849
+ [
850
+ 6,
851
+ 0,
852
+ ],
853
+ [
854
+ 7,
855
+ 0,
856
+ ],
857
+ [
858
+ 8,
859
+ 0,
860
+ ],
861
+ [
862
+ 230,
863
+ 0,
864
+ ],
865
+ [
866
+ 239,
867
+ 0,
868
+ ],
869
+ ]
870
  image = "iclayout-eda-open:local"
871
+ support = "magic-vtl"
872
  technology = "freepdk45.tech"
873
  tech_name = "freepdk45"
874
  style = "spice3(sim)"
 
933
  threads = 1
934
  cpu_budget = 8
935
  image = "iclayout-eda-open:local"
936
+ support = "models"
937
  timeout_seconds = 120
938
 
939
  [toolchain.backends.ngspice.support_profiles]
tasks/freepdk45/nangate45-pdk/cases/INV_X1/materials/ngspice.spiceinit ADDED
@@ -0,0 +1 @@
 
 
1
+ set num_threads=1
tasks/freepdk45/nangate45-pdk/cases/INV_X1/materials/testbench.spice CHANGED
@@ -1,5 +1,8 @@
1
  * INV_X1: all input states and both transition directions
2
- .include /workspace/support/models.spice
 
 
 
3
  .include dut.spice
4
  .temp 27
5
  Vdd vdd 0 1
 
1
  * INV_X1: all input states and both transition directions
2
+ .include /workspace/support/tran_models/models_nom/NMOS_VTG.inc
3
+ .include /workspace/support/tran_models/models_nom/PMOS_VTG.inc
4
+ .include /workspace/support/tran_models/models_nom/NMOS_VTL.inc
5
+ .include /workspace/support/tran_models/models_nom/PMOS_VTL.inc
6
  .include dut.spice
7
  .temp 27
8
  Vdd vdd 0 1
tasks/freepdk45/nangate45-pdk/cases/INV_X1/problem.md CHANGED
@@ -18,7 +18,7 @@ Nominal FreePDK45 BSIM4, 1.0 V, 27 °C, ZN load 5 fF. Nine 500 ps slots drive A=
18
 
19
  ## Physical Requirements
20
 
21
- Submit nonempty `output/final.gds` with top cell `INV_X1`, at most 10 MiB. Pass FreePDK45 KLayout DRC and strict named-port LVS without waivers, checking body terminals, MOS models and W/L. Research rules do not constitute manufacturing signoff.
22
 
23
  The functional bounding-box width and height on drawing layers 1/0–29/0 must each be at most 100 µm. The standard-cell frame has fixed height 1.63 µm and width on a 0.01 µm grid. Relative to its lower-left corner, continuous metal1 VDD/VSS rails have centers at y=1.515/0.115 µm and connect to the corresponding ports; thickness is at least 0.07 µm, extending from x=0.115 µm to the right boundary minus 0.030 µm. Electrical labels lie on poly or metal drawing layers. Global translation, equivalent hierarchy, internal renaming and source/drain exchange are allowed if all physical and electrical checks pass.
24
 
@@ -55,6 +55,8 @@ Supply quality q_supply = (P_source + 1 pW)/(P_candidate + 1 pW), using the decl
55
 
56
  ## Tools and Submission
57
 
 
 
58
  Soft solve budget: **3 hours**.
59
 
60
  Read `/protocol/task.json` for input/output paths, constraints and the `resources` object; `/protocol/harness.json` describes the active check and submission interface.
 
18
 
19
  ## Physical Requirements
20
 
21
+ Submit nonempty `output/final.gds` with top cell `INV_X1`, at most 10 MiB. Pass FreePDK45 KLayout DRC and native upstream LVS, checking the circuit and its declared MOS geometry under the upstream well/supply and symmetric-pin conventions. Research rules do not constitute manufacturing signoff.
22
 
23
  The functional bounding-box width and height on drawing layers 1/0–29/0 must each be at most 100 µm. The standard-cell frame has fixed height 1.63 µm and width on a 0.01 µm grid. Relative to its lower-left corner, continuous metal1 VDD/VSS rails have centers at y=1.515/0.115 µm and connect to the corresponding ports; thickness is at least 0.07 µm, extending from x=0.115 µm to the right boundary minus 0.030 µm. Electrical labels lie on poly or metal drawing layers. Global translation, equivalent hierarchy, internal renaming and source/drain exchange are allowed if all physical and electrical checks pass.
24
 
 
55
 
56
  ## Tools and Submission
57
 
58
+ For Magic RC import, this task explicitly ignores GDS layers 6/0, 7/0, 8/0, 230/0 and 239/0 through native `cifinput` rules. Independent KLayout DRC/LVS still checks the original submitted layout.
59
+
60
  Soft solve budget: **3 hours**.
61
 
62
  Read `/protocol/task.json` for input/output paths, constraints and the `resources` object; `/protocol/harness.json` describes the active check and submission interface.
tasks/freepdk45/nangate45-pdk/cases/NAND2_X1/case.toml CHANGED
@@ -15,7 +15,7 @@ environment = "freepdk45-nominal-predictive-rc"
15
  [task.inputs.description]
16
  path = "problem.md"
17
  format = "text"
18
- sha256 = "a67a42d1cc7fc65051ceef9d7c1f1755e275b23acca6ec763d114d54247d1836"
19
 
20
  [task.inputs.netlist]
21
  path = "materials/circuit.spice"
@@ -26,7 +26,12 @@ sha256 = "1decfdcffa5a7f962e26c0831e9a219521670f282df72e465fd61ebccdba12b0"
26
  [task.inputs.performance]
27
  path = "materials/testbench.spice"
28
  format = "spice"
29
- sha256 = "389d2d09f05913f740d0b776e0fe2d4382057b2bc8a23564f4150adae920e4c9"
 
 
 
 
 
30
 
31
  [task.constraints]
32
  quality = [
@@ -400,6 +405,7 @@ stage = "simulate"
400
  operation = "circuit.simulate"
401
 
402
  [task.evaluation.jobs.inputs]
 
403
  deck = "input:performance"
404
  dut = "job:parasitics:netlist"
405
 
@@ -639,7 +645,7 @@ rationale = "The declared ordered-event interval or crossing frequency has a non
639
  method = "layout"
640
  area_metric = "functional_area"
641
  area_target = 0.8965
642
- rationale = "The 0.8965 um2 target is an expert engineering estimate for 0.55 um width at the required 1.63 um height, on the 0.01 um width grid. A conventional unfolded two-PMOS row needs about 0.555 um width after contacts and well enclosure. The target therefore anticipates compact folding or rotation with shared diffusion: two 0.315 um fingers can preserve each 0.630 um PMOS width, while the 0.415 um NMOS width plus two 0.055 um well enclosures occupies 0.525 um before local access margin. Contacts, physical body ties, input/output access and both prescribed rails must fit in the full cell frame. This is a demanding engineering budget, not a demonstrated optimum, acceptance bound or prescribed layout topology. Propagation delay carries 45%, area 35% and output transition 20%. Timing and slew expose separate effects of critical-node routing; supply power remains diagnostic. All source pairs, logic states and prescribed rails remain checked."
643
 
644
  [task.evaluation.scoring.weights]
645
  functional_area = 0.35
@@ -648,15 +654,16 @@ output_transition = 0.2
648
  supply = 0
649
 
650
  [task.evaluation.pre_layout]
651
- source_report_sha256 = "7d600ab40edc13fd22902c3bcba7dccfde52a0e8d32a7008a7dcc4fc1de2eda9"
652
 
653
  [task.evaluation.pre_layout.backends]
654
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"dfbdf2f93297bbe7d8b576fb988504bd0ecf85b93ef47c314a0f2c9c8830c3e7\", \"compatibility\": null, \"cpu_budget\": 8, \"execution_sha256\": \"495aa9623759f70228a236eb4825c2ae443ef6a741816d8cfc17d1830841dcef\", \"image_id\": \"sha256:060fee64f9f6e71a647e5e958b788d723c9d51d2928ff93e6a295db1959bc37f\", \"limits\": {\"cpus\": 8, \"memory_mb\": 4096, \"pids\": 256}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"660672961e1ce0632bb9e18bc6dfb1fbd751a36d1fc496f1491763859d76c624\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 120.0, \"tool_version\": \"******\\n** ngspice-45 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2025, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Thu Sep 17 13:42:47 UTC 2026\\n******\"}"
655
 
656
  [task.evaluation.pre_layout.jobs.source_nominal]
657
  operation = "circuit.simulate"
658
 
659
  [task.evaluation.pre_layout.jobs.source_nominal.inputs]
 
660
  deck = "input:performance"
661
  dut = "input:netlist"
662
 
@@ -687,39 +694,40 @@ delay_a1_rise_7 = "s"
687
  transition_a1_rise_7 = "s"
688
 
689
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
690
- deck = "389d2d09f05913f740d0b776e0fe2d4382057b2bc8a23564f4150adae920e4c9"
 
691
  dut = "1decfdcffa5a7f962e26c0831e9a219521670f282df72e465fd61ebccdba12b0"
692
 
693
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a1_fall_2]
694
- value = 1.430693e-11
695
  unit = "s"
696
 
697
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a1_rise_7]
698
- value = 9.335134e-12
699
  unit = "s"
700
 
701
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a2_fall_6]
702
- value = 1.515943e-11
703
  unit = "s"
704
 
705
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a2_rise_3]
706
- value = 1.022087e-11
707
  unit = "s"
708
 
709
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_0]
710
- value = 0.9999975
711
  unit = "V"
712
 
713
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_1]
714
- value = 0.9999739
715
  unit = "V"
716
 
717
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_2]
718
- value = 0.0001741408
719
  unit = "V"
720
 
721
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_3]
722
- value = 0.9998214
723
  unit = "V"
724
 
725
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_4]
@@ -727,44 +735,41 @@ value = 0.999999
727
  unit = "V"
728
 
729
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_5]
730
- value = 0.9999582
731
  unit = "V"
732
 
733
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_6]
734
- value = 0.0001756712
735
  unit = "V"
736
 
737
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_7]
738
- value = 0.9999739
739
  unit = "V"
740
 
741
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_8]
742
- value = 0.9999406
743
  unit = "V"
744
 
745
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.supply]
746
- value = 3.425277e-06
747
  unit = "W"
748
 
749
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a1_fall_2]
750
- value = 1.658675e-11
751
  unit = "s"
752
 
753
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a1_rise_7]
754
- value = 9.668356e-12
755
  unit = "s"
756
 
757
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a2_fall_6]
758
- value = 1.658596e-11
759
  unit = "s"
760
 
761
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a2_rise_3]
762
- value = 1.080812e-11
763
  unit = "s"
764
 
765
- [task.evaluation.pre_layout.jobs.source_nominal.output_sha256]
766
- waveform = "a06da2028f8de62d33ffe5ca4b2eaaa0bbc219580ba1a30aa2e3180f3a8a031e"
767
-
768
  [toolchain.backends.artifact]
769
  type = "klayout-docker"
770
 
@@ -774,30 +779,10 @@ check = "artifact"
774
  timeout_seconds = 120
775
 
776
  [toolchain.backends.drc]
777
- type = "klayout-docker"
778
-
779
- [toolchain.backends.drc.settings]
780
- image = "iclayout-eda-open:local"
781
- check = "drc"
782
- timeout_seconds = 120
783
- support = "build/support/freepdk45-klayout"
784
- profile = "drc.json"
785
-
786
- [toolchain.backends.drc.support_profiles]
787
- support = "klayout"
788
 
789
  [toolchain.backends.lvs]
790
- type = "klayout-docker"
791
-
792
- [toolchain.backends.lvs.settings]
793
- image = "iclayout-eda-open:local"
794
- check = "lvs"
795
- timeout_seconds = 120
796
- support = "build/support/freepdk45-klayout"
797
- profile = "strict-lvs.json"
798
-
799
- [toolchain.backends.lvs.support_profiles]
800
- support = "klayout"
801
 
802
  [toolchain.backends.geometry]
803
  type = "klayout-geometry-docker"
@@ -810,8 +795,30 @@ timeout_seconds = 60
810
  type = "magic-rc-docker"
811
 
812
  [toolchain.backends.rc.settings]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
813
  image = "iclayout-eda-open:local"
814
- support = "build/support/freepdk45-magic-vtl"
815
  technology = "freepdk45.tech"
816
  tech_name = "freepdk45"
817
  style = "spice3(sim)"
@@ -876,7 +883,7 @@ max_parallel_jobs = 8
876
  threads = 1
877
  cpu_budget = 8
878
  image = "iclayout-eda-open:local"
879
- support = "build/support/freepdk45-models"
880
  timeout_seconds = 120
881
 
882
  [toolchain.backends.ngspice.support_profiles]
 
15
  [task.inputs.description]
16
  path = "problem.md"
17
  format = "text"
18
+ sha256 = "015dbe1f33e7af236ec712b94235da4ee94e2f298a39daa2cc7c50b838f3692c"
19
 
20
  [task.inputs.netlist]
21
  path = "materials/circuit.spice"
 
26
  [task.inputs.performance]
27
  path = "materials/testbench.spice"
28
  format = "spice"
29
+ sha256 = "a3d0653d2301fd586e6cc81d6872b67dbe054d256590fea030b50174898ce542"
30
+
31
+ [task.inputs.ngspice_startup]
32
+ path = "materials/ngspice.spiceinit"
33
+ format = "text"
34
+ sha256 = "2ef8c1ce0b4d65b62053c99e75b2bad1d1158582c6ca6cfc19b1e255c84ecfbc"
35
 
36
  [task.constraints]
37
  quality = [
 
405
  operation = "circuit.simulate"
406
 
407
  [task.evaluation.jobs.inputs]
408
+ startup = "input:ngspice_startup"
409
  deck = "input:performance"
410
  dut = "job:parasitics:netlist"
411
 
 
645
  method = "layout"
646
  area_metric = "functional_area"
647
  area_target = 0.8965
648
+ rationale = "The 0.8965 um2 target is an expert engineering estimate for 0.55 um width at the required 1.63 um height, on the 0.01 um width grid. A conventional unfolded two-PMOS row needs about 0.555 um width after contacts and well enclosure. The target therefore anticipates compact folding or rotation with shared diffusion: two 0.315 um fingers can preserve each 0.630 um PMOS width, while the 0.415 um NMOS width plus two 0.055 um well enclosures occupies 0.525 um before local access margin. This target budgets local body ties, contacts, input/output access and both prescribed rails within the full cell frame; native upstream LVS defines the permitted well/supply abstraction. This is a demanding engineering budget, not a demonstrated optimum, acceptance bound or prescribed layout topology. Propagation delay carries 45%, area 35% and output transition 20%. Timing and slew expose separate effects of critical-node routing; supply power remains diagnostic. All source pairs, logic states and prescribed rails remain checked."
649
 
650
  [task.evaluation.scoring.weights]
651
  functional_area = 0.35
 
654
  supply = 0
655
 
656
  [task.evaluation.pre_layout]
657
+ source_report_sha256 = "8f94b671ae58f25946b06e709559964cd0fe2293db7c6a5f1b1a71c054dd9073"
658
 
659
  [task.evaluation.pre_layout.backends]
660
+ "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"b31d9cd1eefc0739b5ca5d9de5b495674b1f0581e8bc61db6a8b372897a0ec20\", \"compatibility\": null, \"cpu_budget\": 8, \"executable_workspace\": false, \"execution_sha256\": \"7f6228054295b3b6f8c13b457ac41ed7e6fb868cff93c76b928402aab17ed48e\", \"image_id\": \"sha256:a280e1c61fcf6e950f3585fedd83fabcfaa4e295a5c8f58e4543d2e7d5a6c207\", \"limits\": {\"cpus\": null, \"memory_mb\": null, \"pids\": null}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"retry_policy\": {\"backoff_seconds\": 1, \"max_attempts\": 3, \"max_backoff_seconds\": 2}, \"support_sha256\": \"25c7f76fc1800bcafca34c2e69f6f460e276849eb7d43893748b0303283b7f2f\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 120.0, \"tool_version\": \"******\\n** ngspice-47 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2026, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Fri Nov 13 02:32:42 UTC 2026\\n******\"}"
661
 
662
  [task.evaluation.pre_layout.jobs.source_nominal]
663
  operation = "circuit.simulate"
664
 
665
  [task.evaluation.pre_layout.jobs.source_nominal.inputs]
666
+ startup = "input:ngspice_startup"
667
  deck = "input:performance"
668
  dut = "input:netlist"
669
 
 
694
  transition_a1_rise_7 = "s"
695
 
696
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
697
+ startup = "2ef8c1ce0b4d65b62053c99e75b2bad1d1158582c6ca6cfc19b1e255c84ecfbc"
698
+ deck = "a3d0653d2301fd586e6cc81d6872b67dbe054d256590fea030b50174898ce542"
699
  dut = "1decfdcffa5a7f962e26c0831e9a219521670f282df72e465fd61ebccdba12b0"
700
 
701
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a1_fall_2]
702
+ value = 1.43069e-11
703
  unit = "s"
704
 
705
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a1_rise_7]
706
+ value = 9.33512e-12
707
  unit = "s"
708
 
709
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a2_fall_6]
710
+ value = 1.51593e-11
711
  unit = "s"
712
 
713
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a2_rise_3]
714
+ value = 1.02209e-11
715
  unit = "s"
716
 
717
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_0]
718
+ value = 0.999998
719
  unit = "V"
720
 
721
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_1]
722
+ value = 0.999974
723
  unit = "V"
724
 
725
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_2]
726
+ value = 0.000174141
727
  unit = "V"
728
 
729
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_3]
730
+ value = 0.999821
731
  unit = "V"
732
 
733
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_4]
 
735
  unit = "V"
736
 
737
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_5]
738
+ value = 0.999958
739
  unit = "V"
740
 
741
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_6]
742
+ value = 0.000175671
743
  unit = "V"
744
 
745
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_7]
746
+ value = 0.999974
747
  unit = "V"
748
 
749
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_8]
750
+ value = 0.999941
751
  unit = "V"
752
 
753
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.supply]
754
+ value = 3.42528e-06
755
  unit = "W"
756
 
757
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a1_fall_2]
758
+ value = 1.65867e-11
759
  unit = "s"
760
 
761
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a1_rise_7]
762
+ value = 9.66835e-12
763
  unit = "s"
764
 
765
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a2_fall_6]
766
+ value = 1.6586e-11
767
  unit = "s"
768
 
769
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a2_rise_3]
770
+ value = 1.08081e-11
771
  unit = "s"
772
 
 
 
 
773
  [toolchain.backends.artifact]
774
  type = "klayout-docker"
775
 
 
779
  timeout_seconds = 120
780
 
781
  [toolchain.backends.drc]
782
+ from_pdk = "drc"
 
 
 
 
 
 
 
 
 
 
783
 
784
  [toolchain.backends.lvs]
785
+ from_pdk = "lvs-standard-cell"
 
 
 
 
 
 
 
 
 
 
786
 
787
  [toolchain.backends.geometry]
788
  type = "klayout-geometry-docker"
 
795
  type = "magic-rc-docker"
796
 
797
  [toolchain.backends.rc.settings]
798
+ gds_ignore_layers = [
799
+ [
800
+ 6,
801
+ 0,
802
+ ],
803
+ [
804
+ 7,
805
+ 0,
806
+ ],
807
+ [
808
+ 8,
809
+ 0,
810
+ ],
811
+ [
812
+ 230,
813
+ 0,
814
+ ],
815
+ [
816
+ 239,
817
+ 0,
818
+ ],
819
+ ]
820
  image = "iclayout-eda-open:local"
821
+ support = "magic-vtl"
822
  technology = "freepdk45.tech"
823
  tech_name = "freepdk45"
824
  style = "spice3(sim)"
 
883
  threads = 1
884
  cpu_budget = 8
885
  image = "iclayout-eda-open:local"
886
+ support = "models"
887
  timeout_seconds = 120
888
 
889
  [toolchain.backends.ngspice.support_profiles]
tasks/freepdk45/nangate45-pdk/cases/NAND2_X1/materials/ngspice.spiceinit ADDED
@@ -0,0 +1 @@
 
 
1
+ set num_threads=1
tasks/freepdk45/nangate45-pdk/cases/NAND2_X1/materials/testbench.spice CHANGED
@@ -1,5 +1,8 @@
1
  * NAND2_X1: exhaustive Gray sequence and reversed sequence
2
- .include /workspace/support/models.spice
 
 
 
3
  .include dut.spice
4
  .temp 27
5
  Vdd vdd 0 1
 
1
  * NAND2_X1: exhaustive Gray sequence and reversed sequence
2
+ .include /workspace/support/tran_models/models_nom/NMOS_VTG.inc
3
+ .include /workspace/support/tran_models/models_nom/PMOS_VTG.inc
4
+ .include /workspace/support/tran_models/models_nom/NMOS_VTL.inc
5
+ .include /workspace/support/tran_models/models_nom/PMOS_VTL.inc
6
  .include dut.spice
7
  .temp 27
8
  Vdd vdd 0 1
tasks/freepdk45/nangate45-pdk/cases/NAND2_X1/problem.md CHANGED
@@ -22,11 +22,11 @@ The deck precisely defines stimuli and observation times, testing only through e
22
 
23
  ## Physical Requirements
24
 
25
- Submit a nonempty GDSII no larger than 10 MiB. Enable every check in the supplied KLayout DRC deck, including grid and antenna checks, without waivers. Strict LVS checks named ports, models, W/L and physical well/contact connectivity, with library-specific implicit or global power connections disabled. The upstream deck does not implement its documented spacing rule for wells at different potentials and does not provide complete foundry signoff.
26
 
27
  The hard functional-outline limit is 100 um × 100 um. Its bounding box includes all functional geometry on drawing layers 1/0–29/0: active regions, wells, implants, threshold markers, poly, contacts, ten metal layers and nine via layers. Area is scored in um2. Keep functional geometry on these layers, excluding pin-purpose and annotation geometry. Electrical labels use poly or metal drawing layers (9/0, 11/0, 13/0, …, 29/0); nonelectrical annotation text is not extracted.
28
 
29
- Translation, equivalent hierarchy and internal instance renaming are allowed. LVS permits source/drain exchange and equivalent parallel devices; the candidate must still pass the same RC electrical evaluation. Preserve top-level port identities and explicit body connections.
30
 
31
  The standard-cell functional frame has fixed height 1.63 um and width on a 0.01 um grid. Coordinates below are relative to its lower-left corner; global translation is allowed. Supply rails are continuous on metal1 and bound to their corresponding named supplies by LVS.
32
 
@@ -39,7 +39,7 @@ Artifact, geometry, DRC, LVS and declared functional requirements must pass. Par
39
 
40
  For `layout` scoring, cap every positively weighted raw quality at 1 before aggregation; the score ranges from 0 to 100. Reaching every weighted target scores 100, and no minimum score is required for validity.
41
 
42
- Extract the candidate GDS only after file, DRC, LVS and geometry checks pass. Simulate its Magic RC netlist directly, with independent source simulation supplying the scoring baseline. Independent LVS first checks VTG/VTL device types, then uses the matching extraction configuration. Extraction includes poly/metal sheet resistance, contacts/vias, geometry-dependent coupling and ground capacitance, and device junction areas/perimeters. Wells use lumped connectivity; BSIM4 describes device and junction behavior. Interconnect RC uses estimated coefficients and native capacitance placement from the fixed community FreePDK45 Magic technology. The adapter binds VTG/VTL models, preserves annotation layers and corrects dimension-unit conversion. This is a predictive approximation without field-solver signoff accuracy.
43
 
44
  Physical checks and the declared functional bounds must pass. Each `source_*` job and its corresponding candidate extracted circuit use exactly the same testbench, model resources, parameters, loads and measurement windows. Electrical quality uses the paired pre-layout observations to score preservation of the fixed circuit's performance. Reports retain every source/candidate pair.
45
 
@@ -93,6 +93,8 @@ These methods refer to Sections 2–3 of Xu et al., *Standard Cell Library Desig
93
 
94
  ## Tools and Submission
95
 
 
 
96
  Soft solve budget: **1 hour**.
97
 
98
  Read `/protocol/task.json` for input/output paths, constraints and the `resources` object; `/protocol/harness.json` describes the active check and submission interface.
 
22
 
23
  ## Physical Requirements
24
 
25
+ Submit a nonempty GDSII no larger than 10 MiB. Enable every check in the supplied KLayout DRC deck, including grid and antenna checks, without waivers. Native upstream LVS checks the circuit and its declared MOS geometry using the upstream well/supply and symmetric-pin conventions. The upstream deck does not implement its documented spacing rule for wells at different potentials and does not provide complete foundry signoff.
26
 
27
  The hard functional-outline limit is 100 um × 100 um. Its bounding box includes all functional geometry on drawing layers 1/0–29/0: active regions, wells, implants, threshold markers, poly, contacts, ten metal layers and nine via layers. Area is scored in um2. Keep functional geometry on these layers, excluding pin-purpose and annotation geometry. Electrical labels use poly or metal drawing layers (9/0, 11/0, 13/0, …, 29/0); nonelectrical annotation text is not extracted.
28
 
29
+ Translation, equivalent hierarchy and internal instance renaming are allowed. LVS permits source/drain exchange and equivalent parallel devices; the candidate must still pass the same RC electrical evaluation. Preserve the published interface and circuit body nets; native LVS retains upstream global/implicit well and supply conventions.
30
 
31
  The standard-cell functional frame has fixed height 1.63 um and width on a 0.01 um grid. Coordinates below are relative to its lower-left corner; global translation is allowed. Supply rails are continuous on metal1 and bound to their corresponding named supplies by LVS.
32
 
 
39
 
40
  For `layout` scoring, cap every positively weighted raw quality at 1 before aggregation; the score ranges from 0 to 100. Reaching every weighted target scores 100, and no minimum score is required for validity.
41
 
42
+ Extract the candidate GDS only after file, DRC, LVS and geometry checks pass. Simulate its Magic RC netlist directly, with independent source simulation supplying the scoring baseline. Independent LVS first checks VTG/VTL device types, then uses the matching extraction configuration. Extraction includes poly/metal sheet resistance, contacts/vias, geometry-dependent coupling and ground capacitance, and device junction areas/perimeters. Wells use lumped connectivity; BSIM4 describes device and junction behavior. Interconnect RC uses estimated coefficients and native capacitance placement from the fixed community FreePDK45 Magic technology. The adapter binds VTG/VTL models, ignores the declared nonelectrical marker layers and corrects dimension-unit conversion. This is a predictive approximation without field-solver signoff accuracy.
43
 
44
  Physical checks and the declared functional bounds must pass. Each `source_*` job and its corresponding candidate extracted circuit use exactly the same testbench, model resources, parameters, loads and measurement windows. Electrical quality uses the paired pre-layout observations to score preservation of the fixed circuit's performance. Reports retain every source/candidate pair.
45
 
 
93
 
94
  ## Tools and Submission
95
 
96
+ For Magic RC import, this task explicitly ignores GDS layers 6/0, 7/0, 8/0, 230/0 and 239/0 through native `cifinput` rules. Independent KLayout DRC/LVS still checks the original submitted layout.
97
+
98
  Soft solve budget: **1 hour**.
99
 
100
  Read `/protocol/task.json` for input/output paths, constraints and the `resources` object; `/protocol/harness.json` describes the active check and submission interface.
tasks/freepdk45/nangate45-pdk/cases/NOR2_X1/case.toml CHANGED
@@ -14,7 +14,7 @@ environment = "freepdk45-nominal-predictive-rc"
14
  [task.inputs.description]
15
  path = "problem.md"
16
  format = "text"
17
- sha256 = "36e112a0ec5e20033569452c292c65a4fd874cc6f724423c59037fd65943c044"
18
 
19
  [task.inputs.netlist]
20
  path = "materials/circuit.spice"
@@ -25,7 +25,12 @@ sha256 = "6521472bc3714e83d5fcf0ffa0e462c2439d863f31a7b20e6141056f2232c1cd"
25
  [task.inputs.performance]
26
  path = "materials/testbench.spice"
27
  format = "spice"
28
- sha256 = "c5b39a6e9116066488d5c7d60c1a19b310f7f4d22b9744bbf2264ef59dfba209"
 
 
 
 
 
29
 
30
  [task.constraints]
31
  quality = [
@@ -399,6 +404,7 @@ stage = "simulate"
399
  operation = "circuit.simulate"
400
 
401
  [task.evaluation.jobs.inputs]
 
402
  deck = "input:performance"
403
  dut = "job:parasitics:netlist"
404
 
@@ -635,15 +641,16 @@ output_transition = 0.16
635
  supply = 0.16
636
 
637
  [task.evaluation.pre_layout]
638
- source_report_sha256 = "d497cf6816f045a63b56b73692070af6bb4a62e94d4e774461e145914c97a7e0"
639
 
640
  [task.evaluation.pre_layout.backends]
641
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"dfbdf2f93297bbe7d8b576fb988504bd0ecf85b93ef47c314a0f2c9c8830c3e7\", \"compatibility\": null, \"cpu_budget\": 8, \"execution_sha256\": \"495aa9623759f70228a236eb4825c2ae443ef6a741816d8cfc17d1830841dcef\", \"image_id\": \"sha256:060fee64f9f6e71a647e5e958b788d723c9d51d2928ff93e6a295db1959bc37f\", \"limits\": {\"cpus\": 8, \"memory_mb\": 4096, \"pids\": 256}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"660672961e1ce0632bb9e18bc6dfb1fbd751a36d1fc496f1491763859d76c624\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 120.0, \"tool_version\": \"******\\n** ngspice-45 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2025, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Thu Sep 17 13:42:47 UTC 2026\\n******\"}"
642
 
643
  [task.evaluation.pre_layout.jobs.source_nominal]
644
  operation = "circuit.simulate"
645
 
646
  [task.evaluation.pre_layout.jobs.source_nominal.inputs]
 
647
  deck = "input:performance"
648
  dut = "input:netlist"
649
 
@@ -654,10 +661,6 @@ waveform = "ngspice-raw"
654
  waveform = "waveform.raw"
655
 
656
  [task.evaluation.pre_layout.jobs.source_nominal.parameters.measurements]
657
- delay_a1_4 = "s"
658
- delay_a1_5 = "s"
659
- delay_a2_1 = "s"
660
- delay_a2_8 = "s"
661
  state_0 = "V"
662
  state_1 = "V"
663
  state_2 = "V"
@@ -668,61 +671,66 @@ state_6 = "V"
668
  state_7 = "V"
669
  state_8 = "V"
670
  supply = "W"
 
 
 
671
  transition_a1_4 = "s"
 
672
  transition_a1_5 = "s"
673
- transition_a2_1 = "s"
674
  transition_a2_8 = "s"
675
 
676
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
677
- deck = "c5b39a6e9116066488d5c7d60c1a19b310f7f4d22b9744bbf2264ef59dfba209"
 
678
  dut = "6521472bc3714e83d5fcf0ffa0e462c2439d863f31a7b20e6141056f2232c1cd"
679
 
680
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a1_4]
681
- value = 1.418335e-11
682
  unit = "s"
683
 
684
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a1_5]
685
- value = 8.976102e-12
686
  unit = "s"
687
 
688
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a2_1]
689
- value = 1.023491e-11
690
  unit = "s"
691
 
692
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a2_8]
693
- value = 1.596073e-11
694
  unit = "s"
695
 
696
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_0]
697
- value = 0.9998956
698
  unit = "V"
699
 
700
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_1]
701
- value = 0.0002931843
702
  unit = "V"
703
 
704
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_2]
705
- value = 5.588641e-07
706
  unit = "V"
707
 
708
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_3]
709
- value = 3.990427e-05
710
  unit = "V"
711
 
712
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_4]
713
- value = 0.9998806
714
  unit = "V"
715
 
716
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_5]
717
- value = 3.990442e-05
718
  unit = "V"
719
 
720
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_6]
721
- value = 0.0001088246
722
  unit = "V"
723
 
724
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_7]
725
- value = 0.0002606938
726
  unit = "V"
727
 
728
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_8]
@@ -730,28 +738,25 @@ value = 0.999877
730
  unit = "V"
731
 
732
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.supply]
733
- value = 3.603559e-06
734
  unit = "W"
735
 
736
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a1_4]
737
- value = 1.697477e-11
738
  unit = "s"
739
 
740
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a1_5]
741
- value = 8.944657e-12
742
  unit = "s"
743
 
744
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a2_1]
745
- value = 1.065085e-11
746
  unit = "s"
747
 
748
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a2_8]
749
- value = 1.697785e-11
750
  unit = "s"
751
 
752
- [task.evaluation.pre_layout.jobs.source_nominal.output_sha256]
753
- waveform = "2eb2215cebf189f4c2ff70e58072665a2c6e02da51f6a45b6f0dba236c72cd47"
754
-
755
  [toolchain.backends.artifact]
756
  type = "klayout-docker"
757
 
@@ -761,30 +766,10 @@ check = "artifact"
761
  timeout_seconds = 120
762
 
763
  [toolchain.backends.drc]
764
- type = "klayout-docker"
765
-
766
- [toolchain.backends.drc.settings]
767
- image = "iclayout-eda-open:local"
768
- check = "drc"
769
- timeout_seconds = 120
770
- support = "build/support/freepdk45-klayout"
771
- profile = "drc.json"
772
-
773
- [toolchain.backends.drc.support_profiles]
774
- support = "klayout"
775
 
776
  [toolchain.backends.lvs]
777
- type = "klayout-docker"
778
-
779
- [toolchain.backends.lvs.settings]
780
- image = "iclayout-eda-open:local"
781
- check = "lvs"
782
- timeout_seconds = 120
783
- support = "build/support/freepdk45-klayout"
784
- profile = "strict-lvs.json"
785
-
786
- [toolchain.backends.lvs.support_profiles]
787
- support = "klayout"
788
 
789
  [toolchain.backends.geometry]
790
  type = "klayout-geometry-docker"
@@ -797,8 +782,30 @@ timeout_seconds = 60
797
  type = "magic-rc-docker"
798
 
799
  [toolchain.backends.rc.settings]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
800
  image = "iclayout-eda-open:local"
801
- support = "build/support/freepdk45-magic-vtl"
802
  technology = "freepdk45.tech"
803
  tech_name = "freepdk45"
804
  style = "spice3(sim)"
@@ -863,7 +870,7 @@ max_parallel_jobs = 8
863
  threads = 1
864
  cpu_budget = 8
865
  image = "iclayout-eda-open:local"
866
- support = "build/support/freepdk45-models"
867
  timeout_seconds = 120
868
 
869
  [toolchain.backends.ngspice.support_profiles]
 
14
  [task.inputs.description]
15
  path = "problem.md"
16
  format = "text"
17
+ sha256 = "cc9d146861f6ddd75d2dd558894075526bc7355db9a0f6cd771e4d5d0b251ea2"
18
 
19
  [task.inputs.netlist]
20
  path = "materials/circuit.spice"
 
25
  [task.inputs.performance]
26
  path = "materials/testbench.spice"
27
  format = "spice"
28
+ sha256 = "957c9c12aaa2f46c49a4e9e69767d5a990de650227af3f1a7f5b0db40c34d3a0"
29
+
30
+ [task.inputs.ngspice_startup]
31
+ path = "materials/ngspice.spiceinit"
32
+ format = "text"
33
+ sha256 = "2ef8c1ce0b4d65b62053c99e75b2bad1d1158582c6ca6cfc19b1e255c84ecfbc"
34
 
35
  [task.constraints]
36
  quality = [
 
404
  operation = "circuit.simulate"
405
 
406
  [task.evaluation.jobs.inputs]
407
+ startup = "input:ngspice_startup"
408
  deck = "input:performance"
409
  dut = "job:parasitics:netlist"
410
 
 
641
  supply = 0.16
642
 
643
  [task.evaluation.pre_layout]
644
+ source_report_sha256 = "b692a62aeaedd7c5490c7b01ce22815a88fb0b57d00d2898298604a6a29e8b2d"
645
 
646
  [task.evaluation.pre_layout.backends]
647
+ "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"b31d9cd1eefc0739b5ca5d9de5b495674b1f0581e8bc61db6a8b372897a0ec20\", \"compatibility\": null, \"cpu_budget\": 8, \"executable_workspace\": false, \"execution_sha256\": \"7f6228054295b3b6f8c13b457ac41ed7e6fb868cff93c76b928402aab17ed48e\", \"image_id\": \"sha256:a280e1c61fcf6e950f3585fedd83fabcfaa4e295a5c8f58e4543d2e7d5a6c207\", \"limits\": {\"cpus\": null, \"memory_mb\": null, \"pids\": null}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"retry_policy\": {\"backoff_seconds\": 1, \"max_attempts\": 3, \"max_backoff_seconds\": 2}, \"support_sha256\": \"25c7f76fc1800bcafca34c2e69f6f460e276849eb7d43893748b0303283b7f2f\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 120.0, \"tool_version\": \"******\\n** ngspice-47 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2026, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Fri Nov 13 02:32:42 UTC 2026\\n******\"}"
648
 
649
  [task.evaluation.pre_layout.jobs.source_nominal]
650
  operation = "circuit.simulate"
651
 
652
  [task.evaluation.pre_layout.jobs.source_nominal.inputs]
653
+ startup = "input:ngspice_startup"
654
  deck = "input:performance"
655
  dut = "input:netlist"
656
 
 
661
  waveform = "waveform.raw"
662
 
663
  [task.evaluation.pre_layout.jobs.source_nominal.parameters.measurements]
 
 
 
 
664
  state_0 = "V"
665
  state_1 = "V"
666
  state_2 = "V"
 
671
  state_7 = "V"
672
  state_8 = "V"
673
  supply = "W"
674
+ delay_a2_1 = "s"
675
+ transition_a2_1 = "s"
676
+ delay_a1_4 = "s"
677
  transition_a1_4 = "s"
678
+ delay_a1_5 = "s"
679
  transition_a1_5 = "s"
680
+ delay_a2_8 = "s"
681
  transition_a2_8 = "s"
682
 
683
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
684
+ startup = "2ef8c1ce0b4d65b62053c99e75b2bad1d1158582c6ca6cfc19b1e255c84ecfbc"
685
+ deck = "957c9c12aaa2f46c49a4e9e69767d5a990de650227af3f1a7f5b0db40c34d3a0"
686
  dut = "6521472bc3714e83d5fcf0ffa0e462c2439d863f31a7b20e6141056f2232c1cd"
687
 
688
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a1_4]
689
+ value = 1.41833e-11
690
  unit = "s"
691
 
692
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a1_5]
693
+ value = 8.97608e-12
694
  unit = "s"
695
 
696
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a2_1]
697
+ value = 1.02349e-11
698
  unit = "s"
699
 
700
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a2_8]
701
+ value = 1.59605e-11
702
  unit = "s"
703
 
704
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_0]
705
+ value = 0.999896
706
  unit = "V"
707
 
708
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_1]
709
+ value = 0.000293184
710
  unit = "V"
711
 
712
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_2]
713
+ value = 5.58864e-07
714
  unit = "V"
715
 
716
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_3]
717
+ value = 3.99043e-05
718
  unit = "V"
719
 
720
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_4]
721
+ value = 0.999881
722
  unit = "V"
723
 
724
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_5]
725
+ value = 3.99044e-05
726
  unit = "V"
727
 
728
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_6]
729
+ value = 0.000108827
730
  unit = "V"
731
 
732
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_7]
733
+ value = 0.000260694
734
  unit = "V"
735
 
736
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_8]
 
738
  unit = "V"
739
 
740
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.supply]
741
+ value = 3.60356e-06
742
  unit = "W"
743
 
744
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a1_4]
745
+ value = 1.69748e-11
746
  unit = "s"
747
 
748
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a1_5]
749
+ value = 8.94466e-12
750
  unit = "s"
751
 
752
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a2_1]
753
+ value = 1.06508e-11
754
  unit = "s"
755
 
756
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a2_8]
757
+ value = 1.69778e-11
758
  unit = "s"
759
 
 
 
 
760
  [toolchain.backends.artifact]
761
  type = "klayout-docker"
762
 
 
766
  timeout_seconds = 120
767
 
768
  [toolchain.backends.drc]
769
+ from_pdk = "drc"
 
 
 
 
 
 
 
 
 
 
770
 
771
  [toolchain.backends.lvs]
772
+ from_pdk = "lvs-standard-cell"
 
 
 
 
 
 
 
 
 
 
773
 
774
  [toolchain.backends.geometry]
775
  type = "klayout-geometry-docker"
 
782
  type = "magic-rc-docker"
783
 
784
  [toolchain.backends.rc.settings]
785
+ gds_ignore_layers = [
786
+ [
787
+ 6,
788
+ 0,
789
+ ],
790
+ [
791
+ 7,
792
+ 0,
793
+ ],
794
+ [
795
+ 8,
796
+ 0,
797
+ ],
798
+ [
799
+ 230,
800
+ 0,
801
+ ],
802
+ [
803
+ 239,
804
+ 0,
805
+ ],
806
+ ]
807
  image = "iclayout-eda-open:local"
808
+ support = "magic-vtl"
809
  technology = "freepdk45.tech"
810
  tech_name = "freepdk45"
811
  style = "spice3(sim)"
 
870
  threads = 1
871
  cpu_budget = 8
872
  image = "iclayout-eda-open:local"
873
+ support = "models"
874
  timeout_seconds = 120
875
 
876
  [toolchain.backends.ngspice.support_profiles]
tasks/freepdk45/nangate45-pdk/cases/NOR2_X1/materials/ngspice.spiceinit ADDED
@@ -0,0 +1 @@
 
 
1
+ set num_threads=1
tasks/freepdk45/nangate45-pdk/cases/NOR2_X1/materials/testbench.spice CHANGED
@@ -1,5 +1,8 @@
1
  * NOR2_X1: all input states and both transition directions
2
- .include /workspace/support/models.spice
 
 
 
3
  .include dut.spice
4
  .temp 27
5
  Vdd vdd 0 1
 
1
  * NOR2_X1: all input states and both transition directions
2
+ .include /workspace/support/tran_models/models_nom/NMOS_VTG.inc
3
+ .include /workspace/support/tran_models/models_nom/PMOS_VTG.inc
4
+ .include /workspace/support/tran_models/models_nom/NMOS_VTL.inc
5
+ .include /workspace/support/tran_models/models_nom/PMOS_VTL.inc
6
  .include dut.spice
7
  .temp 27
8
  Vdd vdd 0 1
tasks/freepdk45/nangate45-pdk/cases/NOR2_X1/problem.md CHANGED
@@ -18,7 +18,7 @@ Nominal FreePDK45 BSIM4, 1.0 V, 27 °C, ZN load 5 fF. Nine 500 ps slots drive (A
18
 
19
  ## Physical Requirements
20
 
21
- Submit nonempty `output/final.gds` with top cell `NOR2_X1`, at most 10 MiB. Pass FreePDK45 KLayout DRC and strict named-port LVS without waivers, checking body terminals, MOS models and W/L. Research rules do not constitute manufacturing signoff.
22
 
23
  The functional bounding-box width and height on drawing layers 1/0–29/0 must each be at most 100 µm. The standard-cell frame has fixed height 1.63 µm and width on a 0.01 µm grid. Relative to its lower-left corner, continuous metal1 VDD/VSS rails have centers at y=1.515/0.115 µm and connect to the corresponding ports; thickness is at least 0.07 µm, extending from x=0.115 µm to the right boundary minus 0.030 µm. Electrical labels lie on poly or metal drawing layers. Global translation, equivalent hierarchy, internal renaming and source/drain exchange are allowed if all physical and electrical checks pass.
24
 
@@ -55,6 +55,8 @@ Supply quality q_supply = (P_source + 1 pW)/(P_candidate + 1 pW), using the decl
55
 
56
  ## Tools and Submission
57
 
 
 
58
  Soft solve budget: **3 hours**.
59
 
60
  Read `/protocol/task.json` for input/output paths, constraints and the `resources` object; `/protocol/harness.json` describes the active check and submission interface.
 
18
 
19
  ## Physical Requirements
20
 
21
+ Submit nonempty `output/final.gds` with top cell `NOR2_X1`, at most 10 MiB. Pass FreePDK45 KLayout DRC and native upstream LVS, checking the circuit and its declared MOS geometry under the upstream well/supply and symmetric-pin conventions. Research rules do not constitute manufacturing signoff.
22
 
23
  The functional bounding-box width and height on drawing layers 1/0–29/0 must each be at most 100 µm. The standard-cell frame has fixed height 1.63 µm and width on a 0.01 µm grid. Relative to its lower-left corner, continuous metal1 VDD/VSS rails have centers at y=1.515/0.115 µm and connect to the corresponding ports; thickness is at least 0.07 µm, extending from x=0.115 µm to the right boundary minus 0.030 µm. Electrical labels lie on poly or metal drawing layers. Global translation, equivalent hierarchy, internal renaming and source/drain exchange are allowed if all physical and electrical checks pass.
24
 
 
55
 
56
  ## Tools and Submission
57
 
58
+ For Magic RC import, this task explicitly ignores GDS layers 6/0, 7/0, 8/0, 230/0 and 239/0 through native `cifinput` rules. Independent KLayout DRC/LVS still checks the original submitted layout.
59
+
60
  Soft solve budget: **3 hours**.
61
 
62
  Read `/protocol/task.json` for input/output paths, constraints and the `resources` object; `/protocol/harness.json` describes the active check and submission interface.
tasks/freepdk45/nangate45-pdk/cases/XOR2_X1/case.toml CHANGED
@@ -14,7 +14,7 @@ environment = "freepdk45-nominal-predictive-rc"
14
  [task.inputs.description]
15
  path = "problem.md"
16
  format = "text"
17
- sha256 = "fe6a208d1b72f4b935171092d388deda9e2d5df25ef3e8142a6bc4ebbd18235d"
18
 
19
  [task.inputs.netlist]
20
  path = "materials/circuit.spice"
@@ -25,7 +25,12 @@ sha256 = "d887f609291cad55b09d6ed77c06e2a327923084dfd4ff356abf53ece7a18f37"
25
  [task.inputs.performance]
26
  path = "materials/testbench.spice"
27
  format = "spice"
28
- sha256 = "28f81f7ad9201ace9ab191666a0812469808a86184d2582763c82f7d722f629e"
 
 
 
 
 
29
 
30
  [task.constraints]
31
  quality = [
@@ -399,6 +404,7 @@ stage = "simulate"
399
  operation = "circuit.simulate"
400
 
401
  [task.evaluation.jobs.inputs]
 
402
  deck = "input:performance"
403
  dut = "job:parasitics:netlist"
404
 
@@ -659,15 +665,16 @@ output_transition = 0.16
659
  supply = 0.16
660
 
661
  [task.evaluation.pre_layout]
662
- source_report_sha256 = "77b2d75ea0fd7d534d2964d716a077f7d945e6789a394a687ac306bf0562b807"
663
 
664
  [task.evaluation.pre_layout.backends]
665
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"dfbdf2f93297bbe7d8b576fb988504bd0ecf85b93ef47c314a0f2c9c8830c3e7\", \"compatibility\": null, \"cpu_budget\": 8, \"execution_sha256\": \"495aa9623759f70228a236eb4825c2ae443ef6a741816d8cfc17d1830841dcef\", \"image_id\": \"sha256:060fee64f9f6e71a647e5e958b788d723c9d51d2928ff93e6a295db1959bc37f\", \"limits\": {\"cpus\": 8, \"memory_mb\": 4096, \"pids\": 256}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"660672961e1ce0632bb9e18bc6dfb1fbd751a36d1fc496f1491763859d76c624\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 120.0, \"tool_version\": \"******\\n** ngspice-45 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2025, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Thu Sep 17 13:42:47 UTC 2026\\n******\"}"
666
 
667
  [task.evaluation.pre_layout.jobs.source_nominal]
668
  operation = "circuit.simulate"
669
 
670
  [task.evaluation.pre_layout.jobs.source_nominal.inputs]
 
671
  deck = "input:performance"
672
  dut = "input:netlist"
673
 
@@ -678,14 +685,6 @@ waveform = "ngspice-raw"
678
  waveform = "waveform.raw"
679
 
680
  [task.evaluation.pre_layout.jobs.source_nominal.parameters.measurements]
681
- delay_a_2 = "s"
682
- delay_a_4 = "s"
683
- delay_a_5 = "s"
684
- delay_a_7 = "s"
685
- delay_b_1 = "s"
686
- delay_b_3 = "s"
687
- delay_b_6 = "s"
688
- delay_b_8 = "s"
689
  state_0 = "V"
690
  state_1 = "V"
691
  state_2 = "V"
@@ -696,33 +695,42 @@ state_6 = "V"
696
  state_7 = "V"
697
  state_8 = "V"
698
  supply = "W"
 
 
 
699
  transition_a_2 = "s"
 
 
 
700
  transition_a_4 = "s"
 
701
  transition_a_5 = "s"
702
- transition_a_7 = "s"
703
- transition_b_1 = "s"
704
- transition_b_3 = "s"
705
  transition_b_6 = "s"
 
 
 
706
  transition_b_8 = "s"
707
 
708
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
709
- deck = "28f81f7ad9201ace9ab191666a0812469808a86184d2582763c82f7d722f629e"
 
710
  dut = "d887f609291cad55b09d6ed77c06e2a327923084dfd4ff356abf53ece7a18f37"
711
 
712
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_2]
713
- value = 1.537647e-11
714
  unit = "s"
715
 
716
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_4]
717
- value = 2.496215e-11
718
  unit = "s"
719
 
720
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_5]
721
- value = 2.511264e-11
722
  unit = "s"
723
 
724
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_7]
725
- value = 1.544156e-11
726
  unit = "s"
727
 
728
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_b_1]
@@ -730,31 +738,31 @@ value = 2.59566e-11
730
  unit = "s"
731
 
732
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_b_3]
733
- value = 1.699512e-11
734
  unit = "s"
735
 
736
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_b_6]
737
- value = 1.621274e-11
738
  unit = "s"
739
 
740
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_b_8]
741
- value = 2.687386e-11
742
  unit = "s"
743
 
744
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_0]
745
- value = 2.405139e-05
746
  unit = "V"
747
 
748
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_1]
749
- value = 0.9997164
750
  unit = "V"
751
 
752
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_2]
753
- value = 0.0001919715
754
  unit = "V"
755
 
756
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_3]
757
- value = 0.9994052
758
  unit = "V"
759
 
760
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_4]
@@ -766,15 +774,15 @@ value = 0.999229
766
  unit = "V"
767
 
768
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_6]
769
- value = 0.0001949141
770
  unit = "V"
771
 
772
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_7]
773
- value = 0.9998352
774
  unit = "V"
775
 
776
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_8]
777
- value = 0.0005258512
778
  unit = "V"
779
 
780
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.supply]
@@ -782,40 +790,37 @@ value = 9.54559e-06
782
  unit = "W"
783
 
784
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_2]
785
- value = 1.762391e-11
786
  unit = "s"
787
 
788
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_4]
789
- value = 1.472872e-11
790
  unit = "s"
791
 
792
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_5]
793
- value = 2.096353e-11
794
  unit = "s"
795
 
796
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_7]
797
- value = 1.885388e-11
798
  unit = "s"
799
 
800
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_b_1]
801
- value = 1.902313e-11
802
  unit = "s"
803
 
804
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_b_3]
805
- value = 2.076389e-11
806
  unit = "s"
807
 
808
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_b_6]
809
- value = 1.762362e-11
810
  unit = "s"
811
 
812
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_b_8]
813
- value = 1.466033e-11
814
  unit = "s"
815
 
816
- [task.evaluation.pre_layout.jobs.source_nominal.output_sha256]
817
- waveform = "e5a76f4e8f6a2c81d6d5888622cac294a7b36f2dadccaf56df435e92e2518ea5"
818
-
819
  [toolchain.backends.artifact]
820
  type = "klayout-docker"
821
 
@@ -825,30 +830,10 @@ check = "artifact"
825
  timeout_seconds = 120
826
 
827
  [toolchain.backends.drc]
828
- type = "klayout-docker"
829
-
830
- [toolchain.backends.drc.settings]
831
- image = "iclayout-eda-open:local"
832
- check = "drc"
833
- timeout_seconds = 120
834
- support = "build/support/freepdk45-klayout"
835
- profile = "drc.json"
836
-
837
- [toolchain.backends.drc.support_profiles]
838
- support = "klayout"
839
 
840
  [toolchain.backends.lvs]
841
- type = "klayout-docker"
842
-
843
- [toolchain.backends.lvs.settings]
844
- image = "iclayout-eda-open:local"
845
- check = "lvs"
846
- timeout_seconds = 120
847
- support = "build/support/freepdk45-klayout"
848
- profile = "strict-lvs.json"
849
-
850
- [toolchain.backends.lvs.support_profiles]
851
- support = "klayout"
852
 
853
  [toolchain.backends.geometry]
854
  type = "klayout-geometry-docker"
@@ -861,8 +846,30 @@ timeout_seconds = 60
861
  type = "magic-rc-docker"
862
 
863
  [toolchain.backends.rc.settings]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
864
  image = "iclayout-eda-open:local"
865
- support = "build/support/freepdk45-magic-vtl"
866
  technology = "freepdk45.tech"
867
  tech_name = "freepdk45"
868
  style = "spice3(sim)"
@@ -927,7 +934,7 @@ max_parallel_jobs = 8
927
  threads = 1
928
  cpu_budget = 8
929
  image = "iclayout-eda-open:local"
930
- support = "build/support/freepdk45-models"
931
  timeout_seconds = 120
932
 
933
  [toolchain.backends.ngspice.support_profiles]
 
14
  [task.inputs.description]
15
  path = "problem.md"
16
  format = "text"
17
+ sha256 = "ac30fa936c1b216eef50606f64bdcb7394178a3e73a084ab823b7144d230b1c4"
18
 
19
  [task.inputs.netlist]
20
  path = "materials/circuit.spice"
 
25
  [task.inputs.performance]
26
  path = "materials/testbench.spice"
27
  format = "spice"
28
+ sha256 = "067b446567c9c56779342c18febb1f572d50829e45ed4c6ae27a0413f077b55a"
29
+
30
+ [task.inputs.ngspice_startup]
31
+ path = "materials/ngspice.spiceinit"
32
+ format = "text"
33
+ sha256 = "2ef8c1ce0b4d65b62053c99e75b2bad1d1158582c6ca6cfc19b1e255c84ecfbc"
34
 
35
  [task.constraints]
36
  quality = [
 
404
  operation = "circuit.simulate"
405
 
406
  [task.evaluation.jobs.inputs]
407
+ startup = "input:ngspice_startup"
408
  deck = "input:performance"
409
  dut = "job:parasitics:netlist"
410
 
 
665
  supply = 0.16
666
 
667
  [task.evaluation.pre_layout]
668
+ source_report_sha256 = "eee0d896bc8ca7d89110aebbf9f7eb98f2bcdaa5067d11273fb440af5babf84b"
669
 
670
  [task.evaluation.pre_layout.backends]
671
+ "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"b31d9cd1eefc0739b5ca5d9de5b495674b1f0581e8bc61db6a8b372897a0ec20\", \"compatibility\": null, \"cpu_budget\": 8, \"executable_workspace\": false, \"execution_sha256\": \"7f6228054295b3b6f8c13b457ac41ed7e6fb868cff93c76b928402aab17ed48e\", \"image_id\": \"sha256:a280e1c61fcf6e950f3585fedd83fabcfaa4e295a5c8f58e4543d2e7d5a6c207\", \"limits\": {\"cpus\": null, \"memory_mb\": null, \"pids\": null}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"retry_policy\": {\"backoff_seconds\": 1, \"max_attempts\": 3, \"max_backoff_seconds\": 2}, \"support_sha256\": \"25c7f76fc1800bcafca34c2e69f6f460e276849eb7d43893748b0303283b7f2f\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 120.0, \"tool_version\": \"******\\n** ngspice-47 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2026, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Fri Nov 13 02:32:42 UTC 2026\\n******\"}"
672
 
673
  [task.evaluation.pre_layout.jobs.source_nominal]
674
  operation = "circuit.simulate"
675
 
676
  [task.evaluation.pre_layout.jobs.source_nominal.inputs]
677
+ startup = "input:ngspice_startup"
678
  deck = "input:performance"
679
  dut = "input:netlist"
680
 
 
685
  waveform = "waveform.raw"
686
 
687
  [task.evaluation.pre_layout.jobs.source_nominal.parameters.measurements]
 
 
 
 
 
 
 
 
688
  state_0 = "V"
689
  state_1 = "V"
690
  state_2 = "V"
 
695
  state_7 = "V"
696
  state_8 = "V"
697
  supply = "W"
698
+ delay_b_1 = "s"
699
+ transition_b_1 = "s"
700
+ delay_a_2 = "s"
701
  transition_a_2 = "s"
702
+ delay_b_3 = "s"
703
+ transition_b_3 = "s"
704
+ delay_a_4 = "s"
705
  transition_a_4 = "s"
706
+ delay_a_5 = "s"
707
  transition_a_5 = "s"
708
+ delay_b_6 = "s"
 
 
709
  transition_b_6 = "s"
710
+ delay_a_7 = "s"
711
+ transition_a_7 = "s"
712
+ delay_b_8 = "s"
713
  transition_b_8 = "s"
714
 
715
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
716
+ startup = "2ef8c1ce0b4d65b62053c99e75b2bad1d1158582c6ca6cfc19b1e255c84ecfbc"
717
+ deck = "067b446567c9c56779342c18febb1f572d50829e45ed4c6ae27a0413f077b55a"
718
  dut = "d887f609291cad55b09d6ed77c06e2a327923084dfd4ff356abf53ece7a18f37"
719
 
720
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_2]
721
+ value = 1.53764e-11
722
  unit = "s"
723
 
724
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_4]
725
+ value = 2.49621e-11
726
  unit = "s"
727
 
728
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_5]
729
+ value = 2.51128e-11
730
  unit = "s"
731
 
732
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_7]
733
+ value = 1.54415e-11
734
  unit = "s"
735
 
736
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_b_1]
 
738
  unit = "s"
739
 
740
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_b_3]
741
+ value = 1.69951e-11
742
  unit = "s"
743
 
744
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_b_6]
745
+ value = 1.62126e-11
746
  unit = "s"
747
 
748
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_b_8]
749
+ value = 2.68737e-11
750
  unit = "s"
751
 
752
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_0]
753
+ value = 2.40514e-05
754
  unit = "V"
755
 
756
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_1]
757
+ value = 0.999716
758
  unit = "V"
759
 
760
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_2]
761
+ value = 0.000191971
762
  unit = "V"
763
 
764
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_3]
765
+ value = 0.999405
766
  unit = "V"
767
 
768
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_4]
 
774
  unit = "V"
775
 
776
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_6]
777
+ value = 0.000194914
778
  unit = "V"
779
 
780
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_7]
781
+ value = 0.999835
782
  unit = "V"
783
 
784
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_8]
785
+ value = 0.000525847
786
  unit = "V"
787
 
788
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.supply]
 
790
  unit = "W"
791
 
792
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_2]
793
+ value = 1.76239e-11
794
  unit = "s"
795
 
796
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_4]
797
+ value = 1.47287e-11
798
  unit = "s"
799
 
800
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_5]
801
+ value = 2.09635e-11
802
  unit = "s"
803
 
804
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_7]
805
+ value = 1.88539e-11
806
  unit = "s"
807
 
808
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_b_1]
809
+ value = 1.90231e-11
810
  unit = "s"
811
 
812
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_b_3]
813
+ value = 2.07639e-11
814
  unit = "s"
815
 
816
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_b_6]
817
+ value = 1.76236e-11
818
  unit = "s"
819
 
820
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_b_8]
821
+ value = 1.46603e-11
822
  unit = "s"
823
 
 
 
 
824
  [toolchain.backends.artifact]
825
  type = "klayout-docker"
826
 
 
830
  timeout_seconds = 120
831
 
832
  [toolchain.backends.drc]
833
+ from_pdk = "drc"
 
 
 
 
 
 
 
 
 
 
834
 
835
  [toolchain.backends.lvs]
836
+ from_pdk = "lvs-standard-cell"
 
 
 
 
 
 
 
 
 
 
837
 
838
  [toolchain.backends.geometry]
839
  type = "klayout-geometry-docker"
 
846
  type = "magic-rc-docker"
847
 
848
  [toolchain.backends.rc.settings]
849
+ gds_ignore_layers = [
850
+ [
851
+ 6,
852
+ 0,
853
+ ],
854
+ [
855
+ 7,
856
+ 0,
857
+ ],
858
+ [
859
+ 8,
860
+ 0,
861
+ ],
862
+ [
863
+ 230,
864
+ 0,
865
+ ],
866
+ [
867
+ 239,
868
+ 0,
869
+ ],
870
+ ]
871
  image = "iclayout-eda-open:local"
872
+ support = "magic-vtl"
873
  technology = "freepdk45.tech"
874
  tech_name = "freepdk45"
875
  style = "spice3(sim)"
 
934
  threads = 1
935
  cpu_budget = 8
936
  image = "iclayout-eda-open:local"
937
+ support = "models"
938
  timeout_seconds = 120
939
 
940
  [toolchain.backends.ngspice.support_profiles]
tasks/freepdk45/nangate45-pdk/cases/XOR2_X1/materials/ngspice.spiceinit ADDED
@@ -0,0 +1 @@
 
 
1
+ set num_threads=1
tasks/freepdk45/nangate45-pdk/cases/XOR2_X1/materials/testbench.spice CHANGED
@@ -1,5 +1,8 @@
1
  * XOR2_X1: all input states and both transition directions
2
- .include /workspace/support/models.spice
 
 
 
3
  .include dut.spice
4
  .temp 27
5
  Vdd vdd 0 1
 
1
  * XOR2_X1: all input states and both transition directions
2
+ .include /workspace/support/tran_models/models_nom/NMOS_VTG.inc
3
+ .include /workspace/support/tran_models/models_nom/PMOS_VTG.inc
4
+ .include /workspace/support/tran_models/models_nom/NMOS_VTL.inc
5
+ .include /workspace/support/tran_models/models_nom/PMOS_VTL.inc
6
  .include dut.spice
7
  .temp 27
8
  Vdd vdd 0 1
tasks/freepdk45/nangate45-pdk/cases/XOR2_X1/problem.md CHANGED
@@ -18,7 +18,7 @@ Nominal FreePDK45 BSIM4, 1.0 V, 27 °C, Z load 5 fF. Nine 500 ps slots drive (A,
18
 
19
  ## Physical Requirements
20
 
21
- Submit nonempty `output/final.gds` with top cell `XOR2_X1`, at most 10 MiB. Pass FreePDK45 KLayout DRC and strict named-port LVS without waivers, checking body terminals, MOS models and W/L. Research rules do not constitute manufacturing signoff.
22
 
23
  The functional bounding-box width and height on drawing layers 1/0–29/0 must each be at most 100 µm. The standard-cell frame has fixed height 1.63 µm and width on a 0.01 µm grid. Relative to its lower-left corner, continuous metal1 VDD/VSS rails have centers at y=1.515/0.115 µm and connect to the corresponding ports; thickness is at least 0.07 µm, extending from x=0.115 µm to the right boundary minus 0.030 µm. Electrical labels lie on poly or metal drawing layers. Global translation, equivalent hierarchy, internal renaming and source/drain exchange are allowed if all physical and electrical checks pass.
24
 
@@ -55,6 +55,8 @@ Supply quality q_supply = (P_source + 1 pW)/(P_candidate + 1 pW), using the decl
55
 
56
  ## Tools and Submission
57
 
 
 
58
  Soft solve budget: **3 hours**.
59
 
60
  Read `/protocol/task.json` for input/output paths, constraints and the `resources` object; `/protocol/harness.json` describes the active check and submission interface.
 
18
 
19
  ## Physical Requirements
20
 
21
+ Submit nonempty `output/final.gds` with top cell `XOR2_X1`, at most 10 MiB. Pass FreePDK45 KLayout DRC and native upstream LVS, checking the circuit and its declared MOS geometry under the upstream well/supply and symmetric-pin conventions. Research rules do not constitute manufacturing signoff.
22
 
23
  The functional bounding-box width and height on drawing layers 1/0–29/0 must each be at most 100 µm. The standard-cell frame has fixed height 1.63 µm and width on a 0.01 µm grid. Relative to its lower-left corner, continuous metal1 VDD/VSS rails have centers at y=1.515/0.115 µm and connect to the corresponding ports; thickness is at least 0.07 µm, extending from x=0.115 µm to the right boundary minus 0.030 µm. Electrical labels lie on poly or metal drawing layers. Global translation, equivalent hierarchy, internal renaming and source/drain exchange are allowed if all physical and electrical checks pass.
24
 
 
55
 
56
  ## Tools and Submission
57
 
58
+ For Magic RC import, this task explicitly ignores GDS layers 6/0, 7/0, 8/0, 230/0 and 239/0 through native `cifinput` rules. Independent KLayout DRC/LVS still checks the original submitted layout.
59
+
60
  Soft solve budget: **3 hours**.
61
 
62
  Read `/protocol/task.json` for input/output paths, constraints and the `resources` object; `/protocol/harness.json` describes the active check and submission interface.
tasks/freepdk45/pdk.toml CHANGED
@@ -6,13 +6,6 @@ support_profiles = [
6
  "magic-vtg",
7
  "magic-vtl",
8
  ]
9
- checks = [
10
- [
11
- "python",
12
- "-c",
13
- "import pya; t=pya.Technology(); t.load('/resources/pdks/freepdk45/libs.tech/klayout/tech/freepdk45/freepdk45.lyt'); assert t.name; print('FreePDK45 technology loaded:', t.name)",
14
- ],
15
- ]
16
 
17
  [agent.sources.freepdk45]
18
  installation = true
@@ -35,7 +28,7 @@ KLAYOUT_PATH = "/resources/pdks/freepdk45/libs.tech/klayout"
35
 
36
  [source]
37
  repository = "https://github.com/rjordans/freepdk45-open-pdks.git"
38
- commit = "ab8b395503e5b6149f76549abfd375e7cbb156cc"
39
  license = "Component licenses in libs.tech/klayout/LICENSE and libs.tech/ngspice/APACHE-LICENSE-2.0.txt"
40
 
41
  [profiles.klayout.files."upstream/drc.lydrc"]
@@ -46,260 +39,13 @@ format = "text"
46
  path = "freepdk45/libs.tech/klayout/tech/freepdk45/lvs/lvs_freepdk45.lylvs"
47
  format = "text"
48
 
49
- [profiles.klayout.generated."freepdk45.drc"]
50
- content = """
51
- # ICLayout-Bench CLI adapter; original rules and switches are unchanged.
52
- $output = $report
53
- eval(RBA::Macro.new(\"/workspace/support/upstream/drc.lydrc\").text, binding)
54
- """
55
- format = "text"
56
-
57
- [profiles.klayout.generated."strict.lvs"]
58
- content = """
59
- # ICLayout-Bench strict candidate LVS; modified from the pinned BSD-3-Clause macro.
60
- # Preserve device extraction and physical connectivity. Require real body taps,
61
- # exact model/width/length and named ports; no cell-name shortcuts or pin swaps.
62
- code = RBA::Macro.new(\"/workspace/support/upstream/lvs.lylvs\").text
63
- # Promote geometry AND text labels through wrappers before reading DSL layers.
64
- # The immutable original candidate remains available to all other gates.
65
- flat_layout = RBA::Layout.new
66
- flat_layout.read($input)
67
- flat_layout.cell($topcell).flatten(true)
68
- flat_layout.write(\"/workspace/flat-candidate.gds\")
69
- code = code.sub(\"source($input)\", 'source(\"/workspace/flat-candidate.gds\", $topcell)')
70
- code = code.sub(\"report($report)\", \"report_lvs($report)\")
71
- # Flatten for candidate checks so an electrically empty wrapper cannot hide its child.
72
- code = code.sub(\"\\ndeep\\n\", \"\\n\")
73
- code = code.sub(/cheat\\([^
74
- ]+\\) \\{\\s*
75
- /, \"\")
76
- code = code.sub(\"\\n}\\n\\n# Define connectivity\", \"\\n# Define connectivity\")
77
- code = code.sub(/# Global.*?# Actually performs the extraction/m, \"schematic.simplify\\n# Actually performs the extraction\")
78
- code = code.sub(/# Tolerances for.*?max_branch_complexity/m, \"max_branch_complexity\")
79
- raise \"Unexpected upstream shortcut remains\" if code.match?(/connect_global|connect_explicit|connect_implicit|equivalent_pins|cheat\\(/)
80
- metal1 = nil
81
- eval(code, binding)
82
- """
83
  format = "text"
84
 
85
- [profiles.klayout.generated."drc.json"]
86
- content = """
87
- {
88
- \"deck\": \"freepdk45.drc\",
89
- \"variables\": {},
90
- \"scope\": \"All upstream DRC, antenna and off-grid checks; no waivers.\",
91
- \"required_categories\": [
92
- \"'WELL.1'\",
93
- \"'WELL.3'\",
94
- \"'WELL.4'\",
95
- \"'VT.1'\",
96
- \"'POLY.1'\",
97
- \"'POLY.3'\",
98
- \"'POLY.4'\",
99
- \"'POLY.5'\",
100
- \"'POLY.6'\",
101
- \"'ACTIVE.1'\",
102
- \"'ACTIVE.2'\",
103
- \"'ACTIVE.3'\",
104
- \"'ACTIVE.4'\",
105
- \"'IMPLANT.1'\",
106
- \"'IMPLANT.2'\",
107
- \"'IMPLANT.3'\",
108
- \"'IMPLANT.4'\",
109
- \"'IMPLANT.5'\",
110
- \"'CONTACT.1'\",
111
- \"'CONTACT.2'\",
112
- \"'CONTACT.3'\",
113
- \"'CONTACT.4'\",
114
- \"'CONTACT.5'\",
115
- \"'CONTACT.6'\",
116
- \"'METAL1.1'\",
117
- \"'METAL1.2'\",
118
- \"'METAL1.3'\",
119
- \"'METAL1.4'\",
120
- \"'METAL1.5'\",
121
- \"'METAL1.6'\",
122
- \"'METAL1.7'\",
123
- \"'METAL1.8'\",
124
- \"'METAL1.9'\",
125
- \"'VIA1.1'\",
126
- \"'VIA1.2'\",
127
- \"'VIA1.3'\",
128
- \"'VIA1.4'\",
129
- \"'METAL2.1'\",
130
- \"'METAL2.2'\",
131
- \"'METAL2.3'\",
132
- \"'METAL2.4'\",
133
- \"'METAL2.5'\",
134
- \"'METAL2.6'\",
135
- \"'METAL2.7'\",
136
- \"'METAL2.8'\",
137
- \"'METAL2.9'\",
138
- \"'VIA2.1'\",
139
- \"'VIA2.2'\",
140
- \"'VIA2.3'\",
141
- \"'VIA2.4'\",
142
- \"'METAL3.1'\",
143
- \"'METAL3.2'\",
144
- \"'METAL3.3'\",
145
- \"'METAL3.4'\",
146
- \"'METAL3.5'\",
147
- \"'METAL3.6'\",
148
- \"'METAL3.7'\",
149
- \"'METAL3.8'\",
150
- \"'METAL3.9'\",
151
- \"'VIA3.1'\",
152
- \"'VIA3.2'\",
153
- \"'VIA3.3'\",
154
- \"'VIA3.4'\",
155
- \"'METAL4.1'\",
156
- \"'METAL4.2'\",
157
- \"'METAL4.6'\",
158
- \"'METAL4.7'\",
159
- \"'METAL4.8'\",
160
- \"'VIA4.1'\",
161
- \"'VIA4.2'\",
162
- \"'VIA4.3'\",
163
- \"'VIA4.4'\",
164
- \"'METAL5.1'\",
165
- \"'METAL5.2'\",
166
- \"'METAL5.6'\",
167
- \"'METAL5.7'\",
168
- \"'METAL5.8'\",
169
- \"'VIA5.1'\",
170
- \"'VIA5.2'\",
171
- \"'VIA5.3'\",
172
- \"'VIA5.4'\",
173
- \"'METAL6.1'\",
174
- \"'METAL6.2'\",
175
- \"'METAL6.6'\",
176
- \"'METAL6.7'\",
177
- \"'METAL6.8'\",
178
- \"'VIA6.1'\",
179
- \"'VIA6.2'\",
180
- \"'VIA6.3'\",
181
- \"'VIA6.4'\",
182
- \"'METAL7.1'\",
183
- \"'METAL7.2'\",
184
- \"'METAL7.7'\",
185
- \"'METAL7.8'\",
186
- \"'METAL7.9'\",
187
- \"'VIA7.3'\",
188
- \"'VIA7.4'\",
189
- \"'METAL8.1'\",
190
- \"'METAL8.2'\",
191
- \"'METAL8.7'\",
192
- \"'METAL8.8'\",
193
- \"'METAL8.9'\",
194
- \"'VIA8.1'\",
195
- \"'VIA8.2'\",
196
- \"'VIA8.3'\",
197
- \"'VIA8.4'\",
198
- \"'METAL9.1'\",
199
- \"'METAL9.2'\",
200
- \"'METAL9.7'\",
201
- \"'METAL9.8'\",
202
- \"'METAL9.9'\",
203
- \"'VIA9.1'\",
204
- \"'VIA9.2'\",
205
- \"'VIA9.3'\",
206
- \"'VIA9.4'\",
207
- \"'METAL10.1'\",
208
- \"'METAL10.2'\",
209
- \"'METAL10.7'\",
210
- \"'METAL10.8'\",
211
- \"'METAL10.9'\",
212
- \"'GRID: vertexes on layer well not on grid of 0.0025'\",
213
- \"'GRID: vertexes on layer active not on grid of 0.0025'\",
214
- \"'GRID: vertexes on layer vtg not on grid of 0.0025'\",
215
- \"'GRID: vertexes on layer vth not on grid of 0.0025'\",
216
- \"'GRID: vertexes on layer pplus not on grid of 0.0025'\",
217
- \"'GRID: vertexes on layer nplus not on grid of 0.0025'\",
218
- \"'GRID: vertexes on layer poly not on grid of 0.0025'\",
219
- \"'GRID: vertexes on layer thkox not on grid of 0.0025'\",
220
- \"'GRID: vertexes on layer cont not on grid of 0.0025'\",
221
- \"'GRID: vertexes on layer metal1 not on grid of 0.0025'\",
222
- \"'GRID: vertexes on layer via1 not on grid of 0.0025'\",
223
- \"'GRID: vertexes on layer metal2 not on grid of 0.0025'\",
224
- \"'GRID: vertexes on layer via2 not on grid of 0.0025'\",
225
- \"'GRID: vertexes on layer metal3 not on grid of 0.0025'\",
226
- \"'GRID: vertexes on layer via3 not on grid of 0.0025'\",
227
- \"'GRID: vertexes on layer metal4 not on grid of 0.0025'\",
228
- \"'GRID: vertexes on layer via4 not on grid of 0.0025'\",
229
- \"'GRID: vertexes on layer metal5 not on grid of 0.0025'\",
230
- \"'GRID: vertexes on layer via5 not on grid of 0.0025'\",
231
- \"'GRID: vertexes on layer metal6 not on grid of 0.0025'\",
232
- \"'GRID: vertexes on layer via6 not on grid of 0.0025'\",
233
- \"'GRID: vertexes on layer metal7 not on grid of 0.0025'\",
234
- \"'GRID: vertexes on layer via7 not on grid of 0.0025'\",
235
- \"'GRID: vertexes on layer metal8 not on grid of 0.0025'\",
236
- \"'GRID: vertexes on layer via8 not on grid of 0.0025'\",
237
- \"'GRID: vertexes on layer metal9 not on grid of 0.0025'\",
238
- \"'GRID: vertexes on layer via9 not on grid of 0.0025'\",
239
- \"'GRID: vertexes on layer metal10 not on grid of 0.0025'\",
240
- \"METAL1_ANTENNA\",
241
- \"METAL2_ANTENNA\",
242
- \"METAL3_ANTENNA\",
243
- \"METAL4_ANTENNA\",
244
- \"METAL5_ANTENNA\",
245
- \"METAL6_ANTENNA\",
246
- \"METAL7_ANTENNA\",
247
- \"METAL8_ANTENNA\",
248
- \"METAL9_ANTENNA\",
249
- \"METAL10_ANTENNA\"
250
- ]
251
- }
252
- """
253
- format = "json"
254
-
255
- [profiles.klayout.generated."strict-lvs.json"]
256
- content = """
257
- {
258
- \"deck\": \"strict.lvs\",
259
- \"layer_names\": {\"metal1\": \"metal1\"},
260
- \"variables\": {},
261
- \"scope\": \"Physical well/tap connectivity, no global or implicit connections, no cell-name cheat blocks, exact MOS W/L, named ports.\"
262
- }
263
- """
264
- format = "json"
265
-
266
- [profiles.models]
267
- check = [
268
- "python",
269
- "/resources/pdk-check.py",
270
- "models",
271
- "NMOS_VTL",
272
- "models.spice",
273
- "--length",
274
- "50n",
275
- "--width",
276
- "200n",
277
- ]
278
-
279
- [profiles.models.files."NMOS_VTG.inc"]
280
- path = "freepdk45/libs.tech/ngspice/tran_models/models_nom/NMOS_VTG.inc"
281
- format = "text"
282
-
283
- [profiles.models.files."PMOS_VTG.inc"]
284
- path = "freepdk45/libs.tech/ngspice/tran_models/models_nom/PMOS_VTG.inc"
285
- format = "text"
286
-
287
- [profiles.models.files."NMOS_VTL.inc"]
288
- path = "freepdk45/libs.tech/ngspice/tran_models/models_nom/NMOS_VTL.inc"
289
- format = "text"
290
-
291
- [profiles.models.files."PMOS_VTL.inc"]
292
- path = "freepdk45/libs.tech/ngspice/tran_models/models_nom/PMOS_VTL.inc"
293
- format = "text"
294
-
295
- [profiles.models.generated."models.spice"]
296
- format = "spice"
297
- content = """
298
- .include /workspace/support/NMOS_VTG.inc
299
- .include /workspace/support/PMOS_VTG.inc
300
- .include /workspace/support/NMOS_VTL.inc
301
- .include /workspace/support/PMOS_VTL.inc
302
- """
303
 
304
  [profiles.magic-vtg.files."freepdk45.tech"]
305
  path = "freepdk45/libs.tech/magic/freepdk45.tech"
@@ -313,20 +59,6 @@ new = "device mosfet PMOS_VTG pfet pdiff,pdc nwell"
313
  old = "device msubcircuit nmos nfet *ndiff *ndiff psub,space/w error l=l w=w"
314
  new = "device mosfet NMOS_VTG nfet ndiff,ndc psub,space/w"
315
 
316
- [[profiles.magic-vtg.files."freepdk45.tech".replace]]
317
- old = " calma TEXT 63 63"
318
- new = """
319
- calma TEXT 63 63
320
- calma VTG 6 0
321
- calma VTH 7 0
322
- calma THKOX 8 0
323
- calma ANNOTATION 239 0
324
- calma BOUNDARY230 230 0"""
325
-
326
- [[profiles.magic-vtg.files."freepdk45.tech".replace]]
327
- old = " layer comment TEXT"
328
- new = " layer comment TEXT,VTG,VTH,THKOX,ANNOTATION,BOUNDARY230"
329
-
330
  [[profiles.magic-vtg.files."freepdk45.tech".replace]]
331
  old = " lambda 0.025"
332
  new = " lambda 2.5"
@@ -343,20 +75,213 @@ new = "device mosfet PMOS_VTL pfet pdiff,pdc nwell"
343
  old = "device msubcircuit nmos nfet *ndiff *ndiff psub,space/w error l=l w=w"
344
  new = "device mosfet NMOS_VTL nfet ndiff,ndc psub,space/w"
345
 
346
- [[profiles.magic-vtl.files."freepdk45.tech".replace]]
347
- old = " calma TEXT 63 63"
348
- new = """
349
- calma TEXT 63 63
350
- calma VTG 6 0
351
- calma VTH 7 0
352
- calma THKOX 8 0
353
- calma ANNOTATION 239 0
354
- calma BOUNDARY230 230 0"""
355
-
356
- [[profiles.magic-vtl.files."freepdk45.tech".replace]]
357
- old = " layer comment TEXT"
358
- new = " layer comment TEXT,VTG,VTH,THKOX,ANNOTATION,BOUNDARY230"
359
-
360
  [[profiles.magic-vtl.files."freepdk45.tech".replace]]
361
  old = " lambda 0.025"
362
  new = " lambda 2.5"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "magic-vtg",
7
  "magic-vtl",
8
  ]
 
 
 
 
 
 
 
9
 
10
  [agent.sources.freepdk45]
11
  installation = true
 
28
 
29
  [source]
30
  repository = "https://github.com/rjordans/freepdk45-open-pdks.git"
31
+ commit = "784b1a483a5f4de362d6f3629378de1199453f3c"
32
  license = "Component licenses in libs.tech/klayout/LICENSE and libs.tech/ngspice/APACHE-LICENSE-2.0.txt"
33
 
34
  [profiles.klayout.files."upstream/drc.lydrc"]
 
39
  path = "freepdk45/libs.tech/klayout/tech/freepdk45/lvs/lvs_freepdk45.lylvs"
40
  format = "text"
41
 
42
+ [profiles.klayout.files."LICENSE.klayout"]
43
+ path = "freepdk45/libs.tech/klayout/LICENSE"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  format = "text"
45
 
46
+ [profiles.models.files.tran_models]
47
+ path = "freepdk45/libs.tech/ngspice/tran_models"
48
+ format = "directory"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
 
50
  [profiles.magic-vtg.files."freepdk45.tech"]
51
  path = "freepdk45/libs.tech/magic/freepdk45.tech"
 
59
  old = "device msubcircuit nmos nfet *ndiff *ndiff psub,space/w error l=l w=w"
60
  new = "device mosfet NMOS_VTG nfet ndiff,ndc psub,space/w"
61
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  [[profiles.magic-vtg.files."freepdk45.tech".replace]]
63
  old = " lambda 0.025"
64
  new = " lambda 2.5"
 
75
  old = "device msubcircuit nmos nfet *ndiff *ndiff psub,space/w error l=l w=w"
76
  new = "device mosfet NMOS_VTL nfet ndiff,ndc psub,space/w"
77
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  [[profiles.magic-vtl.files."freepdk45.tech".replace]]
79
  old = " lambda 0.025"
80
  new = " lambda 2.5"
81
+
82
+ [backends.drc]
83
+ type = "klayout-docker"
84
+
85
+ [backends.drc.settings]
86
+ image = "iclayout-eda-open:local"
87
+ timeout_seconds = 120
88
+ check = "drc"
89
+ support = "klayout"
90
+ deck = "upstream/drc.lydrc"
91
+ required_categories = [
92
+ "'WELL.1'",
93
+ "'WELL.3'",
94
+ "'WELL.4'",
95
+ "'VT.1'",
96
+ "'POLY.1'",
97
+ "'POLY.3'",
98
+ "'POLY.4'",
99
+ "'POLY.5'",
100
+ "'POLY.6'",
101
+ "'ACTIVE.1'",
102
+ "'ACTIVE.2'",
103
+ "'ACTIVE.3'",
104
+ "'ACTIVE.4'",
105
+ "'IMPLANT.1'",
106
+ "'IMPLANT.2'",
107
+ "'IMPLANT.3'",
108
+ "'IMPLANT.4'",
109
+ "'IMPLANT.5'",
110
+ "'CONTACT.1'",
111
+ "'CONTACT.2'",
112
+ "'CONTACT.3'",
113
+ "'CONTACT.4'",
114
+ "'CONTACT.5'",
115
+ "'CONTACT.6'",
116
+ "'METAL1.1'",
117
+ "'METAL1.2'",
118
+ "'METAL1.3'",
119
+ "'METAL1.4'",
120
+ "'METAL1.5'",
121
+ "'METAL1.6'",
122
+ "'METAL1.7'",
123
+ "'METAL1.8'",
124
+ "'METAL1.9'",
125
+ "'VIA1.1'",
126
+ "'VIA1.2'",
127
+ "'VIA1.3'",
128
+ "'VIA1.4'",
129
+ "'METAL2.1'",
130
+ "'METAL2.2'",
131
+ "'METAL2.3'",
132
+ "'METAL2.4'",
133
+ "'METAL2.5'",
134
+ "'METAL2.6'",
135
+ "'METAL2.7'",
136
+ "'METAL2.8'",
137
+ "'METAL2.9'",
138
+ "'VIA2.1'",
139
+ "'VIA2.2'",
140
+ "'VIA2.3'",
141
+ "'VIA2.4'",
142
+ "'METAL3.1'",
143
+ "'METAL3.2'",
144
+ "'METAL3.3'",
145
+ "'METAL3.4'",
146
+ "'METAL3.5'",
147
+ "'METAL3.6'",
148
+ "'METAL3.7'",
149
+ "'METAL3.8'",
150
+ "'METAL3.9'",
151
+ "'VIA3.1'",
152
+ "'VIA3.2'",
153
+ "'VIA3.3'",
154
+ "'VIA3.4'",
155
+ "'METAL4.1'",
156
+ "'METAL4.2'",
157
+ "'METAL4.6'",
158
+ "'METAL4.7'",
159
+ "'METAL4.8'",
160
+ "'VIA4.1'",
161
+ "'VIA4.2'",
162
+ "'VIA4.3'",
163
+ "'VIA4.4'",
164
+ "'METAL5.1'",
165
+ "'METAL5.2'",
166
+ "'METAL5.6'",
167
+ "'METAL5.7'",
168
+ "'METAL5.8'",
169
+ "'VIA5.1'",
170
+ "'VIA5.2'",
171
+ "'VIA5.3'",
172
+ "'VIA5.4'",
173
+ "'METAL6.1'",
174
+ "'METAL6.2'",
175
+ "'METAL6.6'",
176
+ "'METAL6.7'",
177
+ "'METAL6.8'",
178
+ "'VIA6.1'",
179
+ "'VIA6.2'",
180
+ "'VIA6.3'",
181
+ "'VIA6.4'",
182
+ "'METAL7.1'",
183
+ "'METAL7.2'",
184
+ "'METAL7.7'",
185
+ "'METAL7.8'",
186
+ "'METAL7.9'",
187
+ "'VIA7.3'",
188
+ "'VIA7.4'",
189
+ "'METAL8.1'",
190
+ "'METAL8.2'",
191
+ "'METAL8.7'",
192
+ "'METAL8.8'",
193
+ "'METAL8.9'",
194
+ "'VIA8.1'",
195
+ "'VIA8.2'",
196
+ "'VIA8.3'",
197
+ "'VIA8.4'",
198
+ "'METAL9.1'",
199
+ "'METAL9.2'",
200
+ "'METAL9.7'",
201
+ "'METAL9.8'",
202
+ "'METAL9.9'",
203
+ "'VIA9.1'",
204
+ "'VIA9.2'",
205
+ "'VIA9.3'",
206
+ "'VIA9.4'",
207
+ "'METAL10.1'",
208
+ "'METAL10.2'",
209
+ "'METAL10.7'",
210
+ "'METAL10.8'",
211
+ "'METAL10.9'",
212
+ "'GRID: vertexes on layer well not on grid of 0.0025'",
213
+ "'GRID: vertexes on layer active not on grid of 0.0025'",
214
+ "'GRID: vertexes on layer vtg not on grid of 0.0025'",
215
+ "'GRID: vertexes on layer vth not on grid of 0.0025'",
216
+ "'GRID: vertexes on layer pplus not on grid of 0.0025'",
217
+ "'GRID: vertexes on layer nplus not on grid of 0.0025'",
218
+ "'GRID: vertexes on layer poly not on grid of 0.0025'",
219
+ "'GRID: vertexes on layer thkox not on grid of 0.0025'",
220
+ "'GRID: vertexes on layer cont not on grid of 0.0025'",
221
+ "'GRID: vertexes on layer metal1 not on grid of 0.0025'",
222
+ "'GRID: vertexes on layer via1 not on grid of 0.0025'",
223
+ "'GRID: vertexes on layer metal2 not on grid of 0.0025'",
224
+ "'GRID: vertexes on layer via2 not on grid of 0.0025'",
225
+ "'GRID: vertexes on layer metal3 not on grid of 0.0025'",
226
+ "'GRID: vertexes on layer via3 not on grid of 0.0025'",
227
+ "'GRID: vertexes on layer metal4 not on grid of 0.0025'",
228
+ "'GRID: vertexes on layer via4 not on grid of 0.0025'",
229
+ "'GRID: vertexes on layer metal5 not on grid of 0.0025'",
230
+ "'GRID: vertexes on layer via5 not on grid of 0.0025'",
231
+ "'GRID: vertexes on layer metal6 not on grid of 0.0025'",
232
+ "'GRID: vertexes on layer via6 not on grid of 0.0025'",
233
+ "'GRID: vertexes on layer metal7 not on grid of 0.0025'",
234
+ "'GRID: vertexes on layer via7 not on grid of 0.0025'",
235
+ "'GRID: vertexes on layer metal8 not on grid of 0.0025'",
236
+ "'GRID: vertexes on layer via8 not on grid of 0.0025'",
237
+ "'GRID: vertexes on layer metal9 not on grid of 0.0025'",
238
+ "'GRID: vertexes on layer via9 not on grid of 0.0025'",
239
+ "'GRID: vertexes on layer metal10 not on grid of 0.0025'",
240
+ "METAL1_ANTENNA",
241
+ "METAL2_ANTENNA",
242
+ "METAL3_ANTENNA",
243
+ "METAL4_ANTENNA",
244
+ "METAL5_ANTENNA",
245
+ "METAL6_ANTENNA",
246
+ "METAL7_ANTENNA",
247
+ "METAL8_ANTENNA",
248
+ "METAL9_ANTENNA",
249
+ "METAL10_ANTENNA",
250
+ ]
251
+
252
+ [backends.drc.support_profiles]
253
+ support = "klayout"
254
+
255
+ [backends.lvs]
256
+ type = "klayout-docker"
257
+ support_profiles = { support = "klayout" }
258
+
259
+ [backends.lvs.settings]
260
+ image = "iclayout-eda-open:local"
261
+ check = "lvs"
262
+ support = "klayout"
263
+ deck = "upstream/lvs.lylvs"
264
+ default_report = "lvs_report.lvsdb"
265
+ flatten = true
266
+ timeout_seconds = 120
267
+
268
+ [backends.lvs.settings.layer_names]
269
+ metal1 = "metal1"
270
+
271
+ # Standard cells retain upstream pin correspondence; full truth-table jobs check the public interface.
272
+ [backends.lvs-standard-cell]
273
+ type = "klayout-docker"
274
+ support_profiles = { support = "klayout" }
275
+
276
+ [backends.lvs-standard-cell.settings]
277
+ image = "iclayout-eda-open:local"
278
+ check = "lvs"
279
+ support = "klayout"
280
+ deck = "upstream/lvs.lylvs"
281
+ default_report = "lvs_report.lvsdb"
282
+ flatten = true
283
+ port_matching = "native"
284
+ timeout_seconds = 120
285
+
286
+ [backends.lvs-standard-cell.settings.layer_names]
287
+ metal1 = "metal1"
tasks/gf180mcuD/2AMLogic-sar-adc/cases/track_switch/case.toml CHANGED
@@ -14,7 +14,7 @@ environment = "gf180mcuD-typical-rc"
14
  [task.inputs.description]
15
  path = "problem.md"
16
  format = "text"
17
- sha256 = "703541c360223bcdaff241bef281b33d415a8ed7421736b14b9236a77b4c7314"
18
 
19
  [task.inputs.netlist]
20
  path = "materials/circuit.spice"
@@ -25,7 +25,12 @@ sha256 = "24b64a7a410681352d4ec80b0fead64d6c1987ebd375acde58af33e7832f30dd"
25
  [task.inputs.performance]
26
  path = "materials/testbench.spice"
27
  format = "spice"
28
- sha256 = "ad748835c3a68309c67be491407423eb588e0abce86bb2ee42d8e8a961a4655a"
 
 
 
 
 
29
 
30
  [task.output]
31
  path = "output/final.gds"
@@ -466,10 +471,6 @@ layout = "candidate"
466
  task = "task"
467
  netlist = "input:netlist"
468
 
469
- [task.evaluation.jobs.outputs]
470
- database = "klayout-lvs"
471
- binding = "json"
472
-
473
  [[task.evaluation.jobs]]
474
  id = "geometry"
475
  stage = "check"
@@ -485,8 +486,6 @@ requires = [
485
  layout = "candidate"
486
  task = "task"
487
  constraints = "input:constraints"
488
- database = "job:lvs:database"
489
- binding = "job:lvs:binding"
490
 
491
  [[task.evaluation.jobs]]
492
  id = "parasitics"
@@ -524,6 +523,7 @@ operation = "circuit.simulate"
524
  [task.evaluation.jobs.inputs]
525
  deck = "input:performance"
526
  dut = "job:parasitics:netlist"
 
527
 
528
  [task.evaluation.jobs.outputs]
529
  waveform = "ngspice-raw"
@@ -634,10 +634,10 @@ settling = 0.39375
634
  hold = 0.50625
635
 
636
  [task.evaluation.pre_layout]
637
- source_report_sha256 = "d38949d780a8d83fa8864c0b34b9ce14919c4c3c2b1ff17aa8e0d4510a99eeda"
638
 
639
  [task.evaluation.pre_layout.backends]
640
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"dfbdf2f93297bbe7d8b576fb988504bd0ecf85b93ef47c314a0f2c9c8830c3e7\", \"compatibility\": null, \"cpu_budget\": 8, \"execution_sha256\": \"495aa9623759f70228a236eb4825c2ae443ef6a741816d8cfc17d1830841dcef\", \"image_id\": \"sha256:060fee64f9f6e71a647e5e958b788d723c9d51d2928ff93e6a295db1959bc37f\", \"limits\": {\"cpus\": 8, \"memory_mb\": 4096, \"pids\": 256}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"4c7a26df97245613922e47bdae060a40d6cb59f9c243e22d8964f97209f47011\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 240.0, \"tool_version\": \"******\\n** ngspice-45 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2025, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Thu Sep 17 13:42:47 UTC 2026\\n******\"}"
641
 
642
  [task.evaluation.pre_layout.jobs.source_nominal]
643
  operation = "circuit.simulate"
@@ -645,6 +645,7 @@ operation = "circuit.simulate"
645
  [task.evaluation.pre_layout.jobs.source_nominal.inputs]
646
  deck = "input:performance"
647
  dut = "input:netlist"
 
648
 
649
  [task.evaluation.pre_layout.jobs.source_nominal.outputs]
650
  waveform = "ngspice-raw"
@@ -662,15 +663,16 @@ settle_s = "s"
662
  waveform = "waveform.raw"
663
 
664
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
665
- deck = "ad748835c3a68309c67be491407423eb588e0abce86bb2ee42d8e8a961a4655a"
666
  dut = "24b64a7a410681352d4ec80b0fead64d6c1987ebd375acde58af33e7832f30dd"
 
667
 
668
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.hold_error_v]
669
- value = 0.003106877
670
  unit = "V"
671
 
672
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.settle_s]
673
- value = 4.361648e-10
674
  unit = "s"
675
 
676
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.track_again]
@@ -685,9 +687,6 @@ unit = "V"
685
  value = 0.5
686
  unit = "V"
687
 
688
- [task.evaluation.pre_layout.jobs.source_nominal.output_sha256]
689
- waveform = "6a9aec2128cbf097b8c3816630b7608320c693600c304877b937b7c2b01a8c0a"
690
-
691
  [toolchain.backends.artifact]
692
  type = "klayout-docker"
693
 
@@ -697,30 +696,24 @@ check = "artifact"
697
  timeout_seconds = 180
698
 
699
  [toolchain.backends.drc]
700
- type = "klayout-docker"
701
-
702
- [toolchain.backends.drc.settings]
703
- image = "iclayout-eda-open:local"
704
- check = "drc"
705
- timeout_seconds = 180
706
- support = "build/support/gf180-physical"
707
- profile = "drc.json"
708
-
709
- [toolchain.backends.drc.support_profiles]
710
- support = "physical"
711
 
712
  [toolchain.backends.lvs]
713
- type = "klayout-docker"
714
 
715
  [toolchain.backends.lvs.settings]
716
  image = "iclayout-eda-open:local"
717
  check = "lvs"
 
 
 
 
 
 
718
  timeout_seconds = 180
719
- support = "build/support/gf180-physical"
720
- profile = "lvs.json"
721
 
722
  [toolchain.backends.lvs.support_profiles]
723
- support = "physical"
724
 
725
  [toolchain.backends.geometry]
726
  type = "klayout-geometry-docker"
@@ -734,7 +727,7 @@ type = "magic-rc-docker"
734
 
735
  [toolchain.backends.rc.settings]
736
  image = "iclayout-eda-open:local"
737
- support = "build/support/gf180-magic"
738
  technology = "gf180mcuD.tech"
739
  tech_name = "gf180mcuD"
740
  style = "ngspice()"
@@ -754,7 +747,7 @@ max_parallel_jobs = 8
754
  threads = 1
755
  cpu_budget = 8
756
  image = "iclayout-eda-open:local"
757
- support = "build/support/gf180-models"
758
  timeout_seconds = 240
759
 
760
  [toolchain.backends.ngspice.support_profiles]
 
14
  [task.inputs.description]
15
  path = "problem.md"
16
  format = "text"
17
+ sha256 = "b9b9a897a130355f4db73d2b7450166e5a6279a2a51343bed897c1c3bd1a1139"
18
 
19
  [task.inputs.netlist]
20
  path = "materials/circuit.spice"
 
25
  [task.inputs.performance]
26
  path = "materials/testbench.spice"
27
  format = "spice"
28
+ sha256 = "5c3b694ddb37a78754b959db89bf22b9e8001b2c019b8a19de30be264d27cbaf"
29
+
30
+ [task.inputs.ngspice_startup]
31
+ path = "materials/ngspice.spiceinit"
32
+ format = "text"
33
+ sha256 = "b6f64e3d8212d75c099e8571264bc5ee242d1418ebbb227992496b8ebfcb5426"
34
 
35
  [task.output]
36
  path = "output/final.gds"
 
471
  task = "task"
472
  netlist = "input:netlist"
473
 
 
 
 
 
474
  [[task.evaluation.jobs]]
475
  id = "geometry"
476
  stage = "check"
 
486
  layout = "candidate"
487
  task = "task"
488
  constraints = "input:constraints"
 
 
489
 
490
  [[task.evaluation.jobs]]
491
  id = "parasitics"
 
523
  [task.evaluation.jobs.inputs]
524
  deck = "input:performance"
525
  dut = "job:parasitics:netlist"
526
+ startup = "input:ngspice_startup"
527
 
528
  [task.evaluation.jobs.outputs]
529
  waveform = "ngspice-raw"
 
634
  hold = 0.50625
635
 
636
  [task.evaluation.pre_layout]
637
+ source_report_sha256 = "cd4ae8c2ef2f01efd1b0570eaaab29b10b8115c41bc38d21aaa0fb44547d2d74"
638
 
639
  [task.evaluation.pre_layout.backends]
640
+ "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"b31d9cd1eefc0739b5ca5d9de5b495674b1f0581e8bc61db6a8b372897a0ec20\", \"compatibility\": null, \"cpu_budget\": 8, \"executable_workspace\": false, \"execution_sha256\": \"7f6228054295b3b6f8c13b457ac41ed7e6fb868cff93c76b928402aab17ed48e\", \"image_id\": \"sha256:a280e1c61fcf6e950f3585fedd83fabcfaa4e295a5c8f58e4543d2e7d5a6c207\", \"limits\": {\"cpus\": null, \"memory_mb\": null, \"pids\": null}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"retry_policy\": {\"backoff_seconds\": 1, \"max_attempts\": 3, \"max_backoff_seconds\": 2}, \"support_sha256\": \"5b361b3e8684b3a61542739c5866c90dcf133887d318e436e424c047f18c8928\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 240.0, \"tool_version\": \"******\\n** ngspice-47 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2026, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Fri Nov 13 02:32:42 UTC 2026\\n******\"}"
641
 
642
  [task.evaluation.pre_layout.jobs.source_nominal]
643
  operation = "circuit.simulate"
 
645
  [task.evaluation.pre_layout.jobs.source_nominal.inputs]
646
  deck = "input:performance"
647
  dut = "input:netlist"
648
+ startup = "input:ngspice_startup"
649
 
650
  [task.evaluation.pre_layout.jobs.source_nominal.outputs]
651
  waveform = "ngspice-raw"
 
663
  waveform = "waveform.raw"
664
 
665
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
666
+ deck = "5c3b694ddb37a78754b959db89bf22b9e8001b2c019b8a19de30be264d27cbaf"
667
  dut = "24b64a7a410681352d4ec80b0fead64d6c1987ebd375acde58af33e7832f30dd"
668
+ startup = "b6f64e3d8212d75c099e8571264bc5ee242d1418ebbb227992496b8ebfcb5426"
669
 
670
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.hold_error_v]
671
+ value = 0.00310688
672
  unit = "V"
673
 
674
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.settle_s]
675
+ value = 4.36165e-10
676
  unit = "s"
677
 
678
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.track_again]
 
687
  value = 0.5
688
  unit = "V"
689
 
 
 
 
690
  [toolchain.backends.artifact]
691
  type = "klayout-docker"
692
 
 
696
  timeout_seconds = 180
697
 
698
  [toolchain.backends.drc]
699
+ from_pdk = "drc"
 
 
 
 
 
 
 
 
 
 
700
 
701
  [toolchain.backends.lvs]
702
+ type = "magic-physical-docker"
703
 
704
  [toolchain.backends.lvs.settings]
705
  image = "iclayout-eda-open:local"
706
  check = "lvs"
707
+ support = "magic"
708
+ technology = "gf180mcuD.tech"
709
+ tech_name = "gf180mcuD"
710
+ style = "ngspice()"
711
+ setup = "gf180mcuD_setup.tcl"
712
+ grid_subdivision = 10
713
  timeout_seconds = 180
 
 
714
 
715
  [toolchain.backends.lvs.support_profiles]
716
+ support = "magic"
717
 
718
  [toolchain.backends.geometry]
719
  type = "klayout-geometry-docker"
 
727
 
728
  [toolchain.backends.rc.settings]
729
  image = "iclayout-eda-open:local"
730
+ support = "magic"
731
  technology = "gf180mcuD.tech"
732
  tech_name = "gf180mcuD"
733
  style = "ngspice()"
 
747
  threads = 1
748
  cpu_budget = 8
749
  image = "iclayout-eda-open:local"
750
+ support = "models"
751
  timeout_seconds = 240
752
 
753
  [toolchain.backends.ngspice.support_profiles]
tasks/gf180mcuD/2AMLogic-sar-adc/cases/track_switch/materials/ngspice.spiceinit ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ set ngbehavior=hsa
2
+ set num_threads=1
3
+ set sourcepath=( . /workspace/support )
tasks/gf180mcuD/2AMLogic-sar-adc/cases/track_switch/materials/testbench.spice CHANGED
@@ -1,5 +1,10 @@
1
  * GF180MCU nominal characterization: 3.3 V, 27 C, typical models.
2
- .include "support/models.spice"
 
 
 
 
 
3
  .include "dut.spice"
4
  .include "parameters.spice"
5
  .temp 27
 
1
  * GF180MCU nominal characterization: 3.3 V, 27 C, typical models.
2
+ .include "support/design.spice"
3
+ .lib "support/sm141064.spice" typical
4
+ .lib "support/sm141064.spice" res_typical
5
+ .lib "support/sm141064.spice" bjt_typical
6
+ .lib "support/sm141064.spice" mimcap_typical
7
+ .param sw_stat_global=0 sw_stat_mismatch=0
8
  .include "dut.spice"
9
  .include "parameters.spice"
10
  .temp 27
tasks/gf180mcuD/2AMLogic-sar-adc/cases/track_switch/problem.md CHANGED
@@ -16,6 +16,8 @@ Ordered subcircuit and GDS interface: `vin, vout, clk, clkb, vdd, vss`, respecti
16
 
17
  Preserve topology, total device widths, channel lengths, multiplicities, resistor dimensions and body connections. Equivalent hierarchy, diffusion sharing and parallel fingers are allowed when connectivity and electrical checks pass; preserve source models and dimensions without idealizing internal devices. Retain dummy devices even when all their terminals are shorted.
18
 
 
 
19
  ## Operating Conditions
20
 
21
  3.3 V, 27 C, vout-to-vss load 1 pF. Vin is initially 0.5 V, rises at 5.1 ns to 2.5 V, falls at 30.1 ns to 0.5 V and rises again at 55.1 ns to 2.5 V. Initially track (clk=3.3 V, clkb=0 V); hold over 20.1–45 ns, resume tracking at 45.1 ns. All edges are 0.1 ns; simulate to 70 ns with requested step 0.01 ns. The four MOS widths remain the upstream defaults 40, 80, 17.5, 35 um, all with length 0.28 um; vss explicitly represents the original global ground.
 
16
 
17
  Preserve topology, total device widths, channel lengths, multiplicities, resistor dimensions and body connections. Equivalent hierarchy, diffusion sharing and parallel fingers are allowed when connectivity and electrical checks pass; preserve source models and dimensions without idealizing internal devices. Retain dummy devices even when all their terminals are shorted.
18
 
19
+ The supplied `materials/ngspice.spiceinit` declares this case's simulator startup conditions; model sections and statistical switches are specified by its SPICE testbenches.
20
+
21
  ## Operating Conditions
22
 
23
  3.3 V, 27 C, vout-to-vss load 1 pF. Vin is initially 0.5 V, rises at 5.1 ns to 2.5 V, falls at 30.1 ns to 0.5 V and rises again at 55.1 ns to 2.5 V. Initially track (clk=3.3 V, clkb=0 V); hold over 20.1–45 ns, resume tracking at 45.1 ns. All edges are 0.1 ns; simulate to 70 ns with requested step 0.01 ns. The four MOS widths remain the upstream defaults 40, 80, 17.5, 35 um, all with length 0.28 um; vss explicitly represents the original global ground.
tasks/gf180mcuD/Chipathon2023_ADC/cases/comparator/case.toml CHANGED
@@ -14,7 +14,7 @@ environment = "gf180mcuD-typical-rc"
14
  [task.inputs.description]
15
  path = "problem.md"
16
  format = "text"
17
- sha256 = "94aaef16e9e025b3b6959b67c9b4d394ea41b87a3af02eae3d9967213dddd30e"
18
 
19
  [task.inputs.netlist]
20
  path = "materials/circuit.spice"
@@ -25,7 +25,12 @@ sha256 = "0f529f8162a367b1408730f5dee3b06847de139a770fc41be1bd38e92c056e3d"
25
  [task.inputs.performance]
26
  path = "materials/testbench.spice"
27
  format = "spice"
28
- sha256 = "46c2009213220ef88f5d8fc01143adacbd4674b40f09696a4271723abd44cecb"
 
 
 
 
 
29
 
30
  [task.output]
31
  path = "output/final.gds"
@@ -466,10 +471,6 @@ layout = "candidate"
466
  task = "task"
467
  netlist = "input:netlist"
468
 
469
- [task.evaluation.jobs.outputs]
470
- database = "klayout-lvs"
471
- binding = "json"
472
-
473
  [[task.evaluation.jobs]]
474
  id = "geometry"
475
  stage = "check"
@@ -485,8 +486,6 @@ requires = [
485
  layout = "candidate"
486
  task = "task"
487
  constraints = "input:constraints"
488
- database = "job:lvs:database"
489
- binding = "job:lvs:binding"
490
 
491
  [[task.evaluation.jobs]]
492
  id = "parasitics"
@@ -525,6 +524,7 @@ operation = "circuit.simulate"
525
  [task.evaluation.jobs.inputs]
526
  deck = "input:performance"
527
  dut = "job:parasitics:netlist"
 
528
 
529
  [task.evaluation.jobs.outputs]
530
  waveform = "ngspice-raw"
@@ -548,6 +548,7 @@ operation = "circuit.simulate"
548
  [task.evaluation.jobs.inputs]
549
  deck = "input:performance"
550
  dut = "job:parasitics:netlist"
 
551
 
552
  [task.evaluation.jobs.outputs]
553
  waveform = "ngspice-raw"
@@ -643,10 +644,10 @@ delay = 0.710526315789
643
  supply = 0.189473684211
644
 
645
  [task.evaluation.pre_layout]
646
- source_report_sha256 = "87a7f5052c5aa330f1c22de94da5942f1798512cbd8f39c8e65f92e76dc57323"
647
 
648
  [task.evaluation.pre_layout.backends]
649
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"dfbdf2f93297bbe7d8b576fb988504bd0ecf85b93ef47c314a0f2c9c8830c3e7\", \"compatibility\": null, \"cpu_budget\": 8, \"execution_sha256\": \"495aa9623759f70228a236eb4825c2ae443ef6a741816d8cfc17d1830841dcef\", \"image_id\": \"sha256:060fee64f9f6e71a647e5e958b788d723c9d51d2928ff93e6a295db1959bc37f\", \"limits\": {\"cpus\": 8, \"memory_mb\": 4096, \"pids\": 256}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"4c7a26df97245613922e47bdae060a40d6cb59f9c243e22d8964f97209f47011\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 240.0, \"tool_version\": \"******\\n** ngspice-45 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2025, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Thu Sep 17 13:42:47 UTC 2026\\n******\"}"
650
 
651
  [task.evaluation.pre_layout.jobs.source_negative]
652
  operation = "circuit.simulate"
@@ -654,6 +655,7 @@ operation = "circuit.simulate"
654
  [task.evaluation.pre_layout.jobs.source_negative.inputs]
655
  deck = "input:performance"
656
  dut = "input:netlist"
 
657
 
658
  [task.evaluation.pre_layout.jobs.source_negative.outputs]
659
  waveform = "ngspice-raw"
@@ -670,30 +672,29 @@ polarity = -1
670
  waveform = "waveform.raw"
671
 
672
  [task.evaluation.pre_layout.jobs.source_negative.input_sha256]
673
- deck = "46c2009213220ef88f5d8fc01143adacbd4674b40f09696a4271723abd44cecb"
674
  dut = "0f529f8162a367b1408730f5dee3b06847de139a770fc41be1bd38e92c056e3d"
 
675
 
676
  [task.evaluation.pre_layout.jobs.source_negative.measurements.decision_v]
677
- value = 3.299999
678
  unit = "V"
679
 
680
  [task.evaluation.pre_layout.jobs.source_negative.measurements.delay_s]
681
- value = 1.228056e-09
682
  unit = "s"
683
 
684
  [task.evaluation.pre_layout.jobs.source_negative.measurements.power_w]
685
- value = 9.475911e-05
686
  unit = "W"
687
 
688
- [task.evaluation.pre_layout.jobs.source_negative.output_sha256]
689
- waveform = "cfbe57852a7a0321f91cc2a3e54b6265157386d1c0c50c29f4e6cc9605539382"
690
-
691
  [task.evaluation.pre_layout.jobs.source_positive]
692
  operation = "circuit.simulate"
693
 
694
  [task.evaluation.pre_layout.jobs.source_positive.inputs]
695
  deck = "input:performance"
696
  dut = "input:netlist"
 
697
 
698
  [task.evaluation.pre_layout.jobs.source_positive.outputs]
699
  waveform = "ngspice-raw"
@@ -710,24 +711,22 @@ polarity = 1
710
  waveform = "waveform.raw"
711
 
712
  [task.evaluation.pre_layout.jobs.source_positive.input_sha256]
713
- deck = "46c2009213220ef88f5d8fc01143adacbd4674b40f09696a4271723abd44cecb"
714
  dut = "0f529f8162a367b1408730f5dee3b06847de139a770fc41be1bd38e92c056e3d"
 
715
 
716
  [task.evaluation.pre_layout.jobs.source_positive.measurements.decision_v]
717
- value = 3.299999
718
  unit = "V"
719
 
720
  [task.evaluation.pre_layout.jobs.source_positive.measurements.delay_s]
721
- value = 1.228056e-09
722
  unit = "s"
723
 
724
  [task.evaluation.pre_layout.jobs.source_positive.measurements.power_w]
725
- value = 9.475911e-05
726
  unit = "W"
727
 
728
- [task.evaluation.pre_layout.jobs.source_positive.output_sha256]
729
- waveform = "2b31036953b8843962c486ab4db7dd525d55263122f0d885c66a385b79d6fdfa"
730
-
731
  [toolchain.backends.artifact]
732
  type = "klayout-docker"
733
 
@@ -737,30 +736,24 @@ check = "artifact"
737
  timeout_seconds = 180
738
 
739
  [toolchain.backends.drc]
740
- type = "klayout-docker"
741
-
742
- [toolchain.backends.drc.settings]
743
- image = "iclayout-eda-open:local"
744
- check = "drc"
745
- timeout_seconds = 180
746
- support = "build/support/gf180-physical"
747
- profile = "drc.json"
748
-
749
- [toolchain.backends.drc.support_profiles]
750
- support = "physical"
751
 
752
  [toolchain.backends.lvs]
753
- type = "klayout-docker"
754
 
755
  [toolchain.backends.lvs.settings]
756
  image = "iclayout-eda-open:local"
757
  check = "lvs"
 
 
 
 
 
 
758
  timeout_seconds = 180
759
- support = "build/support/gf180-physical"
760
- profile = "lvs.json"
761
 
762
  [toolchain.backends.lvs.support_profiles]
763
- support = "physical"
764
 
765
  [toolchain.backends.geometry]
766
  type = "klayout-geometry-docker"
@@ -774,7 +767,7 @@ type = "magic-rc-docker"
774
 
775
  [toolchain.backends.rc.settings]
776
  image = "iclayout-eda-open:local"
777
- support = "build/support/gf180-magic"
778
  technology = "gf180mcuD.tech"
779
  tech_name = "gf180mcuD"
780
  style = "ngspice()"
@@ -794,7 +787,7 @@ max_parallel_jobs = 8
794
  threads = 1
795
  cpu_budget = 8
796
  image = "iclayout-eda-open:local"
797
- support = "build/support/gf180-models"
798
  timeout_seconds = 240
799
 
800
  [toolchain.backends.ngspice.support_profiles]
 
14
  [task.inputs.description]
15
  path = "problem.md"
16
  format = "text"
17
+ sha256 = "ceaad13278243581f00cd838627710a586b9368d4cdd6970517aee90749d5277"
18
 
19
  [task.inputs.netlist]
20
  path = "materials/circuit.spice"
 
25
  [task.inputs.performance]
26
  path = "materials/testbench.spice"
27
  format = "spice"
28
+ sha256 = "86cd9a4f6a2c2e91096e470c35c48877d43120353a0e90810b214f8fea5d44ef"
29
+
30
+ [task.inputs.ngspice_startup]
31
+ path = "materials/ngspice.spiceinit"
32
+ format = "text"
33
+ sha256 = "b6f64e3d8212d75c099e8571264bc5ee242d1418ebbb227992496b8ebfcb5426"
34
 
35
  [task.output]
36
  path = "output/final.gds"
 
471
  task = "task"
472
  netlist = "input:netlist"
473
 
 
 
 
 
474
  [[task.evaluation.jobs]]
475
  id = "geometry"
476
  stage = "check"
 
486
  layout = "candidate"
487
  task = "task"
488
  constraints = "input:constraints"
 
 
489
 
490
  [[task.evaluation.jobs]]
491
  id = "parasitics"
 
524
  [task.evaluation.jobs.inputs]
525
  deck = "input:performance"
526
  dut = "job:parasitics:netlist"
527
+ startup = "input:ngspice_startup"
528
 
529
  [task.evaluation.jobs.outputs]
530
  waveform = "ngspice-raw"
 
548
  [task.evaluation.jobs.inputs]
549
  deck = "input:performance"
550
  dut = "job:parasitics:netlist"
551
+ startup = "input:ngspice_startup"
552
 
553
  [task.evaluation.jobs.outputs]
554
  waveform = "ngspice-raw"
 
644
  supply = 0.189473684211
645
 
646
  [task.evaluation.pre_layout]
647
+ source_report_sha256 = "32ec027345098dffe906772f11d10b69e284fc010aa2d5d711794f846b26b7d9"
648
 
649
  [task.evaluation.pre_layout.backends]
650
+ "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"b31d9cd1eefc0739b5ca5d9de5b495674b1f0581e8bc61db6a8b372897a0ec20\", \"compatibility\": null, \"cpu_budget\": 8, \"executable_workspace\": false, \"execution_sha256\": \"7f6228054295b3b6f8c13b457ac41ed7e6fb868cff93c76b928402aab17ed48e\", \"image_id\": \"sha256:a280e1c61fcf6e950f3585fedd83fabcfaa4e295a5c8f58e4543d2e7d5a6c207\", \"limits\": {\"cpus\": null, \"memory_mb\": null, \"pids\": null}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"retry_policy\": {\"backoff_seconds\": 1, \"max_attempts\": 3, \"max_backoff_seconds\": 2}, \"support_sha256\": \"5b361b3e8684b3a61542739c5866c90dcf133887d318e436e424c047f18c8928\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 240.0, \"tool_version\": \"******\\n** ngspice-47 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2026, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Fri Nov 13 02:32:42 UTC 2026\\n******\"}"
651
 
652
  [task.evaluation.pre_layout.jobs.source_negative]
653
  operation = "circuit.simulate"
 
655
  [task.evaluation.pre_layout.jobs.source_negative.inputs]
656
  deck = "input:performance"
657
  dut = "input:netlist"
658
+ startup = "input:ngspice_startup"
659
 
660
  [task.evaluation.pre_layout.jobs.source_negative.outputs]
661
  waveform = "ngspice-raw"
 
672
  waveform = "waveform.raw"
673
 
674
  [task.evaluation.pre_layout.jobs.source_negative.input_sha256]
675
+ deck = "86cd9a4f6a2c2e91096e470c35c48877d43120353a0e90810b214f8fea5d44ef"
676
  dut = "0f529f8162a367b1408730f5dee3b06847de139a770fc41be1bd38e92c056e3d"
677
+ startup = "b6f64e3d8212d75c099e8571264bc5ee242d1418ebbb227992496b8ebfcb5426"
678
 
679
  [task.evaluation.pre_layout.jobs.source_negative.measurements.decision_v]
680
+ value = 3.3
681
  unit = "V"
682
 
683
  [task.evaluation.pre_layout.jobs.source_negative.measurements.delay_s]
684
+ value = 1.22805e-09
685
  unit = "s"
686
 
687
  [task.evaluation.pre_layout.jobs.source_negative.measurements.power_w]
688
+ value = 9.47567e-05
689
  unit = "W"
690
 
 
 
 
691
  [task.evaluation.pre_layout.jobs.source_positive]
692
  operation = "circuit.simulate"
693
 
694
  [task.evaluation.pre_layout.jobs.source_positive.inputs]
695
  deck = "input:performance"
696
  dut = "input:netlist"
697
+ startup = "input:ngspice_startup"
698
 
699
  [task.evaluation.pre_layout.jobs.source_positive.outputs]
700
  waveform = "ngspice-raw"
 
711
  waveform = "waveform.raw"
712
 
713
  [task.evaluation.pre_layout.jobs.source_positive.input_sha256]
714
+ deck = "86cd9a4f6a2c2e91096e470c35c48877d43120353a0e90810b214f8fea5d44ef"
715
  dut = "0f529f8162a367b1408730f5dee3b06847de139a770fc41be1bd38e92c056e3d"
716
+ startup = "b6f64e3d8212d75c099e8571264bc5ee242d1418ebbb227992496b8ebfcb5426"
717
 
718
  [task.evaluation.pre_layout.jobs.source_positive.measurements.decision_v]
719
+ value = 3.3
720
  unit = "V"
721
 
722
  [task.evaluation.pre_layout.jobs.source_positive.measurements.delay_s]
723
+ value = 1.22805e-09
724
  unit = "s"
725
 
726
  [task.evaluation.pre_layout.jobs.source_positive.measurements.power_w]
727
+ value = 9.47567e-05
728
  unit = "W"
729
 
 
 
 
730
  [toolchain.backends.artifact]
731
  type = "klayout-docker"
732
 
 
736
  timeout_seconds = 180
737
 
738
  [toolchain.backends.drc]
739
+ from_pdk = "drc"
 
 
 
 
 
 
 
 
 
 
740
 
741
  [toolchain.backends.lvs]
742
+ type = "magic-physical-docker"
743
 
744
  [toolchain.backends.lvs.settings]
745
  image = "iclayout-eda-open:local"
746
  check = "lvs"
747
+ support = "magic"
748
+ technology = "gf180mcuD.tech"
749
+ tech_name = "gf180mcuD"
750
+ style = "ngspice()"
751
+ setup = "gf180mcuD_setup.tcl"
752
+ grid_subdivision = 10
753
  timeout_seconds = 180
 
 
754
 
755
  [toolchain.backends.lvs.support_profiles]
756
+ support = "magic"
757
 
758
  [toolchain.backends.geometry]
759
  type = "klayout-geometry-docker"
 
767
 
768
  [toolchain.backends.rc.settings]
769
  image = "iclayout-eda-open:local"
770
+ support = "magic"
771
  technology = "gf180mcuD.tech"
772
  tech_name = "gf180mcuD"
773
  style = "ngspice()"
 
787
  threads = 1
788
  cpu_budget = 8
789
  image = "iclayout-eda-open:local"
790
+ support = "models"
791
  timeout_seconds = 240
792
 
793
  [toolchain.backends.ngspice.support_profiles]
tasks/gf180mcuD/Chipathon2023_ADC/cases/comparator/materials/ngspice.spiceinit ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ set ngbehavior=hsa
2
+ set num_threads=1
3
+ set sourcepath=( . /workspace/support )
tasks/gf180mcuD/Chipathon2023_ADC/cases/comparator/materials/testbench.spice CHANGED
@@ -1,5 +1,10 @@
1
  * GF180MCU nominal characterization: 3.3 V, 27 C, typical models.
2
- .include "support/models.spice"
 
 
 
 
 
3
  .include "dut.spice"
4
  .include "parameters.spice"
5
  .temp 27
 
1
  * GF180MCU nominal characterization: 3.3 V, 27 C, typical models.
2
+ .include "support/design.spice"
3
+ .lib "support/sm141064.spice" typical
4
+ .lib "support/sm141064.spice" res_typical
5
+ .lib "support/sm141064.spice" bjt_typical
6
+ .lib "support/sm141064.spice" mimcap_typical
7
+ .param sw_stat_global=0 sw_stat_mismatch=0
8
  .include "dut.spice"
9
  .include "parameters.spice"
10
  .temp 27
tasks/gf180mcuD/Chipathon2023_ADC/cases/comparator/problem.md CHANGED
@@ -16,6 +16,8 @@ Ordered subcircuit and GDS interface: `VDD, CLK, VOUTP, VOUTN, VINP, VINN, VSS`.
16
 
17
  Preserve topology, total device widths, channel lengths, multiplicities, resistor dimensions and body connections. Equivalent hierarchy, diffusion sharing and parallel fingers are allowed when connectivity and electrical checks pass; preserve source models and dimensions without idealizing internal devices. Retain dummy devices even when all their terminals are shorted.
18
 
 
 
19
  ## Operating Conditions
20
 
21
  3.3 V, 27 C. Clock first rises at 10 ns, with period 20 ns, edges 0.1 ns and high duration 10 ns; each output has 50 fF to ground. Test polarity=-1/+1 separately: VINP=1.65+polarity*0.01 V, VINN=1.65−polarity*0.01 V. Simulate to 100 ns with requested step 0.01 ns.
 
16
 
17
  Preserve topology, total device widths, channel lengths, multiplicities, resistor dimensions and body connections. Equivalent hierarchy, diffusion sharing and parallel fingers are allowed when connectivity and electrical checks pass; preserve source models and dimensions without idealizing internal devices. Retain dummy devices even when all their terminals are shorted.
18
 
19
+ The supplied `materials/ngspice.spiceinit` declares this case's simulator startup conditions; model sections and statistical switches are specified by its SPICE testbenches.
20
+
21
  ## Operating Conditions
22
 
23
  3.3 V, 27 C. Clock first rises at 10 ns, with period 20 ns, edges 0.1 ns and high duration 10 ns; each output has 50 fF to ground. Test polarity=-1/+1 separately: VINP=1.65+polarity*0.01 V, VINN=1.65−polarity*0.01 V. Simulate to 100 ns with requested step 0.01 ns.
tasks/gf180mcuD/Jianxun-OTA/cases/ota_5t/case.toml CHANGED
The diff for this file is too large to render. See raw diff
 
tasks/gf180mcuD/Jianxun-OTA/cases/ota_5t/materials/analysis.spice ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ * OTA differential/common-mode/supply response and current-preserving loop probe.
2
+ .include "parameters.spice"
3
+ .include "models.spice"
4
+ .include "dut.spice"
5
+ .temp {temperature_c}
6
+ .options reltol=1e-6 abstol=1e-15 vntol=1e-9
7
+ VCM vcm_ref 0 {common_v}
8
+ VTARGET target 0 {common_v}
9
+
10
+ VDD_D vdd_d 0 {supply_v}
11
+ IBIAS_D vdd_d ib_d {bias_a}
12
+ VDIFF cal_d 0 DC 0 AC 1
13
+ EH_D diff 0 cal_d 0 1
14
+ EP_D inp_d vcm_ref diff 0 .5
15
+ EN_D inn_d vcm_ref diff 0 -.5
16
+ RCLAMP target out_d 1m
17
+ CL_D out_d 0 {load_f}
18
+ XD_D vdd_d out_d inp_d inn_d ib_d 0 ota_5t
19
+
20
+ VDD_C vdd_c 0 {supply_v}
21
+ IBIAS_C vdd_c ib_c {bias_a}
22
+ VCMSIGNAL common_c 0 DC {common_v} AC 1
23
+ VOFF_C cal_c 0 DC 0
24
+ EH_C diff_c 0 cal_c 0 1
25
+ EP_C inp_c common_c diff_c 0 .5
26
+ EN_C inn_c common_c diff_c 0 -.5
27
+ CL_C out_c 0 {load_f}
28
+ XD_C vdd_c out_c inp_c inn_c ib_c 0 ota_5t
29
+
30
+ VDD_P vdd_p 0 DC {supply_v} AC 1
31
+ IBIAS_P vdd_p ib_p {bias_a}
32
+ VOFF_P cal_p 0 DC 0
33
+ EH_P diff_p 0 cal_p 0 1
34
+ EP_P inp_p vcm_ref diff_p 0 .5
35
+ EN_P inn_p vcm_ref diff_p 0 -.5
36
+ CL_P out_p 0 {load_f}
37
+ XD_P vdd_p out_p inp_p inn_p ib_p 0 ota_5t
38
+
39
+ VDD_N vdd_n 0 {supply_v}
40
+ VSS_N vss_n 0 DC 0 AC 1
41
+ IBIAS_N vdd_n ib_n {bias_a}
42
+ VOFF_N cal_n 0 DC 0
43
+ EH_N diff_n 0 cal_n 0 1
44
+ EP_N inp_n vcm_ref diff_n 0 .5
45
+ EN_N inn_n vcm_ref diff_n 0 -.5
46
+ CL_N out_n 0 {load_f}
47
+ XD_N vdd_n out_n inp_n inn_n ib_n vss_n ota_5t
48
+
49
+ * E/V/F represent the feedback wire while preserving its gate loading.
50
+ * The large L/C retain the DC loop and open only its voltage path in AC.
51
+ VDD_L vdd_l 0 {supply_v}
52
+ IBIAS_L vdd_l ib_l {bias_a}
53
+ VLOOP loop_ac 0 DC 0 AC 1
54
+ LDC out_l control_l 1e12
55
+ CAC control_l loop_ac 1meg
56
+ EFB drive_l 0 control_l 0 1
57
+ VSENSE drive_l inn_l 0
58
+ FLOAD out_l 0 VSENSE 1
59
+ CL_L out_l 0 {load_f}
60
+ XD_L vdd_l out_l vcm_ref inn_l ib_l 0 ota_5t
61
+
62
+ .control
63
+ set noaskquit
64
+ set numdgt=12
65
+ setcs sparse
66
+ setplot const
67
+ let low=-.2
68
+ let high=.2
69
+ let low_current=0
70
+ let trial=0
71
+ let trial_current=0
72
+ let count=0
73
+ alter VDIFF dc = $&low
74
+ op
75
+ let const.low_current=i(VTARGET)
76
+ while count lt 24
77
+ let const.trial=(const.low+const.high)/2
78
+ alter VDIFF dc = $&const.trial
79
+ op
80
+ let const.trial_current=i(VTARGET)
81
+ if const.low_current*const.trial_current le 0
82
+ let const.high=const.trial
83
+ else
84
+ let const.low=const.trial
85
+ let const.low_current=const.trial_current
86
+ end
87
+ let const.count=const.count+1
88
+ end
89
+ let calibration_current_a=abs(i(VTARGET))
90
+ print calibration_current_a
91
+ alter VOFF_C dc = $&const.trial
92
+ alter VOFF_P dc = $&const.trial
93
+ alter VOFF_N dc = $&const.trial
94
+ alter RCLAMP resistance = 1e15
95
+ op
96
+ let power_w=-v(vdd_d)*i(vdd_d)
97
+ let offset_v=v(inp_d)-v(inn_d)
98
+ let offset_abs_v=abs(offset_v)
99
+ let bias_v=v(out_d)
100
+ print power_w offset_v offset_abs_v bias_v
101
+ save v(out_d) v(inp_d) v(inn_d) v(out_c) v(out_p) v(out_n) v(out_l) v(control_l)
102
+ ac dec 80 10 1G
103
+ let ad=v(out_d)/v(inp_d,inn_d)
104
+ let db_gain=db(ad)
105
+ let db_cmrr=db(ad/v(out_c))
106
+ let db_psrr_p=db(ad/v(out_p))
107
+ let db_psrr_n=db(ad/v(out_n))
108
+ let loop_gain=-v(out_l)/v(control_l)
109
+ let loop_db=db(loop_gain)
110
+ let loop_phase=cph(loop_gain)
111
+ meas ac gain_db find db_gain at=10
112
+ meas ac unity_hz when db_gain=0 fall=1
113
+ meas ac cmrr_db find db_cmrr at=10
114
+ meas ac cmrr_100k_db find db_cmrr at=100k
115
+ meas ac psrr_p_db find db_psrr_p at=10
116
+ meas ac psrr_n_db find db_psrr_n at=10
117
+ meas ac psrr_p_100k_db find db_psrr_p at=100k
118
+ meas ac psrr_n_100k_db find db_psrr_n at=100k
119
+ meas ac loop_unity_hz when loop_db=0 fall=1
120
+ meas ac phase_at_unity find loop_phase when loop_db=0 fall=1
121
+ let phase_margin_deg=180+180/PI*phase_at_unity
122
+ print phase_margin_deg
123
+ write waveform.raw
124
+ save all
125
+ noise v(out_d) VDIFF dec 40 10 100k
126
+ let input_noise_v=inoise_total
127
+ print input_noise_v
128
+ setplot previous
129
+ write noise.raw
130
+ quit
131
+ .endc
132
+ .end