MAI716 commited on
Commit
1d3c0d6
·
verified ·
1 Parent(s): c08c038

Publish native Parquet task index (part 2)

Browse files

Native typed, Zstd-compressed Parquet index for 92 public tasks (21 core). Static release matches Dataset commit 73f421307434e0953bb9fd5b5d54e0150dffd875.

This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. tasks/gf180mcuD/voidwalkers-scandff/cases/scan_dff/case.toml +109 -38
  2. tasks/gf180mcuD/voidwalkers-scandff/cases/scan_dff/materials/schematic.svg +0 -0
  3. tasks/gf180mcuD/voidwalkers-scandff/cases/scan_dff/materials/testbench.spice +11 -3
  4. tasks/gf180mcuD/voidwalkers-scandff/cases/scan_dff/problem.md +42 -66
  5. tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/comparator/case.toml +39 -15
  6. tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/comparator/materials/schematic.svg +0 -0
  7. tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/comparator/problem.md +19 -51
  8. tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/full_OTA/case.toml +35 -16
  9. tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/full_OTA/materials/schematic.svg +0 -0
  10. tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/full_OTA/materials/testbench.spice +1 -0
  11. tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/full_OTA/problem.md +22 -65
  12. tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/input_pair/case.toml +35 -16
  13. tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/input_pair/materials/schematic.svg +2 -1
  14. tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/input_pair/materials/testbench.spice +1 -0
  15. tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/input_pair/problem.md +25 -75
  16. tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/output_stage/case.toml +35 -16
  17. tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/output_stage/materials/schematic.svg +2 -1
  18. tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/output_stage/materials/testbench.spice +1 -0
  19. tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/output_stage/problem.md +25 -75
  20. tasks/ihp-sg13g2/TO_Apr2025/cases/160GHz_LNA/case.toml +28 -15
  21. tasks/ihp-sg13g2/TO_Apr2025/cases/160GHz_LNA/materials/schematic.svg +0 -0
  22. tasks/ihp-sg13g2/TO_Apr2025/cases/160GHz_LNA/materials/testbench.spice +1 -0
  23. tasks/ihp-sg13g2/TO_Apr2025/cases/160GHz_LNA/problem.md +21 -57
  24. tasks/ihp-sg13g2/TO_Apr2025/cases/40_GHZ_LOW_NOISE_TIA/case.toml +48 -18
  25. tasks/ihp-sg13g2/TO_Apr2025/cases/40_GHZ_LOW_NOISE_TIA/materials/schematic.svg +2 -1
  26. tasks/ihp-sg13g2/TO_Apr2025/cases/40_GHZ_LOW_NOISE_TIA/materials/testbench.spice +1 -0
  27. tasks/ihp-sg13g2/TO_Apr2025/cases/40_GHZ_LOW_NOISE_TIA/problem.md +21 -62
  28. tasks/ihp-sg13g2/TO_Apr2025/cases/97_GHZ_LINEAR_TIA/case.toml +56 -20
  29. tasks/ihp-sg13g2/TO_Apr2025/cases/97_GHZ_LINEAR_TIA/materials/schematic.svg +0 -0
  30. tasks/ihp-sg13g2/TO_Apr2025/cases/97_GHZ_LINEAR_TIA/materials/testbench.spice +1 -0
  31. tasks/ihp-sg13g2/TO_Apr2025/cases/97_GHZ_LINEAR_TIA/problem.md +24 -64
  32. tasks/ihp-sg13g2/TO_Apr2025/cases/DC_to_130_GHz_TIA.design_1/case.toml +48 -18
  33. tasks/ihp-sg13g2/TO_Apr2025/cases/DC_to_130_GHz_TIA.design_1/materials/schematic.svg +2 -1
  34. tasks/ihp-sg13g2/TO_Apr2025/cases/DC_to_130_GHz_TIA.design_1/materials/testbench.spice +1 -0
  35. tasks/ihp-sg13g2/TO_Apr2025/cases/DC_to_130_GHz_TIA.design_1/problem.md +21 -57
  36. tasks/ihp-sg13g2/analog-db/cases/adc_001_inv1b/case.toml +38 -18
  37. tasks/ihp-sg13g2/analog-db/cases/adc_001_inv1b/materials/schematic.svg +2 -2
  38. tasks/ihp-sg13g2/analog-db/cases/adc_001_inv1b/materials/testbench.spice +1 -0
  39. tasks/ihp-sg13g2/analog-db/cases/adc_001_inv1b/problem.md +12 -28
  40. tasks/ihp-sg13g2/analog-db/cases/amp_001_5t/case.toml +37 -15
  41. tasks/ihp-sg13g2/analog-db/cases/amp_001_5t/materials/schematic.svg +2 -1
  42. tasks/ihp-sg13g2/analog-db/cases/amp_001_5t/materials/testbench.spice +1 -0
  43. tasks/ihp-sg13g2/analog-db/cases/amp_001_5t/problem.md +16 -42
  44. tasks/ihp-sg13g2/analog-db/cases/amp_002_alfio_raffc/case.toml +70 -22
  45. tasks/ihp-sg13g2/analog-db/cases/amp_002_alfio_raffc/materials/schematic.svg +0 -0
  46. tasks/ihp-sg13g2/analog-db/cases/amp_002_alfio_raffc/materials/testbench.spice +1 -0
  47. tasks/ihp-sg13g2/analog-db/cases/amp_002_alfio_raffc/problem.md +28 -74
  48. tasks/ihp-sg13g2/analog-db/cases/amp_003_fan_smc/case.toml +70 -22
  49. tasks/ihp-sg13g2/analog-db/cases/amp_003_fan_smc/materials/schematic.svg +0 -0
  50. tasks/ihp-sg13g2/analog-db/cases/amp_003_fan_smc/materials/testbench.spice +1 -0
tasks/gf180mcuD/voidwalkers-scandff/cases/scan_dff/case.toml CHANGED
@@ -1,15 +1,15 @@
1
- in_core = true
2
  kind = "layout_case"
3
  id = "gf180mcuD.voidwalkers-scandff.scan_dff"
4
  title = "Scan D Flip-Flop with Active-Low Reset"
5
  status = "qualified"
 
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
- sha256 = "99ace8db2b9b5611c896d24f0fb95767f76f6568867a21be756c596f11345166"
13
 
14
  [[assets]]
15
  path = "reference/gf180mcu_voidwalkers_sc_sdffrnq_4.gds"
@@ -28,18 +28,18 @@ environment = "gf180mcuD-typical-rc"
28
  [task.inputs.description]
29
  path = "problem.md"
30
  format = "text"
31
- sha256 = "4dd3b36c545bf772efe7d79ce147682f337e9e9c38f353ba0ae8a129d452865b"
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.spice"
35
  format = "spice"
36
- sha256 = "659e961943b07c6a7665d4e640a037508fc255ce66752c02ca5de94ae1d07e58"
37
  subcircuit = "gf180mcu_voidwalkers_sc_sdffrnq_4"
 
38
 
39
  [task.inputs.performance]
40
  path = "materials/testbench.spice"
41
  format = "spice"
42
- sha256 = "43d1b9312f6024b9fe2f2c55e841d741e915254ffa5d9a1e476ab406323c46dc"
43
 
44
  [task.output]
45
  path = "output/final.gds"
@@ -962,9 +962,11 @@ low59 = "V"
962
  reset89 = "V"
963
  reset99 = "V"
964
  low139 = "V"
 
965
  high39 = "V"
966
  high79 = "V"
967
  high119 = "V"
 
968
  power_w = "W"
969
  delay_data_rise = "s"
970
  slew_data_rise = "s"
@@ -976,6 +978,10 @@ delay_scan_fall = "s"
976
  slew_scan_fall = "s"
977
  delay_reset_fall = "s"
978
  slew_reset_fall = "s"
 
 
 
 
979
 
980
  [task.evaluation.jobs.parameters.values]
981
 
@@ -1001,11 +1007,15 @@ observations = [
1001
  "nominal:reset89",
1002
  "nominal:reset99",
1003
  "nominal:low139",
 
1004
  ]
1005
  unit = "V"
1006
  direction = "minimize"
1007
  aggregation = "max"
 
 
1008
  upper = 0.33
 
1009
 
1010
  [[task.evaluation.metrics]]
1011
  id = "high"
@@ -1014,11 +1024,15 @@ observations = [
1014
  "nominal:high39",
1015
  "nominal:high79",
1016
  "nominal:high119",
 
1017
  ]
1018
  unit = "V"
1019
  direction = "maximize"
1020
  aggregation = "min"
 
 
1021
  lower = 2.97
 
1022
 
1023
  [[task.evaluation.metrics]]
1024
  id = "supply"
@@ -1034,9 +1048,12 @@ baseline = [
1034
  "source_nominal:power_w",
1035
  ]
1036
  normalization = "ratio"
1037
- lower = 0
1038
  scale = 1e-12
1039
 
 
 
 
 
1040
  [[task.evaluation.metrics]]
1041
  id = "propagation_delay"
1042
  category = "performance"
@@ -1046,6 +1063,8 @@ observations = [
1046
  "nominal:delay_scan_rise",
1047
  "nominal:delay_scan_fall",
1048
  "nominal:delay_reset_fall",
 
 
1049
  ]
1050
  baseline = [
1051
  "source_nominal:delay_data_rise",
@@ -1053,13 +1072,22 @@ baseline = [
1053
  "source_nominal:delay_scan_rise",
1054
  "source_nominal:delay_scan_fall",
1055
  "source_nominal:delay_reset_fall",
 
 
1056
  ]
1057
  unit = "s"
1058
  direction = "minimize"
1059
  aggregation = "max"
1060
  dimension = "response"
1061
  normalization = "ratio"
 
 
1062
  lower = 0.0
 
 
 
 
 
1063
 
1064
  [[task.evaluation.metrics]]
1065
  id = "output_transition"
@@ -1070,6 +1098,8 @@ observations = [
1070
  "nominal:slew_scan_rise",
1071
  "nominal:slew_scan_fall",
1072
  "nominal:slew_reset_fall",
 
 
1073
  ]
1074
  baseline = [
1075
  "source_nominal:slew_data_rise",
@@ -1077,31 +1107,36 @@ baseline = [
1077
  "source_nominal:slew_scan_rise",
1078
  "source_nominal:slew_scan_fall",
1079
  "source_nominal:slew_reset_fall",
 
 
1080
  ]
1081
  unit = "s"
1082
  direction = "minimize"
1083
  aggregation = "max"
1084
  dimension = "response"
1085
  normalization = "ratio"
 
 
1086
  lower = 0.0
 
1087
 
1088
  [task.evaluation.scoring]
1089
  method = "layout"
1090
  area_metric = "functional_area"
1091
- area_target = 175.5775
1092
- rationale = "Scan flip-flop: clock-to-output delay 51%; output transition 17%; supply power 17%; area 15%. Each objective's weight is divided equally among its metrics."
1093
 
1094
  [task.evaluation.scoring.weights]
1095
- functional_area = 0.15
1096
- propagation_delay = 0.51
1097
- output_transition = 0.17
1098
- supply = 0.17
1099
 
1100
  [task.evaluation.pre_layout]
1101
- source_report_sha256 = "7c186efc01707e6576d7e22647bdb61c6ed569f153d08f49cbfed8c6f659cdfb"
1102
 
1103
  [task.evaluation.pre_layout.backends]
1104
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"ef9cb87fa27b849376472663b7362673979b89e012f161ba47bb5f6af6ede8eb\", \"compatibility\": null, \"execution_sha256\": \"5424b579002782bfddf0a729715b8fbf2a5f7f2b4cf14982d7616e352d5de9be\", \"image_id\": \"sha256:6562558774d43c085a289bbba696c55959eb8051a0996f96633451fbeb9c652d\", \"limits\": {\"cpus\": 4, \"memory_mb\": 4096, \"pids\": 256}, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"a340269fb13edfad479628bd59a0b72b878e648c0740e89671cd95b64adc03ef\", \"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******\"}"
1105
 
1106
  [task.evaluation.pre_layout.jobs.source_nominal]
1107
  operation = "circuit.simulate"
@@ -1113,34 +1148,40 @@ dut = "input:netlist"
1113
  [task.evaluation.pre_layout.jobs.source_nominal.outputs]
1114
  waveform = "ngspice-raw"
1115
 
 
 
 
1116
  [task.evaluation.pre_layout.jobs.source_nominal.parameters.measurements]
 
 
 
 
 
 
 
 
 
 
 
1117
  low19 = "V"
1118
  low59 = "V"
 
1119
  reset89 = "V"
1120
  reset99 = "V"
1121
- low139 = "V"
1122
- high39 = "V"
1123
- high79 = "V"
1124
- high119 = "V"
1125
- power_w = "W"
1126
- delay_data_rise = "s"
1127
- slew_data_rise = "s"
1128
- delay_data_fall = "s"
1129
  slew_data_fall = "s"
1130
- delay_scan_rise = "s"
1131
- slew_scan_rise = "s"
1132
- delay_scan_fall = "s"
1133
- slew_scan_fall = "s"
1134
- delay_reset_fall = "s"
1135
  slew_reset_fall = "s"
 
 
 
 
1136
 
1137
  [task.evaluation.pre_layout.jobs.source_nominal.parameters.values]
1138
 
1139
- [task.evaluation.pre_layout.jobs.source_nominal.parameters.exports]
1140
- waveform = "waveform.raw"
1141
-
1142
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
1143
- deck = "43d1b9312f6024b9fe2f2c55e841d741e915254ffa5d9a1e476ab406323c46dc"
1144
  dut = "659e961943b07c6a7665d4e640a037508fc255ce66752c02ca5de94ae1d07e58"
1145
 
1146
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_data_fall]
@@ -1163,6 +1204,14 @@ unit = "s"
1163
  value = 5.49924e-10
1164
  unit = "s"
1165
 
 
 
 
 
 
 
 
 
1166
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.high119]
1167
  value = 3.3
1168
  unit = "V"
@@ -1188,7 +1237,7 @@ value = 3.66929e-08
1188
  unit = "V"
1189
 
1190
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.power_w]
1191
- value = 4.187209e-05
1192
  unit = "W"
1193
 
1194
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.reset89]
@@ -1199,6 +1248,14 @@ unit = "V"
1199
  value = 7.300858e-09
1200
  unit = "V"
1201
 
 
 
 
 
 
 
 
 
1202
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.slew_data_fall]
1203
  value = 2.787912e-10
1204
  unit = "s"
@@ -1219,11 +1276,22 @@ unit = "s"
1219
  value = 3.358867e-10
1220
  unit = "s"
1221
 
 
 
 
 
 
 
 
 
 
 
 
1222
  [toolchain.backends.artifact]
1223
  type = "klayout-docker"
1224
 
1225
  [toolchain.backends.artifact.settings]
1226
- image = "iclayout-bench-tools:local"
1227
  check = "artifact"
1228
  timeout_seconds = 180
1229
 
@@ -1231,7 +1299,7 @@ timeout_seconds = 180
1231
  type = "klayout-docker"
1232
 
1233
  [toolchain.backends.drc.settings]
1234
- image = "iclayout-bench-tools:local"
1235
  check = "drc"
1236
  timeout_seconds = 180
1237
  support = "build/support/gf180-physical"
@@ -1244,7 +1312,7 @@ support = "physical"
1244
  type = "klayout-docker"
1245
 
1246
  [toolchain.backends.lvs.settings]
1247
- image = "iclayout-bench-tools:local"
1248
  check = "lvs"
1249
  timeout_seconds = 180
1250
  support = "build/support/gf180-physical"
@@ -1257,14 +1325,14 @@ support = "physical"
1257
  type = "klayout-geometry-docker"
1258
 
1259
  [toolchain.backends.geometry.settings]
1260
- image = "iclayout-bench-tools:local"
1261
  timeout_seconds = 180
1262
 
1263
  [toolchain.backends.rc]
1264
  type = "magic-rc-docker"
1265
 
1266
  [toolchain.backends.rc.settings]
1267
- image = "iclayout-bench-tools:local"
1268
  support = "build/support/gf180-magic"
1269
  technology = "gf180mcuD.tech"
1270
  tech_name = "gf180mcuD"
@@ -1281,7 +1349,10 @@ support = "magic"
1281
  type = "ngspice-docker"
1282
 
1283
  [toolchain.backends.ngspice.settings]
1284
- image = "iclayout-bench-tools:local"
 
 
 
1285
  support = "build/support/gf180-models"
1286
  timeout_seconds = 240
1287
 
 
 
1
  kind = "layout_case"
2
  id = "gf180mcuD.voidwalkers-scandff.scan_dff"
3
  title = "Scan D Flip-Flop with Active-Low Reset"
4
  status = "qualified"
5
+ in_core = true
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
+ sha256 = "cc82ad15dde6c3790aa2277e0b0c16487a74bfc864a207fa605cb022e15c4964"
13
 
14
  [[assets]]
15
  path = "reference/gf180mcu_voidwalkers_sc_sdffrnq_4.gds"
 
28
  [task.inputs.description]
29
  path = "problem.md"
30
  format = "text"
31
+ sha256 = "17629e273b63c5c18ed8c034c06a317115bb626e51dc82f7a5f55c70f4bafde0"
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.spice"
35
  format = "spice"
 
36
  subcircuit = "gf180mcu_voidwalkers_sc_sdffrnq_4"
37
+ sha256 = "659e961943b07c6a7665d4e640a037508fc255ce66752c02ca5de94ae1d07e58"
38
 
39
  [task.inputs.performance]
40
  path = "materials/testbench.spice"
41
  format = "spice"
42
+ sha256 = "85002e6ae68a6b3b94f271f3231beab8f86542a4543d047fe1e0c5f62997949f"
43
 
44
  [task.output]
45
  path = "output/final.gds"
 
962
  reset89 = "V"
963
  reset99 = "V"
964
  low139 = "V"
965
+ setup_rise_q = "V"
966
  high39 = "V"
967
  high79 = "V"
968
  high119 = "V"
969
+ setup_fall_q = "V"
970
  power_w = "W"
971
  delay_data_rise = "s"
972
  slew_data_rise = "s"
 
978
  slew_scan_fall = "s"
979
  delay_reset_fall = "s"
980
  slew_reset_fall = "s"
981
+ delay_setup_a_rise = "s"
982
+ slew_setup_a_rise = "s"
983
+ delay_setup_a_fall = "s"
984
+ slew_setup_a_fall = "s"
985
 
986
  [task.evaluation.jobs.parameters.values]
987
 
 
1007
  "nominal:reset89",
1008
  "nominal:reset99",
1009
  "nominal:low139",
1010
+ "nominal:setup_fall_q",
1011
  ]
1012
  unit = "V"
1013
  direction = "minimize"
1014
  aggregation = "max"
1015
+
1016
+ [task.evaluation.metrics.requirement]
1017
  upper = 0.33
1018
+ rationale = "The declared truth-table, SRAM sense or polarity-correct comparator output must reach its stated CMOS logic level at every functional sample under the fixed supply and load."
1019
 
1020
  [[task.evaluation.metrics]]
1021
  id = "high"
 
1024
  "nominal:high39",
1025
  "nominal:high79",
1026
  "nominal:high119",
1027
+ "nominal:setup_rise_q",
1028
  ]
1029
  unit = "V"
1030
  direction = "maximize"
1031
  aggregation = "min"
1032
+
1033
+ [task.evaluation.metrics.requirement]
1034
  lower = 2.97
1035
+ rationale = "The declared truth-table, SRAM sense or polarity-correct comparator output must reach its stated CMOS logic level at every functional sample under the fixed supply and load."
1036
 
1037
  [[task.evaluation.metrics]]
1038
  id = "supply"
 
1048
  "source_nominal:power_w",
1049
  ]
1050
  normalization = "ratio"
 
1051
  scale = 1e-12
1052
 
1053
+ [task.evaluation.metrics.requirement]
1054
+ lower = 0
1055
+ rationale = "The declared powered circuit must consume nonnegative net energy from its supplies and driven references over the stated observation; power magnitude remains a quality objective."
1056
+
1057
  [[task.evaluation.metrics]]
1058
  id = "propagation_delay"
1059
  category = "performance"
 
1063
  "nominal:delay_scan_rise",
1064
  "nominal:delay_scan_fall",
1065
  "nominal:delay_reset_fall",
1066
+ "nominal:delay_setup_a_rise",
1067
+ "nominal:delay_setup_a_fall",
1068
  ]
1069
  baseline = [
1070
  "source_nominal:delay_data_rise",
 
1072
  "source_nominal:delay_scan_rise",
1073
  "source_nominal:delay_scan_fall",
1074
  "source_nominal:delay_reset_fall",
1075
+ "source_nominal:delay_setup_a_rise",
1076
+ "source_nominal:delay_setup_a_fall",
1077
  ]
1078
  unit = "s"
1079
  direction = "minimize"
1080
  aggregation = "max"
1081
  dimension = "response"
1082
  normalization = "ratio"
1083
+
1084
+ [task.evaluation.metrics.requirement]
1085
  lower = 0.0
1086
+ rationale = "The declared ordered-event interval or crossing frequency has a nonnegative measurement domain, and its crossing must exist for a usable observation."
1087
+
1088
+ [task.evaluation.metrics.quality_target]
1089
+ value = 5.5e-10
1090
+ rationale = "Keep all declared clock/data/reset-to-Q timing observations within 550 ps at 50 fF, including the late-cycle capture exercises."
1091
 
1092
  [[task.evaluation.metrics]]
1093
  id = "output_transition"
 
1098
  "nominal:slew_scan_rise",
1099
  "nominal:slew_scan_fall",
1100
  "nominal:slew_reset_fall",
1101
+ "nominal:slew_setup_a_rise",
1102
+ "nominal:slew_setup_a_fall",
1103
  ]
1104
  baseline = [
1105
  "source_nominal:slew_data_rise",
 
1107
  "source_nominal:slew_scan_rise",
1108
  "source_nominal:slew_scan_fall",
1109
  "source_nominal:slew_reset_fall",
1110
+ "source_nominal:slew_setup_a_rise",
1111
+ "source_nominal:slew_setup_a_fall",
1112
  ]
1113
  unit = "s"
1114
  direction = "minimize"
1115
  aggregation = "max"
1116
  dimension = "response"
1117
  normalization = "ratio"
1118
+
1119
+ [task.evaluation.metrics.requirement]
1120
  lower = 0.0
1121
+ rationale = "The declared ordered-event interval or crossing frequency has a nonnegative measurement domain, and its crossing must exist for a usable observation."
1122
 
1123
  [task.evaluation.scoring]
1124
  method = "layout"
1125
  area_metric = "functional_area"
1126
+ area_target = 100.0
1127
+ rationale = "The 100 um2 area goal rewards compact latch, clock and scan-multiplexer placement. Timing 45% and area 40% expose clock/internal-node routing cost, with 10% slew and 5% power. The 550 ps target is close to the slowest source path. Fixed setup/hold exercises establish correct capture, not a characterized minimum setup or hold time."
1128
 
1129
  [task.evaluation.scoring.weights]
1130
+ functional_area = 0.4
1131
+ propagation_delay = 0.45
1132
+ output_transition = 0.1
1133
+ supply = 0.05
1134
 
1135
  [task.evaluation.pre_layout]
1136
+ source_report_sha256 = "134505ad949e6884fc916494c291d60ef09ed321c20a6c91aa17279ec71fff54"
1137
 
1138
  [task.evaluation.pre_layout.backends]
1139
+ "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******\"}"
1140
 
1141
  [task.evaluation.pre_layout.jobs.source_nominal]
1142
  operation = "circuit.simulate"
 
1148
  [task.evaluation.pre_layout.jobs.source_nominal.outputs]
1149
  waveform = "ngspice-raw"
1150
 
1151
+ [task.evaluation.pre_layout.jobs.source_nominal.parameters.exports]
1152
+ waveform = "waveform.raw"
1153
+
1154
  [task.evaluation.pre_layout.jobs.source_nominal.parameters.measurements]
1155
+ delay_data_fall = "s"
1156
+ delay_data_rise = "s"
1157
+ delay_reset_fall = "s"
1158
+ delay_scan_fall = "s"
1159
+ delay_scan_rise = "s"
1160
+ delay_setup_a_fall = "s"
1161
+ delay_setup_a_rise = "s"
1162
+ high119 = "V"
1163
+ high39 = "V"
1164
+ high79 = "V"
1165
+ low139 = "V"
1166
  low19 = "V"
1167
  low59 = "V"
1168
+ power_w = "W"
1169
  reset89 = "V"
1170
  reset99 = "V"
1171
+ setup_fall_q = "V"
1172
+ setup_rise_q = "V"
 
 
 
 
 
 
1173
  slew_data_fall = "s"
1174
+ slew_data_rise = "s"
 
 
 
 
1175
  slew_reset_fall = "s"
1176
+ slew_scan_fall = "s"
1177
+ slew_scan_rise = "s"
1178
+ slew_setup_a_fall = "s"
1179
+ slew_setup_a_rise = "s"
1180
 
1181
  [task.evaluation.pre_layout.jobs.source_nominal.parameters.values]
1182
 
 
 
 
1183
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
1184
+ deck = "85002e6ae68a6b3b94f271f3231beab8f86542a4543d047fe1e0c5f62997949f"
1185
  dut = "659e961943b07c6a7665d4e640a037508fc255ce66752c02ca5de94ae1d07e58"
1186
 
1187
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_data_fall]
 
1204
  value = 5.49924e-10
1205
  unit = "s"
1206
 
1207
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_setup_a_fall]
1208
+ value = 5.492423e-10
1209
+ unit = "s"
1210
+
1211
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_setup_a_rise]
1212
+ value = 5.499524e-10
1213
+ unit = "s"
1214
+
1215
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.high119]
1216
  value = 3.3
1217
  unit = "V"
 
1237
  unit = "V"
1238
 
1239
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.power_w]
1240
+ value = 3.956966e-05
1241
  unit = "W"
1242
 
1243
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.reset89]
 
1248
  value = 7.300858e-09
1249
  unit = "V"
1250
 
1251
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.setup_fall_q]
1252
+ value = 0.0005908675
1253
+ unit = "V"
1254
+
1255
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.setup_rise_q]
1256
+ value = 3.292228
1257
+ unit = "V"
1258
+
1259
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.slew_data_fall]
1260
  value = 2.787912e-10
1261
  unit = "s"
 
1276
  value = 3.358867e-10
1277
  unit = "s"
1278
 
1279
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.slew_setup_a_fall]
1280
+ value = 2.787912e-10
1281
+ unit = "s"
1282
+
1283
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.slew_setup_a_rise]
1284
+ value = 3.358857e-10
1285
+ unit = "s"
1286
+
1287
+ [task.evaluation.pre_layout.jobs.source_nominal.output_sha256]
1288
+ waveform = "86580f93eed2615372bb626bef61c7e4a88d5c355086b0579f97326387c8e71b"
1289
+
1290
  [toolchain.backends.artifact]
1291
  type = "klayout-docker"
1292
 
1293
  [toolchain.backends.artifact.settings]
1294
+ image = "iclayout-eda-open:local"
1295
  check = "artifact"
1296
  timeout_seconds = 180
1297
 
 
1299
  type = "klayout-docker"
1300
 
1301
  [toolchain.backends.drc.settings]
1302
+ image = "iclayout-eda-open:local"
1303
  check = "drc"
1304
  timeout_seconds = 180
1305
  support = "build/support/gf180-physical"
 
1312
  type = "klayout-docker"
1313
 
1314
  [toolchain.backends.lvs.settings]
1315
+ image = "iclayout-eda-open:local"
1316
  check = "lvs"
1317
  timeout_seconds = 180
1318
  support = "build/support/gf180-physical"
 
1325
  type = "klayout-geometry-docker"
1326
 
1327
  [toolchain.backends.geometry.settings]
1328
+ image = "iclayout-eda-open:local"
1329
  timeout_seconds = 180
1330
 
1331
  [toolchain.backends.rc]
1332
  type = "magic-rc-docker"
1333
 
1334
  [toolchain.backends.rc.settings]
1335
+ image = "iclayout-eda-open:local"
1336
  support = "build/support/gf180-magic"
1337
  technology = "gf180mcuD.tech"
1338
  tech_name = "gf180mcuD"
 
1349
  type = "ngspice-docker"
1350
 
1351
  [toolchain.backends.ngspice.settings]
1352
+ max_parallel_jobs = 8
1353
+ threads = 1
1354
+ cpu_budget = 8
1355
+ image = "iclayout-eda-open:local"
1356
  support = "build/support/gf180-models"
1357
  timeout_seconds = 240
1358
 
tasks/gf180mcuD/voidwalkers-scandff/cases/scan_dff/materials/schematic.svg CHANGED
tasks/gf180mcuD/voidwalkers-scandff/cases/scan_dff/materials/testbench.spice CHANGED
@@ -7,12 +7,13 @@ VDD vdd 0 3.3
7
  VCLK clk 0 PULSE(0 3.3 10n .1n .1n 10n 20n)
8
  VRN rn 0 PWL(0 0 5n 0 5.1n 3.3 85n 3.3 85.1n 0 95n 0 95.1n 3.3)
9
  VS s 0 PWL(0 0 40n 0 40.1n 3.3 80n 3.3 80.1n 0)
10
- VA a 0 PWL(0 0 20n 0 20.1n 3.3 60n 3.3 60.1n 0 100n 0 100.1n 3.3 120n 3.3 120.1n 0)
11
  VB b 0 PWL(0 0 60n 0 60.1n 3.3)
12
  CLOAD q 0 50f
13
  XDUT s vdd q b clk a rn 0 gf180mcu_voidwalkers_sc_sdffrnq_4
14
  .control
15
- tran .01n 140n
 
16
  meas tran low19 find v(q) at=19n
17
  meas tran high39 find v(q) at=39n
18
  meas tran low59 find v(q) at=59n
@@ -21,6 +22,8 @@ meas tran reset89 find v(q) at=89n
21
  meas tran reset99 find v(q) at=99n
22
  meas tran high119 find v(q) at=119n
23
  meas tran low139 find v(q) at=139n
 
 
24
  * Measure effective CLK->Q arcs for functional and scan data, plus asynchronous reset.
25
  meas tran delay_data_rise trig v(clk) val=1.65 rise=1 td=100n targ v(q) val=1.65 rise=1 td=100n
26
  meas tran slew_data_rise trig v(q) val=0.66 rise=1 td=100n targ v(q) val=2.64 rise=1 td=100n
@@ -32,8 +35,13 @@ meas tran delay_scan_fall trig v(clk) val=1.65 rise=1 td=40n targ v(q) val=1.65
32
  meas tran slew_scan_fall trig v(q) val=2.64 fall=1 td=40n targ v(q) val=0.66 fall=1 td=40n
33
  meas tran delay_reset_fall trig v(rn) val=1.65 fall=1 td=80n targ v(q) val=1.65 fall=1 td=80n
34
  meas tran slew_reset_fall trig v(q) val=2.64 fall=1 td=80n targ v(q) val=0.66 fall=1 td=80n
 
 
 
 
 
35
  let pwr=-3.3*i(vdd)
36
- meas tran power_w avg pwr from=20n to=140n
37
  write waveform.raw
38
  quit
39
  .endc
 
7
  VCLK clk 0 PULSE(0 3.3 10n .1n .1n 10n 20n)
8
  VRN rn 0 PWL(0 0 5n 0 5.1n 3.3 85n 3.3 85.1n 0 95n 0 95.1n 3.3)
9
  VS s 0 PWL(0 0 40n 0 40.1n 3.3 80n 3.3 80.1n 0)
10
+ VA a 0 PWL(0 0 20n 0 20.1n 3.3 60n 3.3 60.1n 0 100n 0 100.1n 3.3 120n 3.3 120.1n 0 149.2n 0 149.3n 3.3 150.2n 3.3 150.3n 0 169.1n 0 169.2n 3.3 170.1n 3.3 170.2n 0 180.1n 0 180.2n 3.3 189.2n 3.3 189.3n 0 190.2n 0 190.3n 3.3 200n 3.3)
11
  VB b 0 PWL(0 0 60n 0 60.1n 3.3)
12
  CLOAD q 0 50f
13
  XDUT s vdd q b clk a rn 0 gf180mcu_voidwalkers_sc_sdffrnq_4
14
  .control
15
+ save i(vdd) v(clk) v(q) v(rn)
16
+ tran .01n 200n
17
  meas tran low19 find v(q) at=19n
18
  meas tran high39 find v(q) at=39n
19
  meas tran low59 find v(q) at=59n
 
22
  meas tran reset99 find v(q) at=99n
23
  meas tran high119 find v(q) at=119n
24
  meas tran low139 find v(q) at=139n
25
+ meas tran setup_rise_q find v(q) at=151.5n
26
+ meas tran setup_fall_q find v(q) at=191.5n
27
  * Measure effective CLK->Q arcs for functional and scan data, plus asynchronous reset.
28
  meas tran delay_data_rise trig v(clk) val=1.65 rise=1 td=100n targ v(q) val=1.65 rise=1 td=100n
29
  meas tran slew_data_rise trig v(q) val=0.66 rise=1 td=100n targ v(q) val=2.64 rise=1 td=100n
 
35
  meas tran slew_scan_fall trig v(q) val=2.64 fall=1 td=40n targ v(q) val=0.66 fall=1 td=40n
36
  meas tran delay_reset_fall trig v(rn) val=1.65 fall=1 td=80n targ v(q) val=1.65 fall=1 td=80n
37
  meas tran slew_reset_fall trig v(q) val=2.64 fall=1 td=80n targ v(q) val=0.66 fall=1 td=80n
38
+ * Exercise 0.8 ns A setup and 0.2 ns post-edge A hold around rising clock edges.
39
+ meas tran delay_setup_a_rise trig v(clk) val=1.65 rise=1 td=150n targ v(q) val=1.65 rise=1 td=150n
40
+ meas tran slew_setup_a_rise trig v(q) val=0.66 rise=1 td=150n targ v(q) val=2.64 rise=1 td=150n
41
+ meas tran delay_setup_a_fall trig v(clk) val=1.65 rise=1 td=190n targ v(q) val=1.65 fall=1 td=190n
42
+ meas tran slew_setup_a_fall trig v(q) val=2.64 fall=1 td=190n targ v(q) val=0.66 fall=1 td=190n
43
  let pwr=-3.3*i(vdd)
44
+ meas tran power_w avg pwr from=20n to=200n
45
  write waveform.raw
46
  quit
47
  .endc
tasks/gf180mcuD/voidwalkers-scandff/cases/scan_dff/problem.md CHANGED
@@ -6,29 +6,30 @@ Implement `gf180mcu_voidwalkers_sc_sdffrnq_4` in GF180MCU variant D while preser
6
 
7
  ## Inputs and Interface
8
 
9
- The delivered files are `materials/circuit.spice` (authoritative circuit), `materials/testbench.spice` (stimuli and measurements), and this problem. Runtime task metadata supplies the same frozen constraints, evaluation conditions and output declaration.
10
 
11
  Ordered subcircuit and GDS interface: `S, VDD, Q, B, CLK, A, RN, VSS`.
12
  VDD/VSS: supply/return; A: functional data; B: scan data; S: select (0=A, 1=B); CLK: rising-edge clock; RN: active-low asynchronous reset; Q: stored output.
13
 
14
- Preserve topology and total device width, channel length, multiplicity, resistor dimensions and body connections. Equivalent hierarchy, diffusion sharing and parallel-finger implementations are allowed when they pass connectivity and electrical checks. No source-model replacement, idealized internal device or changed device sizing is permitted. A dummy device remains part of the circuit even when its terminals are tied together.
15
 
16
  ## Operating Conditions
17
 
18
- Use 3.3 V and 27 C, a 50 fF Q load and the same 50 MHz clock throughout (first rise 10 ns, rise/fall 0.1 ns, high time 10 ns). Select A initially; select B at 40.1 ns; return to A at 80.1 ns. A rises at 20.1 ns, falls at 60.1 ns, rises at 100.1 ns and falls at 120.1 ns. B rises at 60.1 ns. RN starts low, releases at 5.1 ns, asserts at 85.1 ns and releases at 95.1 ns. All data/reset transitions take 0.1 ns, as specified in the testbench. Simulate through 140 ns.
19
 
20
- Use the reviewed typical primitive models with statistical variation disabled. Numerical parameters in the runtime simulation jobs supply the testbench's `parameters.spice`. Follow the delivered testbench for interpolation and detailed PWL definitions. This is a nominal compact-model task; temperature/process corners, mismatch yield, noise, RF/EM and full-chip density closure are outside its qualification scope.
 
 
21
 
22
  ## Physical Requirements
23
 
24
- Submit a nonempty GDS with top cell `gf180mcu_voidwalkers_sc_sdffrnq_4` and at most 10485760 bytes. Its functional bounding box must not exceed 80 by 80 um. All relevant device and routing polygons contribute, including implant/well, passive markers, contacts, vias and dummy routing. The complete layer/datatype set is:
25
 
26
  `[[5,0],[11,17],[11,39],[12,0],[13,17],[21,0],[22,0],[22,4],[24,0],[24,5],[30,0],[30,4],[31,0],[32,0],[33,0],[34,0],[34,3],[34,4],[34,5],[35,0],[36,0],[36,3],[36,4],[36,5],[37,0],[38,0],[40,0],[41,0],[42,0],[42,3],[42,4],[42,5],[46,0],[46,3],[46,4],[46,5],[49,0],[53,0],[53,3],[53,4],[53,5],[55,0],[62,0],[75,0],[80,5],[81,0],[81,3],[81,4],[81,5],[82,0],[86,17],[88,17],[96,1],[100,5],[100,7],[100,8],[108,5],[110,5],[110,11],[110,12],[110,13],[110,14],[110,15],[110,16],[111,5],[112,1],[115,5],[116,5],[117,5],[117,10],[118,5],[119,5],[122,5],[123,5],[124,5],[125,5],[127,5],[128,17],[137,5],[151,5],[152,5],[153,51],[166,5],[167,5],[173,5],[178,0],[183,0],[184,0],[185,0],[204,0],[210,0],[220,0],[226,0],[227,0],[241,0]]`.
27
 
28
- Text and nonfunctional boundary layers 0/0 and 63/0 are excluded from area. Functional geometry may not be hidden on annotation layers. Pass the pinned GF180 D FEOL, BEOL, connectivity, off-grid and antenna checks without marker waivers. The stack is five metals with 1.1 um top metal and the 1 kOhm/square high-resistance poly option. Chip-level density and seal-ring closure are integration responsibilities outside this standalone block.
29
-
30
- LVS checks device topology, dimensions, body connections and every named top-level pin (case insensitive). Supply and substrate/well contacts must be physical. Distinct electrical nets must not be joined by touching silicided diffusion. After validity and geometry gates, extract the submitted candidate's devices and distributed interconnect resistance and capacitance. Simulations use that extracted circuit. The substrate compact-model boundary is one equipotential bulk domain with explicit well/body contacts; this does not model a distributed silicon substrate network. Unreliable extraction, absent named ports or incomplete measurements cannot establish success.
31
 
 
32
 
33
  The standard-cell functional frame has fixed height 6.35 um and width on a 0.005 um grid. Coordinates below are relative to its lower-left functional bound; global translation remains allowed. Supply rails must be continuous on metal1 and bound by LVS to the named supply.
34
 
@@ -37,80 +38,55 @@ The standard-cell functional frame has fixed height 6.35 um and width on a 0.005
37
 
38
  ## Electrical Requirements and Scoring
39
 
40
- Physical checks and declared functional bounds remain mandatory. Quality has no
41
- fixed allowed-degradation threshold. Each `source_*` job simulates the declared
42
- source circuit with exactly the same testbench, model resources, parameters,
43
- load and measurement window as its paired extracted-candidate job. A source
44
- observation is the 100-point electrical baseline; it is independent of the
45
- submitted GDS. All individual pairs are retained in the evaluation report.
46
-
47
- For a post-layout observation x and its source observation b:
48
-
49
- - Maximize: q = x/b; minimize: q = b/x. When a numerical scale s is declared,
50
- use (x+s)/(b+s) or its inverse. This handles zero-valued error measurements;
51
- s is a normalization floor, not an allowed degradation or pass threshold.
52
- - Amplitude dB: q = 10^((x-b)/20) for maximize, its inverse for minimize.
53
- - Target: q = 1/(1+abs(x-b)/s), with a declared physical scale s. Signed and
54
- zero-valued operating points are never divided directly.
55
-
56
- Scoring uses `layout`. A metric uses its worst paired quality q. The score is
57
- S = 100 * product(q_i ** w_i), including area quality
58
- q_area = area_reference / candidate_functional_area. The weights below sum to
59
- one. Dimensions describe measurements but do not determine their weights.
60
- Physical or functional rejection scores zero; missing or invalid measurements
61
- produce an unknown score, including measurements with zero weight.
62
- Source-equivalent performance at the area reference scores 100; improvements
63
- can exceed 100. A weight expresses a tradeoff, not a hard acceptance limit.
64
-
65
- | Metric | Definition / observations | Unit | Quality rule | Functional bounds | Scale |
66
  | --- | --- | --- | --- | --- | --- |
67
- | `low` | Q at 19, 59, 89, 99 and 139 ns; the 89 ns sample checks asynchronous reset before the next rising clock. | V | functional check | −∞ … 0.33 | — |
68
- | `high` | Q at 39, 79 and 119 ns, exercising functional and scan data. | V | functional check | 2.97 … +∞ | — |
69
- | `propagation_delay` | Worst paired quality over: delay_data_rise, delay_data_fall, delay_scan_rise, delay_scan_fall, delay_reset_fall. | s | minimize / ratio | 0 … +∞ | — |
70
- | `output_transition` | Worst paired quality over: slew_data_rise, slew_data_fall, slew_scan_rise, slew_scan_fall, slew_reset_fall. | s | minimize / ratio | 0 … +∞ | — |
71
- | `supply` | Average VDD power over 20–140 ns. | W | minimize / ratio | 0 … +∞ | 1e-12 |
72
 
73
- Area reference: **175.5775 um2**. Complete functional bounding rectangle of the declared standard-cell reference GDS: 27.65 by 6.35 um = 175.577 um2. Reference SHA-256: ffd6654d5505bf6340acbb3061ad81fab36951badda45b3bd3a8448be0fa00ab. This footprint includes the maintained explicit taps and routing.
74
 
75
- The capability coefficient remains **5**; it is independent of
76
- the reference-relative task score.
77
 
78
- ### Standard-cell design guidance
79
 
80
- Plan the device rows, power rails and signal access before routing. Represent
81
- pull-up and pull-down connectivity as transistor-edge graphs; explore compatible
82
- Euler trails and alternative orderings to share diffusion and reduce breaks.
83
- Choose among legal orderings using routing length, parasitic loading and signal
84
- access, rather than diffusion sharing alone. Preserve the fixed netlist sizes,
85
- models and connectivity; size optimization is outside this task.
86
 
87
- Use the task's declared row height, grid and rail geometry. Keep local routes
88
- compact, leave signal pins accessible, and avoid consuming extra routing layers
89
- without benefit. Check DRC and named-port LVS, then extract the candidate and
90
- compare both transition directions and power with the source simulation. Iterate
91
- on measured parasitic effects rather than visual compactness alone. These are
92
- optional techniques, not a mandated algorithm or reference placement.
93
 
94
- Adapted from Xu et al., *Standard Cell Library Design and Optimization Methodology
95
- for ASAP7 PDK*, Sections 2–3 (https://arxiv.org/abs/1807.11396). Its FinFET sizing,
96
- track counts and process-specific dimensions do not apply to this task.
97
 
 
98
 
99
- ### Score weights
100
 
101
- Scan flip-flop: clock-to-output delay 51%; output transition 17%; supply power 17%; area 15%. Each objective's weight is divided equally among its metrics.
 
 
102
 
103
  | Metric | Weight |
104
  | --- | ---: |
105
- | `functional_area` | 0.15 |
106
- | `propagation_delay` | 0.510000000000 |
107
- | `output_transition` | 0.170000000000 |
108
- | `supply` | 0.170000000000 |
109
 
110
  ## Tools and Submission
111
 
112
  Solve budget: **3 hours**.
113
 
114
- Use runtime task, resource and harness discovery to locate the delivered inputs and reviewed GF180 resources. Trusted feedback runs the declared physical and post-layout evaluation; source-only simulation is useful for design but is not acceptance. Write the final GDS to `/workspace/output/final.gds` and explicitly submit it using the harness submission interface. A generated file or successful standalone simulation alone does not complete the task.
115
 
116
- Use a GDS database unit of 0.001 um, as required by the GF180MCU DRC deck.
 
6
 
7
  ## Inputs and Interface
8
 
9
+ Inputs are this description, `materials/circuit.spice` (the authoritative circuit) and `materials/testbench.spice` (stimuli and measurements). Runtime task metadata supplies consistent frozen constraints, evaluation conditions and output declarations.
10
 
11
  Ordered subcircuit and GDS interface: `S, VDD, Q, B, CLK, A, RN, VSS`.
12
  VDD/VSS: supply/return; A: functional data; B: scan data; S: select (0=A, 1=B); CLK: rising-edge clock; RN: active-low asynchronous reset; Q: stored output.
13
 
14
+ 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.
15
 
16
  ## Operating Conditions
17
 
18
+ Use 3.3 V and 27 C, a 50 fF Q load and the same 50 MHz clock throughout (first rise 10 ns, rise/fall 0.1 ns, high time 10 ns). Select A initially; select B at 40.1 ns; return to A at 80.1 ns. A rises at 20.1 ns, falls at 60.1 ns, rises at 100.1 ns and falls at 120.1 ns. B rises at 60.1 ns. RN starts low, releases at 5.1 ns, asserts at 85.1 ns and releases at 95.1 ns. All data/reset transitions take 0.1 ns, as specified in the testbench.
19
 
20
+ The testbench also checks two late-cycle A-to-Q cases at the nominal 50 MHz clock and 50 fF load. At each measured rising edge, A crosses 1.65 V 0.8 ns before the edge and makes the opposite transition 0.2 ns after it, exercising setup and hold behavior. It checks Q after the capture edge and source-pairs the corresponding clock-to-Q delay and output slew. These fixed setup/hold exercises do not measure minimum setup/hold time or establish timing signoff across corners. Simulate through 200 ns.
21
+
22
+ Use reviewed typical primitive models with statistical variation disabled. Numerical parameters from runtime simulation jobs generate the testbench's `parameters.spice`; interpolation and detailed PWL follow the delivered deck. Scope is limited to nominal compact-model conditions, excluding temperature/process corners, mismatch yield, noise, RF/EM and full-chip density closure.
23
 
24
  ## Physical Requirements
25
 
26
+ Submit a nonempty GDS with top cell `gf180mcu_voidwalkers_sc_sdffrnq_4`, no larger than 10485760 bytes. The functional bounding box must fit within 80 × 80 um and includes relevant device and routing polygons, implants/wells, passive markers, contacts, vias and dummy routing. The complete layer/datatype set is:
27
 
28
  `[[5,0],[11,17],[11,39],[12,0],[13,17],[21,0],[22,0],[22,4],[24,0],[24,5],[30,0],[30,4],[31,0],[32,0],[33,0],[34,0],[34,3],[34,4],[34,5],[35,0],[36,0],[36,3],[36,4],[36,5],[37,0],[38,0],[40,0],[41,0],[42,0],[42,3],[42,4],[42,5],[46,0],[46,3],[46,4],[46,5],[49,0],[53,0],[53,3],[53,4],[53,5],[55,0],[62,0],[75,0],[80,5],[81,0],[81,3],[81,4],[81,5],[82,0],[86,17],[88,17],[96,1],[100,5],[100,7],[100,8],[108,5],[110,5],[110,11],[110,12],[110,13],[110,14],[110,15],[110,16],[111,5],[112,1],[115,5],[116,5],[117,5],[117,10],[118,5],[119,5],[122,5],[123,5],[124,5],[125,5],[127,5],[128,17],[137,5],[151,5],[152,5],[153,51],[166,5],[167,5],[173,5],[178,0],[183,0],[184,0],[185,0],[204,0],[210,0],[220,0],[226,0],[227,0],[241,0]]`.
29
 
30
+ Area excludes text and nonfunctional boundary layers 0/0 and 63/0; functional geometry must remain on functional layers. Pass the fixed GF180 D FEOL, BEOL, connectivity, grid and antenna checks without waivers. Use five metal layers, the 1.1 um top-metal option and the 1 kOhm/square high-resistance poly option. Chip density and seal-ring closure belong to higher-level integration.
 
 
31
 
32
+ LVS checks topology, dimensions, body terminals and all named top-level ports, case-insensitively. Physically implement supply and substrate/well contacts; do not short different nets through adjoining silicided diffusion. After validity and geometric checks pass, extract candidate devices and distributed interconnect RC, then simulate the extracted circuit. The substrate model is one equipotential body region with explicit well/body contacts, rather than a distributed silicon-substrate network. Unreliable extraction, missing ports or incomplete measurements cannot establish success.
33
 
34
  The standard-cell functional frame has fixed height 6.35 um and width on a 0.005 um grid. Coordinates below are relative to its lower-left functional bound; global translation remains allowed. Supply rails must be continuous on metal1 and bound by LVS to the named supply.
35
 
 
38
 
39
  ## Electrical Requirements and Scoring
40
 
41
+ 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.
42
+
43
+ Let x be the post-layout measurement and b the declared quality target, or the same-condition source measurement when no target is declared:
44
+
45
+ - Ratio normalization: maximize with q = x/b and minimize with q = b/x. When a numerical scale s is declared, use (x+s)/(b+s) and its reciprocal, respectively. The scale handles zero values as a normalization floor; it is neither an allowed degradation nor an acceptance bound.
46
+ - Amplitude in dB: maximize with q = 10^((x-b)/20) and minimize with its reciprocal.
47
+ - Target normalization: q = 1/(1+abs(x-b)/s), where s is the declared physical scale. Signed or zero-valued operating points are not divided directly.
48
+
49
+ Use `layout` scoring. Each metric takes its worst paired quality q, and the total score is S = 100 * product(q_i ** w_i), with area quality q_area = area_target / candidate_functional_area. The weights below sum to 1; metric dimensions describe measurements and do not determine weights. Physical or functional rejection scores zero; missing or invalid measurements leave the score unknown, and zero-weight observations must also be valid. Joint attainment of the electrical and area targets scores 100 points; better valid solutions may exceed 100. A feasible reference is allowed to score far below 100. Weights express quality tradeoffs rather than hard bounds.
50
+
51
+ | Metric | Definition / observation | Unit | Quality normalization | Functional range | Scale |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  | --- | --- | --- | --- | --- | --- |
53
+ | `low` | Q at 19, 59, 89, 99 and 139 ns plus the 191.5 ns near-edge capture/hold check; the 89 ns sample checks asynchronous reset before the next rising clock. | V | functional check | −∞ … 0.33 | — |
54
+ | `high` | Q at 39, 79 and 119 ns plus the 151.5 ns near-edge capture/hold check, exercising functional and scan data. | V | functional check | 2.97 … +∞ | — |
55
+ | `propagation_delay` | Worst paired quality over the five existing data/scan/reset arcs and two additional A-data clock-to-Q arcs with 0.8 ns setup. | s | minimize / ratio | 0 … +∞ | — |
56
+ | `output_transition` | Worst paired quality over the five existing data/scan/reset arcs and the two additional A-data output-slew arcs with 0.8 ns setup. | s | minimize / ratio | 0 … +∞ | — |
57
+ | `supply` | Average VDD power over 20–200 ns, including the late-cycle timing stimuli. | W | minimize / ratio | 0 … +∞ | 1e-12 |
58
 
59
+ The area scoring target is **100 um2**. It is a continuous quality goal, not a hard limit, process minimum or a percentage of the current feasibility witness.
60
 
61
+ - `propagation_delay`: **5.5e-10 s**. Keep all declared clock/data/reset-to-Q timing observations within 550 ps at 50 fF, including the late-cycle capture exercises.
 
62
 
63
+ The 100 um2 area goal rewards compact latch, clock and scan-multiplexer placement. Timing 45% and area 40% expose clock/internal-node routing cost, with 10% slew and 5% power. The 550 ps target is close to the slowest source path. Fixed setup/hold exercises establish correct capture, not a characterized minimum setup or hold time.
64
 
65
+ Quality targets do not impose additional functional cutoffs. Metrics without an explicit target retain their same-condition source anchors.
 
 
 
 
 
66
 
67
+ The capability coefficient is **5**, independent of this task's reference-normalized score.
 
 
 
 
 
68
 
69
+ ### Standard-cell design guidance
 
 
70
 
71
+ You may plan device rows, supply rails and signal access before routing. Represent pull-up/pull-down connections as transistor-edge graphs and explore compatible Euler paths and alternative orders to share diffusion and reduce breaks. Choose a legal arrangement considering routing length, parasitics and signal access. Keep fixed netlist sizes, models and connections; do not optimize sizing.
72
 
73
+ Use the declared row height, grid and supply-rail geometry. Keep local routing compact and signal pins accessible, avoiding routing layers with no benefit. Check DRC and named-port LVS, then extract the candidate and compare transitions in both directions and power against source simulation; iterate using parasitic measurements. These methods are optional and do not prescribe an algorithm or reference layout.
74
 
75
+ These methods refer to Sections 2–3 of Xu et al., *Standard Cell Library Design and Optimization Methodology for ASAP7 PDK* (https://arxiv.org/abs/1807.11396). Its FinFET sizing, track count and process-specific dimensions do not apply to this task.
76
+
77
+ ### Score weights
78
 
79
  | Metric | Weight |
80
  | --- | ---: |
81
+ | `functional_area` | 0.4 |
82
+ | `propagation_delay` | 0.45 |
83
+ | `output_transition` | 0.1 |
84
+ | `supply` | 0.05 |
85
 
86
  ## Tools and Submission
87
 
88
  Solve budget: **3 hours**.
89
 
90
+ Discover inputs and reviewed GF180 resources through the runtime task, resource and submission protocols. Trusted feedback executes the declared physical and post-layout evaluation; source simulation only assists design. Write the final GDS to `/workspace/output/final.gds` and explicitly submit through the runtime protocol. File generation or a successful standalone simulation alone does not complete the task.
91
 
92
+ Use a GDS database unit of 0.001 um as required by GF180MCU DRC rules.
tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/comparator/case.toml CHANGED
@@ -1,15 +1,15 @@
1
- in_core = false
2
  kind = "layout_case"
3
  id = "module_3_8_bit_SAR_ADC.part_5_analog_layout.comparator"
4
  title = "IHP AnalogAcademy comparator"
5
  status = "qualified"
 
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
- sha256 = "6555f7c6a8b7a3330ccb93621458f99753c3ceadd7acab40fb9610bd64edf3c1"
13
 
14
  [[assets]]
15
  path = "reference/DIFF_COMPARATOR.gds"
@@ -27,24 +27,24 @@ environment = "ihp-sg13g2-comparator-rc-tt"
27
 
28
  [task.inputs.description]
29
  path = "problem.md"
30
- sha256 = "c15d95f6e71753ce74b456e4f0b8ff70ab3ebd15fb6b15f7bfe261f8358f653a"
31
  format = "text"
 
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
35
- sha256 = "0fe0279db5d2975dec32196670118a05d0dd9a240e7f70b642c94e0a7ec80a4c"
36
  format = "spice"
37
  subcircuit = "DIFF_COMPARATOR"
 
38
 
39
  [task.inputs.simulation]
40
  path = "materials/circuit.spice"
41
- sha256 = "daffa3508cb005a2a96651e48ec56909c94596208d48cbc099e24702f8f72221"
42
  format = "spice"
 
43
 
44
  [task.inputs.performance]
45
  path = "materials/testbench.spice"
46
- sha256 = "61d8165d7b359539cebe3a94815dcbd22cede35ca87c393e345832523f3c4c8e"
47
  format = "spice"
 
48
 
49
  [task.constraints]
50
  quality = [
@@ -576,7 +576,10 @@ baseline = [
576
  "source_positive_5mv:delay_c09",
577
  ]
578
  normalization = "ratio"
 
 
579
  lower = 0
 
580
 
581
  [[task.evaluation.metrics]]
582
  id = "decision_margin"
@@ -618,7 +621,10 @@ observations = [
618
  unit = "V"
619
  direction = "maximize"
620
  aggregation = "min"
 
 
621
  lower = 1.0
 
622
 
623
  [[task.evaluation.metrics]]
624
  id = "supply_power"
@@ -640,14 +646,17 @@ baseline = [
640
  "source_positive_5mv:supply_power",
641
  ]
642
  normalization = "ratio"
643
- lower = 0
644
  scale = 1e-12
645
 
 
 
 
 
646
  [task.evaluation.pre_layout]
647
- source_report_sha256 = "3a8ba863ecaddad4b7a01a0ac94e32a8770b03b0d7aeda98f3fcf1f88c2e56f5"
648
 
649
  [task.evaluation.pre_layout.backends]
650
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"ef9cb87fa27b849376472663b7362673979b89e012f161ba47bb5f6af6ede8eb\", \"compatibility\": null, \"execution_sha256\": \"5424b579002782bfddf0a729715b8fbf2a5f7f2b4cf14982d7616e352d5de9be\", \"image_id\": \"sha256:6562558774d43c085a289bbba696c55959eb8051a0996f96633451fbeb9c652d\", \"limits\": {\"cpus\": 4, \"memory_mb\": 4096, \"pids\": 256}, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"30c5b5b710850a636e75d962f27982d72b8b68307dd77a34df044e2a3b07d34b\", \"timeout_seconds\": 600.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******\"}"
651
 
652
  [task.evaluation.pre_layout.jobs.source_negative_5mv]
653
  operation = "circuit.simulate"
@@ -757,6 +766,9 @@ unit = "V"
757
  value = 5.722953e-05
758
  unit = "W"
759
 
 
 
 
760
  [task.evaluation.pre_layout.jobs.source_negative_3mv]
761
  operation = "circuit.simulate"
762
 
@@ -865,6 +877,9 @@ unit = "V"
865
  value = 5.815247e-05
866
  unit = "W"
867
 
 
 
 
868
  [task.evaluation.pre_layout.jobs.source_positive_3mv]
869
  operation = "circuit.simulate"
870
 
@@ -973,6 +988,9 @@ unit = "V"
973
  value = 5.782437e-05
974
  unit = "W"
975
 
 
 
 
976
  [task.evaluation.pre_layout.jobs.source_positive_5mv]
977
  operation = "circuit.simulate"
978
 
@@ -1081,11 +1099,14 @@ unit = "V"
1081
  value = 5.667991e-05
1082
  unit = "W"
1083
 
 
 
 
1084
  [toolchain.backends.artifact]
1085
  type = "klayout-docker"
1086
 
1087
  [toolchain.backends.artifact.settings]
1088
- image = "iclayout-bench-tools:local"
1089
  check = "artifact"
1090
 
1091
  [toolchain.backends.drc]
@@ -1095,7 +1116,7 @@ type = "klayout-docker"
1095
  support = "klayout"
1096
 
1097
  [toolchain.backends.drc.settings]
1098
- image = "iclayout-bench-tools:local"
1099
  check = "drc"
1100
  support = "build/support/comparator-klayout"
1101
  profile = "drc-upstream.json"
@@ -1108,7 +1129,7 @@ type = "klayout-docker"
1108
  support = "klayout"
1109
 
1110
  [toolchain.backends.lvs.settings]
1111
- image = "iclayout-bench-tools:local"
1112
  check = "lvs"
1113
  support = "build/support/comparator-klayout"
1114
  profile = "lvs-upstream.json"
@@ -1118,7 +1139,7 @@ timeout_seconds = 600
1118
  type = "klayout-geometry-docker"
1119
 
1120
  [toolchain.backends.geometry.settings]
1121
- image = "iclayout-bench-tools:local"
1122
  timeout_seconds = 120
1123
 
1124
  [toolchain.backends.rc]
@@ -1128,7 +1149,7 @@ type = "magic-rc-docker"
1128
  support = "magic"
1129
 
1130
  [toolchain.backends.rc.settings]
1131
- image = "iclayout-bench-tools:local"
1132
  support = "build/support/comparator-magic"
1133
  technology = "magic/ihp-sg13g2.tech"
1134
  tech_name = "ihp-sg13g2"
@@ -1143,7 +1164,10 @@ type = "ngspice-docker"
1143
  support = "analog-models"
1144
 
1145
  [toolchain.backends.simulation.settings]
1146
- image = "iclayout-bench-tools:local"
 
 
 
1147
  support = "build/support/comparator-analog-models"
1148
  timeout_seconds = 600
1149
 
 
 
1
  kind = "layout_case"
2
  id = "module_3_8_bit_SAR_ADC.part_5_analog_layout.comparator"
3
  title = "IHP AnalogAcademy comparator"
4
  status = "qualified"
5
+ in_core = false
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
+ sha256 = "cfc9095bb59e3408eab339880f64e488005f2861c257ea6ee942ef46a0aa85de"
13
 
14
  [[assets]]
15
  path = "reference/DIFF_COMPARATOR.gds"
 
27
 
28
  [task.inputs.description]
29
  path = "problem.md"
 
30
  format = "text"
31
+ sha256 = "2a80ec3a49eab643333d8121018e7228a1ba1dd2464a1370d8837611c7e88f3e"
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
 
35
  format = "spice"
36
  subcircuit = "DIFF_COMPARATOR"
37
+ sha256 = "0fe0279db5d2975dec32196670118a05d0dd9a240e7f70b642c94e0a7ec80a4c"
38
 
39
  [task.inputs.simulation]
40
  path = "materials/circuit.spice"
 
41
  format = "spice"
42
+ sha256 = "daffa3508cb005a2a96651e48ec56909c94596208d48cbc099e24702f8f72221"
43
 
44
  [task.inputs.performance]
45
  path = "materials/testbench.spice"
 
46
  format = "spice"
47
+ sha256 = "61d8165d7b359539cebe3a94815dcbd22cede35ca87c393e345832523f3c4c8e"
48
 
49
  [task.constraints]
50
  quality = [
 
576
  "source_positive_5mv:delay_c09",
577
  ]
578
  normalization = "ratio"
579
+
580
+ [task.evaluation.metrics.requirement]
581
  lower = 0
582
+ rationale = "The observed frequency or ordered-event interval has a nonnegative measurement domain, and its required crossing must exist for a usable observation."
583
 
584
  [[task.evaluation.metrics]]
585
  id = "decision_margin"
 
621
  unit = "V"
622
  direction = "maximize"
623
  aggregation = "min"
624
+
625
+ [task.evaluation.metrics.requirement]
626
  lower = 1.0
627
+ rationale = "The clocked comparator must hold the polarity-correct 1 V differential logic decision throughout every declared decision window, matching the decision threshold used for timing."
628
 
629
  [[task.evaluation.metrics]]
630
  id = "supply_power"
 
646
  "source_positive_5mv:supply_power",
647
  ]
648
  normalization = "ratio"
 
649
  scale = 1e-12
650
 
651
+ [task.evaluation.metrics.requirement]
652
+ lower = 0
653
+ rationale = "The declared powered circuit or driven switching network must consume nonnegative net supply/driver energy or quiescent current under the complete stated observation."
654
+
655
  [task.evaluation.pre_layout]
656
+ source_report_sha256 = "a394889677327cea33683d1a1d7656cb18c7cabc8363cc74d777e22d3f6f9afd"
657
 
658
  [task.evaluation.pre_layout.backends]
659
+ "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\": \"dce84f0cb44c7192511c807348bb3852682b1b4ec71ee94055876cb79ccbbdb1\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 600.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******\"}"
660
 
661
  [task.evaluation.pre_layout.jobs.source_negative_5mv]
662
  operation = "circuit.simulate"
 
766
  value = 5.722953e-05
767
  unit = "W"
768
 
769
+ [task.evaluation.pre_layout.jobs.source_negative_5mv.output_sha256]
770
+ waveform = "2e45ec295299cba6a91602496fcf77c74a8f04ee22222d58138d5d8d6c1198b5"
771
+
772
  [task.evaluation.pre_layout.jobs.source_negative_3mv]
773
  operation = "circuit.simulate"
774
 
 
877
  value = 5.815247e-05
878
  unit = "W"
879
 
880
+ [task.evaluation.pre_layout.jobs.source_negative_3mv.output_sha256]
881
+ waveform = "e5129f1f45095560be335028e88030799611d03e1be05e2264b6a4972b92b76b"
882
+
883
  [task.evaluation.pre_layout.jobs.source_positive_3mv]
884
  operation = "circuit.simulate"
885
 
 
988
  value = 5.782437e-05
989
  unit = "W"
990
 
991
+ [task.evaluation.pre_layout.jobs.source_positive_3mv.output_sha256]
992
+ waveform = "a73ee16b6882e0ee905cd0fe3e2cb743b88f70a944da2030e20d47b3c5cd2a01"
993
+
994
  [task.evaluation.pre_layout.jobs.source_positive_5mv]
995
  operation = "circuit.simulate"
996
 
 
1099
  value = 5.667991e-05
1100
  unit = "W"
1101
 
1102
+ [task.evaluation.pre_layout.jobs.source_positive_5mv.output_sha256]
1103
+ waveform = "96f7d3ea97f82f75fc54b1bf367873f9f7fce58dab855672c5b5a5c60db8836f"
1104
+
1105
  [toolchain.backends.artifact]
1106
  type = "klayout-docker"
1107
 
1108
  [toolchain.backends.artifact.settings]
1109
+ image = "iclayout-eda-open:local"
1110
  check = "artifact"
1111
 
1112
  [toolchain.backends.drc]
 
1116
  support = "klayout"
1117
 
1118
  [toolchain.backends.drc.settings]
1119
+ image = "iclayout-eda-open:local"
1120
  check = "drc"
1121
  support = "build/support/comparator-klayout"
1122
  profile = "drc-upstream.json"
 
1129
  support = "klayout"
1130
 
1131
  [toolchain.backends.lvs.settings]
1132
+ image = "iclayout-eda-open:local"
1133
  check = "lvs"
1134
  support = "build/support/comparator-klayout"
1135
  profile = "lvs-upstream.json"
 
1139
  type = "klayout-geometry-docker"
1140
 
1141
  [toolchain.backends.geometry.settings]
1142
+ image = "iclayout-eda-open:local"
1143
  timeout_seconds = 120
1144
 
1145
  [toolchain.backends.rc]
 
1149
  support = "magic"
1150
 
1151
  [toolchain.backends.rc.settings]
1152
+ image = "iclayout-eda-open:local"
1153
  support = "build/support/comparator-magic"
1154
  technology = "magic/ihp-sg13g2.tech"
1155
  tech_name = "ihp-sg13g2"
 
1164
  support = "analog-models"
1165
 
1166
  [toolchain.backends.simulation.settings]
1167
+ max_parallel_jobs = 8
1168
+ threads = 1
1169
+ cpu_budget = 8
1170
+ image = "iclayout-eda-open:local"
1171
  support = "build/support/comparator-analog-models"
1172
  timeout_seconds = 600
1173
 
tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/comparator/materials/schematic.svg CHANGED
tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/comparator/problem.md CHANGED
@@ -10,9 +10,7 @@ meet the clocked decision requirements after candidate-derived RC extraction.
10
 
11
  ## Inputs and Interface
12
 
13
- In addition to this problem, the solver receives the following declared
14
- materials. The structured constraints
15
- and evaluation plan are also available at runtime through `/protocol/task.json`.
16
 
17
  | Input | Purpose |
18
  |---|---|
@@ -66,8 +64,7 @@ current `lvs-upstream.json` profile and strict named-port matching against
66
  `materials/circuit.cdl`; port names are matched case-insensitively, while every
67
  declared port must remain on its own conductor with the declared connectivity.
68
 
69
- The functional outline is the recursive bounding box of polygons on these
70
- SG13G2 datatype-0 layers, including child cells and the complete routing stack:
71
 
72
  `1, 3, 5, 6, 7, 8, 10, 11, 13, 14, 19, 24, 26, 28, 29, 30, 31, 32, 33, 35, 36, 40, 44, 46, 49, 50, 51, 52, 53, 55, 58, 66, 67, 90, 101, 111, 125, 126, 128, 129, 133, 134, 139, 152`.
73
 
@@ -88,57 +85,31 @@ extraction choice.
88
 
89
  ## Electrical Requirements and Scoring
90
 
91
- Physical checks and declared functional bounds remain mandatory. Quality has no
92
- fixed allowed-degradation threshold. Each `source_*` job simulates the declared
93
- source circuit with exactly the same testbench, model resources, parameters,
94
- load and measurement window as its paired extracted-candidate job. A source
95
- observation is the 100-point electrical baseline; it is independent of the
96
- submitted GDS. All individual pairs are retained in the evaluation report.
97
-
98
- For a post-layout observation x and its source observation b:
99
-
100
- - Maximize: q = x/b; minimize: q = b/x. When a numerical scale s is declared,
101
- use (x+s)/(b+s) or its inverse. This handles zero-valued error measurements;
102
- s is a normalization floor, not an allowed degradation or pass threshold.
103
- - Amplitude dB: q = 10^((x-b)/20) for maximize, its inverse for minimize.
104
- - Target: q = 1/(1+abs(x-b)/s), with a declared physical scale s. Signed and
105
- zero-valued operating points are never divided directly.
106
-
107
- Scoring uses `layout`. A metric uses its worst paired quality q. The score is
108
- S = 100 * product(q_i ** w_i), including area quality
109
- q_area = area_reference / candidate_functional_area. The weights below sum to
110
- one. Dimensions describe measurements but do not determine their weights.
111
- Physical or functional rejection scores zero; missing or invalid measurements
112
- produce an unknown score, including measurements with zero weight.
113
- Source-equivalent performance at the area reference scores 100; improvements
114
- can exceed 100. A weight expresses a tradeoff, not a hard acceptance limit.
115
-
116
- Measurement definitions below use the supplied SPICE node/source names.
117
- `v(n)` is node voltage and `i(V)` is current into a voltage source; delivered
118
- power therefore uses a minus sign. `db(z)=20*log10(abs(z))`, `mag/abs`
119
- denote magnitude, and `cph` is continuous phase in radians. `find`, `when`,
120
- `from/to`, and `rise/fall` retain the deck's interpolation, window and
121
- crossing conventions; SPICE suffixes p/n/u/m/meg/g mean pico/nano/micro/
122
- milli/mega/giga. Nested `avg`, `min`, `max`, `vecmin/vecmax` and `deriv`
123
- mean the stated window average, extrema and sampled derivative. All
124
- declared conditions are measured separately and paired with the same
125
- source condition; a group uses its worst paired quality.
126
-
127
- | Metric | Definition / observations | Unit | Quality rule | Functional bounds | Scale | Dimension |
128
  | --- | --- | --- | --- | --- | --- | --- |
129
  | `worst_delay` | Clock falling through 0.6 V to polarity-correct output difference reaching 1 V in cycles 2–9 (trigger delays 20–90 ns; target search starts 5.75 ns later). Every cycle and input condition is paired; the worst quality is scored. | s | minimize / ratio | 0 … +∞ | — | response |
130
  | `decision_margin` | Minimum polarity*(V(OUTP)-V(OUTM)) in each 1 ns decision window, 28.75–29.75 ns through 98.75–99.75 ns; all eight cycles and four signed input conditions must pass. | V | functional check | 1.0 … +∞ | — | functional check |
131
  | `supply_power` | Mean delivered VDD power, -V(VDD)*I(VDD), over 20–100 ns, independently for each signed input condition. | W | minimize / ratio | 0 … +∞ | 1e-12 | supply |
132
 
133
- Area reference: **502.96 um2**. 24 expanded device instances; sum of device/contact envelopes 306.3377 um2, per-side envelope allowance 0.6 um, 50% routing allowance and total outer width/height allowance 1.2 um. Estimate = ceil(100 * (1.5 * envelope_sum + 2 * margin * sqrt(envelope_sum) + margin^2)) / 100. Here margin is the total allowance across two opposite sides; the envelope sum is displayed rounded to four decimals. MOS/passive envelopes use declared W/L (or resistor dimensions) and multiplicity; explicit tap areas and HBT emitter/contact envelopes are included. This is a frozen engineering estimate, not a foundry minimum or a feasibility claim.
134
-
135
- The capability coefficient remains **6**; it is independent of
136
- the reference-relative task score.
137
 
 
138
 
139
  ### Score weights
140
 
141
- Clocked comparators: decision delay 71.1%; supply power 18.9%; area 10%. Each objective's weight is divided equally among its metrics.
142
 
143
  | Metric | Weight |
144
  | --- | ---: |
@@ -164,7 +135,4 @@ netlist produced by candidate-derived RC extraction. If the harness declares
164
  `process-feedback`, the optional command is
165
  `python -I /protocol/process_check.py`; the final evaluation remains independent.
166
 
167
- Write the result to `/workspace/output/final.gds`, then run
168
- `python -I /protocol/submit.py` and wait for the submission receipt. Solver
169
- netlists, waveforms, and measurements are not accepted as substitutes for the
170
- independent evaluator inputs.
 
10
 
11
  ## Inputs and Interface
12
 
13
+ In addition to this description, the solver receives the following declared materials. The runtime `/protocol/task.json` also supplies structured constraints and the evaluation plan.
 
 
14
 
15
  | Input | Purpose |
16
  |---|---|
 
64
  `materials/circuit.cdl`; port names are matched case-insensitively, while every
65
  declared port must remain on its own conductor with the declared connectivity.
66
 
67
+ The functional outline is the recursive bounding box of polygons on the following SG13G2 datatype-0 layers, including child cells and every routing layer:
 
68
 
69
  `1, 3, 5, 6, 7, 8, 10, 11, 13, 14, 19, 24, 26, 28, 29, 30, 31, 32, 33, 35, 36, 40, 44, 46, 49, 50, 51, 52, 53, 55, 58, 66, 67, 90, 101, 111, 125, 126, 128, 129, 133, 134, 139, 152`.
70
 
 
85
 
86
  ## Electrical Requirements and Scoring
87
 
88
+ 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.
89
+
90
+ Let x be the post-layout measurement and b the source-circuit measurement under the same conditions:
91
+
92
+ - Ratio normalization: maximize with q = x/b and minimize with q = b/x. When a numerical scale s is declared, use (x+s)/(b+s) and its reciprocal, respectively. The scale handles zero values as a normalization floor; it is neither an allowed degradation nor an acceptance bound.
93
+ - Amplitude in dB: maximize with q = 10^((x-b)/20) and minimize with its reciprocal.
94
+ - Target normalization: q = 1/(1+abs(x-b)/s), where s is the declared physical scale. Signed or zero-valued operating points are not divided directly.
95
+
96
+ Use `layout` scoring. Each metric takes its worst paired quality q, and the total score is S = 100 * product(q_i ** w_i), with area quality q_area = area_reference / candidate_functional_area. The weights below sum to 1; metric dimensions describe measurements and do not determine weights. Physical or functional rejection scores zero; missing or invalid measurements leave the score unknown, and zero-weight observations must also be valid. Matching source-circuit performance at the reference area scores 100 points; better valid solutions may exceed 100. Weights express quality tradeoffs rather than hard bounds.
97
+
98
+ The measurements below use the supplied SPICE node and source names. `v(n)` is a node voltage; `i(V)` is current flowing into a voltage source, so delivered power uses a negative sign. `db(z)=20*log10(abs(z))`; `mag/abs` denote magnitude, and `cph` denotes continuous phase in radians. `find`, `when`, `from/to` and `rise/fall` follow the deck's interpolation, window and crossing conventions. SPICE suffixes p/n/u/m/meg/g mean pico/nano/micro/milli/mega/giga. Nested `avg`, `min`, `max`, `vecmin/vecmax` and `deriv` represent window averages, extrema and sampled derivatives. Measure each operating condition independently, pair it with the source result under that condition, and take the worst paired quality within each metric group.
99
+
100
+ | Metric | Definition / observation | Unit | Quality normalization | Functional range | Scale | Dimension |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  | --- | --- | --- | --- | --- | --- | --- |
102
  | `worst_delay` | Clock falling through 0.6 V to polarity-correct output difference reaching 1 V in cycles 2–9 (trigger delays 20–90 ns; target search starts 5.75 ns later). Every cycle and input condition is paired; the worst quality is scored. | s | minimize / ratio | 0 … +∞ | — | response |
103
  | `decision_margin` | Minimum polarity*(V(OUTP)-V(OUTM)) in each 1 ns decision window, 28.75–29.75 ns through 98.75–99.75 ns; all eight cycles and four signed input conditions must pass. | V | functional check | 1.0 … +∞ | — | functional check |
104
  | `supply_power` | Mean delivered VDD power, -V(VDD)*I(VDD), over 20–100 ns, independently for each signed input condition. | W | minimize / ratio | 0 … +∞ | 1e-12 | supply |
105
 
106
+ Area reference: **502.96 um2**. The expanded circuit has 24 device instances, a sum of device/contact envelopes 306.3377 um2, a one-sided envelope margin of 0.6 um, a routing allowance of 50%, and a total outer width/height allowance 1.2 um. Estimate = ceil(100 * (1.5 * envelope_sum + 2 * margin * sqrt(envelope_sum) + margin^2)) / 100. Here margin is the total allowance across both sides, and the envelope sum is displayed to four decimal places. MOS/passive envelopes use W/L (or resistor dimensions) and multiplicity, including explicit contacts and HBT emitter/contact envelopes. This is a frozen engineering estimate, not a process minimum or a proven achievable area.
 
 
 
107
 
108
+ The capability coefficient is **6**, independent of this task's reference-normalized score.
109
 
110
  ### Score weights
111
 
112
+ Clocked comparator: decision delay 71.1%, supply power 18.9%, area 10%; each objective weight is divided equally among its metrics.
113
 
114
  | Metric | Weight |
115
  | --- | ---: |
 
135
  `process-feedback`, the optional command is
136
  `python -I /protocol/process_check.py`; the final evaluation remains independent.
137
 
138
+ Write the result to `/workspace/output/final.gds`, run `python -I /protocol/submit.py` and wait for a submission receipt. Solver netlists, waveforms and measurements cannot replace independent evaluator inputs.
 
 
 
tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/full_OTA/case.toml CHANGED
@@ -1,15 +1,15 @@
1
- in_core = false
2
  kind = "layout_case"
3
  id = "module_1_bandgap_reference.part_3_layout.OTA_layout.full_OTA"
4
  title = "IHP AnalogAcademy full_OTA"
5
  status = "qualified"
 
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
- sha256 = "d02c9549e1d7ef313f774236268cc2f80b6efb6d7c764002fe118bd0a651f70f"
13
 
14
  [[assets]]
15
  path = "reference/two_stage_OTA_layout.gds"
@@ -27,24 +27,24 @@ environment = "ihp-sg13g2-full-ota-rc-tt"
27
 
28
  [task.inputs.description]
29
  path = "problem.md"
30
- sha256 = "ab78fb43d86ffe211d3ae76848a0459a591d1631e1c8d287659b8518a530f1a8"
31
  format = "text"
 
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
35
- sha256 = "b26120b95af66cc4075ac9d12a25444b6badbe7e2c96b50d7a1bd7a15b0cf409"
36
  format = "spice"
37
  subcircuit = "two_stage_OTA_layout"
 
38
 
39
  [task.inputs.simulation]
40
  path = "materials/circuit.spice"
41
- sha256 = "2c82bb396be0377ae24ee933e5402f87edf9e5da5f2c509774e6ff5c50705a20"
42
  format = "spice"
 
43
 
44
  [task.inputs.performance]
45
  path = "materials/testbench.spice"
46
- sha256 = "62851f9d9bf6754a4d9b70ca2d9d63a0fd6241ae5e65b289fc5e2e8882469bea"
47
  format = "spice"
 
48
 
49
  [task.constraints]
50
  quality = [
@@ -402,7 +402,10 @@ baseline = [
402
  "source_nominal:unity_gain_bandwidth",
403
  ]
404
  normalization = "ratio"
 
 
405
  lower = 0
 
406
 
407
  [[task.evaluation.metrics]]
408
  id = "phase_margin"
@@ -419,8 +422,11 @@ baseline = [
419
  ]
420
  normalization = "target"
421
  scale = 180
 
 
422
  lower = 0
423
  upper = 180
 
424
 
425
  [[task.evaluation.metrics]]
426
  id = "supply_power"
@@ -436,9 +442,12 @@ baseline = [
436
  "source_nominal:supply_power",
437
  ]
438
  normalization = "ratio"
439
- lower = 0
440
  scale = 1e-12
441
 
 
 
 
 
442
  [[task.evaluation.metrics]]
443
  id = "output_bias"
444
  category = "performance"
@@ -454,14 +463,17 @@ baseline = [
454
  ]
455
  normalization = "target"
456
  scale = 1.2
 
 
457
  lower = 0
458
  upper = 1.2
 
459
 
460
  [task.evaluation.pre_layout]
461
- source_report_sha256 = "3f51127da701e18e468482e3f12272f1923ec7764474fe59fa890f3ef0ed8e69"
462
 
463
  [task.evaluation.pre_layout.backends]
464
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"ef9cb87fa27b849376472663b7362673979b89e012f161ba47bb5f6af6ede8eb\", \"compatibility\": null, \"execution_sha256\": \"5424b579002782bfddf0a729715b8fbf2a5f7f2b4cf14982d7616e352d5de9be\", \"image_id\": \"sha256:6562558774d43c085a289bbba696c55959eb8051a0996f96633451fbeb9c652d\", \"limits\": {\"cpus\": 4, \"memory_mb\": 4096, \"pids\": 256}, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"46a60326db6f55e6517e1b351825550ad9e1a19b30e7ba8579189923428f2c9c\", \"timeout_seconds\": 600.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******\"}"
465
 
466
  [task.evaluation.pre_layout.jobs.source_nominal]
467
  operation = "circuit.simulate"
@@ -486,7 +498,7 @@ supply_power = "W"
486
  output_bias = "V"
487
 
488
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
489
- deck = "62851f9d9bf6754a4d9b70ca2d9d63a0fd6241ae5e65b289fc5e2e8882469bea"
490
  dut = "2c82bb396be0377ae24ee933e5402f87edf9e5da5f2c509774e6ff5c50705a20"
491
 
492
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.low_frequency_gain]
@@ -509,11 +521,15 @@ unit = "W"
509
  value = 4148602.0
510
  unit = "Hz"
511
 
 
 
 
 
512
  [toolchain.backends.artifact]
513
  type = "klayout-docker"
514
 
515
  [toolchain.backends.artifact.settings]
516
- image = "iclayout-bench-tools:local"
517
  check = "artifact"
518
 
519
  [toolchain.backends.drc]
@@ -523,7 +539,7 @@ type = "klayout-docker"
523
  support = "klayout"
524
 
525
  [toolchain.backends.drc.settings]
526
- image = "iclayout-bench-tools:local"
527
  check = "drc"
528
  support = "build/support/full-ota-klayout-spice"
529
  profile = "drc-upstream.json"
@@ -536,7 +552,7 @@ type = "klayout-docker"
536
  support = "klayout"
537
 
538
  [toolchain.backends.lvs.settings]
539
- image = "iclayout-bench-tools:local"
540
  check = "lvs"
541
  support = "build/support/full-ota-klayout-spice"
542
  profile = "lvs-upstream.json"
@@ -549,7 +565,7 @@ type = "magic-rc-docker"
549
  support = "magic"
550
 
551
  [toolchain.backends.rc.settings]
552
- image = "iclayout-bench-tools:local"
553
  support = "build/support/full-ota-magic"
554
  technology = "magic/ihp-sg13g2.tech"
555
  tech_name = "ihp-sg13g2"
@@ -561,7 +577,7 @@ timeout_seconds = 600
561
  type = "klayout-geometry-docker"
562
 
563
  [toolchain.backends.geometry.settings]
564
- image = "iclayout-bench-tools:local"
565
  timeout_seconds = 120
566
 
567
  [toolchain.backends.simulation]
@@ -571,7 +587,10 @@ type = "ngspice-docker"
571
  support = "analog-models"
572
 
573
  [toolchain.backends.simulation.settings]
574
- image = "iclayout-bench-tools:local"
 
 
 
575
  support = "build/support/full-ota-models"
576
  timeout_seconds = 600
577
 
 
 
1
  kind = "layout_case"
2
  id = "module_1_bandgap_reference.part_3_layout.OTA_layout.full_OTA"
3
  title = "IHP AnalogAcademy full_OTA"
4
  status = "qualified"
5
+ in_core = false
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
+ sha256 = "d0ffea6b17b397105057f93491c5f44dce93f8e3f7723c7202cd403569a5fd05"
13
 
14
  [[assets]]
15
  path = "reference/two_stage_OTA_layout.gds"
 
27
 
28
  [task.inputs.description]
29
  path = "problem.md"
 
30
  format = "text"
31
+ sha256 = "0c9b66663404284688d7bfd47bb08eb5a5e38cf252f336e3759e37bfe14b9cc6"
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
 
35
  format = "spice"
36
  subcircuit = "two_stage_OTA_layout"
37
+ sha256 = "b26120b95af66cc4075ac9d12a25444b6badbe7e2c96b50d7a1bd7a15b0cf409"
38
 
39
  [task.inputs.simulation]
40
  path = "materials/circuit.spice"
 
41
  format = "spice"
42
+ sha256 = "2c82bb396be0377ae24ee933e5402f87edf9e5da5f2c509774e6ff5c50705a20"
43
 
44
  [task.inputs.performance]
45
  path = "materials/testbench.spice"
 
46
  format = "spice"
47
+ sha256 = "52b7c144f113f3fd175235e912d8ee6212d541f81492122181f9aca045e48c20"
48
 
49
  [task.constraints]
50
  quality = [
 
402
  "source_nominal:unity_gain_bandwidth",
403
  ]
404
  normalization = "ratio"
405
+
406
+ [task.evaluation.metrics.requirement]
407
  lower = 0
408
+ rationale = "The observed frequency or ordered-event interval has a nonnegative measurement domain, and its required crossing must exist for a usable observation."
409
 
410
  [[task.evaluation.metrics]]
411
  id = "phase_margin"
 
422
  ]
423
  normalization = "target"
424
  scale = 180
425
+
426
+ [task.evaluation.metrics.requirement]
427
  lower = 0
428
  upper = 180
429
+ rationale = "The declared negative-feedback loop must stay on the measured 0 to 180 degree stable-feedback branch at the required unity crossing; the amount of positive phase margin remains a scored objective."
430
 
431
  [[task.evaluation.metrics]]
432
  id = "supply_power"
 
442
  "source_nominal:supply_power",
443
  ]
444
  normalization = "ratio"
 
445
  scale = 1e-12
446
 
447
+ [task.evaluation.metrics.requirement]
448
+ lower = 0
449
+ rationale = "The declared powered circuit or driven switching network must consume nonnegative net supply/driver energy or quiescent current under the complete stated observation."
450
+
451
  [[task.evaluation.metrics]]
452
  id = "output_bias"
453
  category = "performance"
 
463
  ]
464
  normalization = "target"
465
  scale = 1.2
466
+
467
+ [task.evaluation.metrics.requirement]
468
  lower = 0
469
  upper = 1.2
470
+ rationale = "The declared node voltage or voltage span must remain within its ground-to-supply operating envelope; precision relative to the source remains a scored objective."
471
 
472
  [task.evaluation.pre_layout]
473
+ source_report_sha256 = "f4047bdf4424327e402d0ed2d7e04501c8f1b9a1476c1ea678628845e113e903"
474
 
475
  [task.evaluation.pre_layout.backends]
476
+ "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\": \"dce84f0cb44c7192511c807348bb3852682b1b4ec71ee94055876cb79ccbbdb1\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 600.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******\"}"
477
 
478
  [task.evaluation.pre_layout.jobs.source_nominal]
479
  operation = "circuit.simulate"
 
498
  output_bias = "V"
499
 
500
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
501
+ deck = "52b7c144f113f3fd175235e912d8ee6212d541f81492122181f9aca045e48c20"
502
  dut = "2c82bb396be0377ae24ee933e5402f87edf9e5da5f2c509774e6ff5c50705a20"
503
 
504
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.low_frequency_gain]
 
521
  value = 4148602.0
522
  unit = "Hz"
523
 
524
+ [task.evaluation.pre_layout.jobs.source_nominal.output_sha256]
525
+ ac = "021787e583eef86c3e0ba57af79027a5c41acc6b2f68801af952e1db0692932f"
526
+ op = "05ea8768699ad8c4caae223037737554cb017bc21946db3300f98f65731a0996"
527
+
528
  [toolchain.backends.artifact]
529
  type = "klayout-docker"
530
 
531
  [toolchain.backends.artifact.settings]
532
+ image = "iclayout-eda-open:local"
533
  check = "artifact"
534
 
535
  [toolchain.backends.drc]
 
539
  support = "klayout"
540
 
541
  [toolchain.backends.drc.settings]
542
+ image = "iclayout-eda-open:local"
543
  check = "drc"
544
  support = "build/support/full-ota-klayout-spice"
545
  profile = "drc-upstream.json"
 
552
  support = "klayout"
553
 
554
  [toolchain.backends.lvs.settings]
555
+ image = "iclayout-eda-open:local"
556
  check = "lvs"
557
  support = "build/support/full-ota-klayout-spice"
558
  profile = "lvs-upstream.json"
 
565
  support = "magic"
566
 
567
  [toolchain.backends.rc.settings]
568
+ image = "iclayout-eda-open:local"
569
  support = "build/support/full-ota-magic"
570
  technology = "magic/ihp-sg13g2.tech"
571
  tech_name = "ihp-sg13g2"
 
577
  type = "klayout-geometry-docker"
578
 
579
  [toolchain.backends.geometry.settings]
580
+ image = "iclayout-eda-open:local"
581
  timeout_seconds = 120
582
 
583
  [toolchain.backends.simulation]
 
587
  support = "analog-models"
588
 
589
  [toolchain.backends.simulation.settings]
590
+ max_parallel_jobs = 8
591
+ threads = 1
592
+ cpu_budget = 8
593
+ image = "iclayout-eda-open:local"
594
  support = "build/support/full-ota-models"
595
  timeout_seconds = 600
596
 
tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/full_OTA/materials/schematic.svg CHANGED
tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/full_OTA/materials/testbench.spice CHANGED
@@ -23,6 +23,7 @@ let supply_power = -v(vdd)*i(VDD)
23
  let output_bias = v(vout)
24
  print supply_power output_bias
25
  write ota-op.raw all
 
26
  ac dec 100 1 10meg
27
  let differential = v(vp)-v(vm)
28
  let transfer = v(vout)/differential
 
23
  let output_bias = v(vout)
24
  print supply_power output_bias
25
  write ota-op.raw all
26
+ save i(vdd) v(vdd) v(vm) v(vout) v(vp)
27
  ac dec 100 1 10meg
28
  let differential = v(vp)-v(vm)
29
  let transfer = v(vout)/differential
tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/full_OTA/problem.md CHANGED
@@ -11,9 +11,7 @@ AC-response limits after candidate-derived RC extraction.
11
 
12
  ## Inputs and Interface
13
 
14
- In addition to this problem, the solver receives the following declared
15
- materials. The structured constraints
16
- and evaluation plan are also available at runtime through `/protocol/task.json`.
17
 
18
  | Input | Purpose |
19
  |---|---|
@@ -21,8 +19,7 @@ and evaluation plan are also available at runtime through `/protocol/task.json`.
21
  | [materials/circuit.spice](materials/circuit.spice) | Pre-layout simulator netlist |
22
  | [materials/testbench.spice](materials/testbench.spice) | Nominal bias, feedback fixture, AC sweep, and measurements |
23
 
24
- Use one external label on each distinct conductor. Internal nodes must not be
25
- declared as external ports.
26
 
27
  | Port | Function | Nominal connection |
28
  |---|---|---|
@@ -61,15 +58,9 @@ Submit a readable GDSII file with a nonempty `two_stage_OTA_layout` top cell. Th
61
  file must be at most 10 MiB (10,485,760 bytes) and must contain the complete
62
  hierarchy needed by the target cell.
63
 
64
- The evaluator runs the pinned SG13G2 main and additional maximal DRC rules in
65
- deep mode, with density and antenna checks disabled and no waivers. LVS uses the
66
- current `lvs-upstream.json` profile and strict named-port matching against
67
- `materials/circuit.cdl`; every declared port must stay on its own conductor with
68
- the declared connectivity and device parameters. Port names are matched
69
- case-insensitively.
70
 
71
- The functional outline is the recursive bounding box of polygons on these
72
- SG13G2 datatype-0 layers, including child cells and the complete routing stack:
73
 
74
  `1, 3, 5, 6, 7, 8, 10, 11, 13, 14, 19, 24, 26, 28, 29, 30, 31, 32, 33, 35, 36, 40, 44, 46, 49, 50, 51, 52, 53, 55, 58, 66, 67, 90, 101, 111, 125, 126, 128, 129, 133, 134, 139, 152`.
75
 
@@ -90,43 +81,19 @@ requirements.
90
 
91
  ## Electrical Requirements and Scoring
92
 
93
- Physical checks and declared functional bounds remain mandatory. Quality has no
94
- fixed allowed-degradation threshold. Each `source_*` job simulates the declared
95
- source circuit with exactly the same testbench, model resources, parameters,
96
- load and measurement window as its paired extracted-candidate job. A source
97
- observation is the 100-point electrical baseline; it is independent of the
98
- submitted GDS. All individual pairs are retained in the evaluation report.
99
-
100
- For a post-layout observation x and its source observation b:
101
-
102
- - Maximize: q = x/b; minimize: q = b/x. When a numerical scale s is declared,
103
- use (x+s)/(b+s) or its inverse. This handles zero-valued error measurements;
104
- s is a normalization floor, not an allowed degradation or pass threshold.
105
- - Amplitude dB: q = 10^((x-b)/20) for maximize, its inverse for minimize.
106
- - Target: q = 1/(1+abs(x-b)/s), with a declared physical scale s. Signed and
107
- zero-valued operating points are never divided directly.
108
-
109
- Scoring uses `layout`. A metric uses its worst paired quality q. The score is
110
- S = 100 * product(q_i ** w_i), including area quality
111
- q_area = area_reference / candidate_functional_area. The weights below sum to
112
- one. Dimensions describe measurements but do not determine their weights.
113
- Physical or functional rejection scores zero; missing or invalid measurements
114
- produce an unknown score, including measurements with zero weight.
115
- Source-equivalent performance at the area reference scores 100; improvements
116
- can exceed 100. A weight expresses a tradeoff, not a hard acceptance limit.
117
-
118
- Measurement definitions below use the supplied SPICE node/source names.
119
- `v(n)` is node voltage and `i(V)` is current into a voltage source; delivered
120
- power therefore uses a minus sign. `db(z)=20*log10(abs(z))`, `mag/abs`
121
- denote magnitude, and `cph` is continuous phase in radians. `find`, `when`,
122
- `from/to`, and `rise/fall` retain the deck's interpolation, window and
123
- crossing conventions; SPICE suffixes p/n/u/m/meg/g mean pico/nano/micro/
124
- milli/mega/giga. Nested `avg`, `min`, `max`, `vecmin/vecmax` and `deriv`
125
- mean the stated window average, extrema and sampled derivative. All
126
- declared conditions are measured separately and paired with the same
127
- source condition; a group uses its worst paired quality.
128
-
129
- | Metric | Definition / observations | Unit | Quality rule | Functional bounds | Scale | Dimension |
130
  | --- | --- | --- | --- | --- | --- | --- |
131
  | `low_frequency_gain` | AC: Value of `(db((v(vout)/(v(vp)-v(vm))))) at=1`. | dB | maximize / db20 | −∞ … +∞ | — | response |
132
  | `unity_gain_bandwidth` | AC: Crossing coordinate where `(db((v(vout)/(v(vp)-v(vm)))))=0 fall=1`. | Hz | maximize / ratio | 0 … +∞ | — | response |
@@ -134,15 +101,13 @@ source condition; a group uses its worst paired quality.
134
  | `supply_power` | DC operating point: `-v(vdd)*i(VDD)`. | W | minimize / ratio | 0 … +∞ | 1e-12 | supply |
135
  | `output_bias` | DC operating point: `v(vout)`. | V | target / target | 0 … 1.2 | 1.2 | bias |
136
 
137
- Area reference: **2936.48 um2**. 24 expanded device instances; sum of device/contact envelopes 1887.1830 um2, per-side envelope allowance 0.6 um, 50% routing allowance and total outer width/height allowance 1.2 um. Estimate = ceil(100 * (1.5 * envelope_sum + 2 * margin * sqrt(envelope_sum) + margin^2)) / 100. Here margin is the total allowance across two opposite sides; the envelope sum is displayed rounded to four decimals. MOS/passive envelopes use declared W/L (or resistor dimensions) and multiplicity; explicit tap areas and HBT emitter/contact envelopes are included. This is a frozen engineering estimate, not a foundry minimum or a feasibility claim.
138
-
139
- The capability coefficient remains **6**; it is independent of
140
- the reference-relative task score.
141
 
 
142
 
143
  ### Score weights
144
 
145
- Small-signal OTAs: gain 27%; bandwidth 22.5%; phase margin 22.5%; operating points 4.5%; power 13.5%; area 10%. Each objective's weight is divided equally among its metrics.
146
 
147
  | Metric | Weight |
148
  | --- | ---: |
@@ -157,12 +122,7 @@ Small-signal OTAs: gain 27%; bandwidth 22.5%; phase margin 22.5%; operating poin
157
 
158
  Solve budget: **3 hours**.
159
 
160
- Runtime environment and support resources are declared in
161
- `/protocol/resources.json` and `/protocol/harness.json`; the working directory is
162
- `/workspace`. KLayout performs artifact, DRC, LVS, and geometry checks; Magic
163
- performs RC extraction; ngspice runs the supplied deck with the reviewed SG13G2
164
- models. The evaluator provides the tool and PDK resources named by the case
165
- toolchain.
166
 
167
  For pre-layout simulation, use `materials/circuit.spice` as `dut.spice` beside
168
  the supplied testbench, with the model paths and settings exposed by the runtime
@@ -171,7 +131,4 @@ candidate-derived extracted netlist. If the harness declares
171
  `process-feedback`, the optional command is
172
  `python -I /protocol/process_check.py`; the final evaluation remains independent.
173
 
174
- Write the result to `/workspace/output/final.gds`, then run
175
- `python -I /protocol/submit.py` and wait for the submission receipt. Solver
176
- netlists, waveforms, and measurements are not accepted as substitutes for the
177
- independent evaluator inputs.
 
11
 
12
  ## Inputs and Interface
13
 
14
+ In addition to this description, the solver receives the following declared materials. The runtime `/protocol/task.json` also supplies structured constraints and the evaluation plan.
 
 
15
 
16
  | Input | Purpose |
17
  |---|---|
 
19
  | [materials/circuit.spice](materials/circuit.spice) | Pre-layout simulator netlist |
20
  | [materials/testbench.spice](materials/testbench.spice) | Nominal bias, feedback fixture, AC sweep, and measurements |
21
 
22
+ Use one external label per independent conductor; internal nodes must not be declared as external ports.
 
23
 
24
  | Port | Function | Nominal connection |
25
  |---|---|---|
 
58
  file must be at most 10 MiB (10,485,760 bytes) and must contain the complete
59
  hierarchy needed by the target cell.
60
 
61
+ Use the pinned SG13G2 main rules and additional maximal DRC rules in deep mode, with density and antenna checks disabled and no waivers. LVS uses the current `lvs-upstream.json` configuration and strictly matches named ports against `materials/circuit.cdl`, preserving each port's independent conductor, connections and device parameters; port names are case insensitive.
 
 
 
 
 
62
 
63
+ The functional outline is the recursive bounding box of polygons on the following SG13G2 datatype-0 layers, including child cells and every routing layer:
 
64
 
65
  `1, 3, 5, 6, 7, 8, 10, 11, 13, 14, 19, 24, 26, 28, 29, 30, 31, 32, 33, 35, 36, 40, 44, 46, 49, 50, 51, 52, 53, 55, 58, 66, 67, 90, 101, 111, 125, 126, 128, 129, 133, 134, 139, 152`.
66
 
 
81
 
82
  ## Electrical Requirements and Scoring
83
 
84
+ 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.
85
+
86
+ Let x be the post-layout measurement and b the source-circuit measurement under the same conditions:
87
+
88
+ - Ratio normalization: maximize with q = x/b and minimize with q = b/x. When a numerical scale s is declared, use (x+s)/(b+s) and its reciprocal, respectively. The scale handles zero values as a normalization floor; it is neither an allowed degradation nor an acceptance bound.
89
+ - Amplitude in dB: maximize with q = 10^((x-b)/20) and minimize with its reciprocal.
90
+ - Target normalization: q = 1/(1+abs(x-b)/s), where s is the declared physical scale. Signed or zero-valued operating points are not divided directly.
91
+
92
+ Use `layout` scoring. Each metric takes its worst paired quality q, and the total score is S = 100 * product(q_i ** w_i), with area quality q_area = area_reference / candidate_functional_area. The weights below sum to 1; metric dimensions describe measurements and do not determine weights. Physical or functional rejection scores zero; missing or invalid measurements leave the score unknown, and zero-weight observations must also be valid. Matching source-circuit performance at the reference area scores 100 points; better valid solutions may exceed 100. Weights express quality tradeoffs rather than hard bounds.
93
+
94
+ The measurements below use the supplied SPICE node and source names. `v(n)` is a node voltage; `i(V)` is current flowing into a voltage source, so delivered power uses a negative sign. `db(z)=20*log10(abs(z))`; `mag/abs` denote magnitude, and `cph` denotes continuous phase in radians. `find`, `when`, `from/to` and `rise/fall` follow the deck's interpolation, window and crossing conventions. SPICE suffixes p/n/u/m/meg/g mean pico/nano/micro/milli/mega/giga. Nested `avg`, `min`, `max`, `vecmin/vecmax` and `deriv` represent window averages, extrema and sampled derivatives. Measure each operating condition independently, pair it with the source result under that condition, and take the worst paired quality within each metric group.
95
+
96
+ | Metric | Definition / observation | Unit | Quality normalization | Functional range | Scale | Dimension |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  | --- | --- | --- | --- | --- | --- | --- |
98
  | `low_frequency_gain` | AC: Value of `(db((v(vout)/(v(vp)-v(vm))))) at=1`. | dB | maximize / db20 | −∞ … +∞ | — | response |
99
  | `unity_gain_bandwidth` | AC: Crossing coordinate where `(db((v(vout)/(v(vp)-v(vm)))))=0 fall=1`. | Hz | maximize / ratio | 0 … +∞ | — | response |
 
101
  | `supply_power` | DC operating point: `-v(vdd)*i(VDD)`. | W | minimize / ratio | 0 … +∞ | 1e-12 | supply |
102
  | `output_bias` | DC operating point: `v(vout)`. | V | target / target | 0 … 1.2 | 1.2 | bias |
103
 
104
+ Area reference: **2936.48 um2**. The expanded circuit has 24 device instances, a sum of device/contact envelopes 1887.1830 um2, a one-sided envelope margin of 0.6 um, a routing allowance of 50%, and a total outer width/height allowance 1.2 um. Estimate = ceil(100 * (1.5 * envelope_sum + 2 * margin * sqrt(envelope_sum) + margin^2)) / 100. Here margin is the total allowance across both sides, and the envelope sum is displayed to four decimal places. MOS/passive envelopes use W/L (or resistor dimensions) and multiplicity, including explicit contacts and HBT emitter/contact envelopes. This is a frozen engineering estimate, not a process minimum or a proven achievable area.
 
 
 
105
 
106
+ The capability coefficient is **6**, independent of this task's reference-normalized score.
107
 
108
  ### Score weights
109
 
110
+ Small-signal OTAs: gain 27%, bandwidth 22.5%, phase margin 22.5%, operating points 4.5%, power 13.5%, area 10%. Each objective's weight is divided equally among its metrics.
111
 
112
  | Metric | Weight |
113
  | --- | ---: |
 
122
 
123
  Solve budget: **3 hours**.
124
 
125
+ See `/protocol/resources.json` and `/protocol/harness.json` for runtime and supporting resources; the working directory is `/workspace`. KLayout checks files, DRC, LVS and geometry, Magic extracts RC, and ngspice runs decks with reviewed SG13G2 models. The evaluator supplies tools and PDK specified by the contract toolchain.
 
 
 
 
 
126
 
127
  For pre-layout simulation, use `materials/circuit.spice` as `dut.spice` beside
128
  the supplied testbench, with the model paths and settings exposed by the runtime
 
131
  `process-feedback`, the optional command is
132
  `python -I /protocol/process_check.py`; the final evaluation remains independent.
133
 
134
+ Write the result to `/workspace/output/final.gds`, run `python -I /protocol/submit.py` and wait for a submission receipt. Solver netlists, waveforms and measurements cannot replace independent evaluator inputs.
 
 
 
tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/input_pair/case.toml CHANGED
@@ -1,15 +1,15 @@
1
- in_core = false
2
  kind = "layout_case"
3
  id = "module_1_bandgap_reference.part_3_layout.OTA_layout.input_pair"
4
  title = "IHP AnalogAcademy input_pair"
5
  status = "qualified"
 
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
- sha256 = "be0b3098da9309ede946b43b9bda1188c5f8a717d0d558693d32b98ae726e0f2"
13
 
14
  [[assets]]
15
  path = "reference/input_common_centroid.gds"
@@ -27,24 +27,24 @@ environment = "ihp-sg13g2-input-pair-rc-tt"
27
 
28
  [task.inputs.description]
29
  path = "problem.md"
30
- sha256 = "b91a95f0f2879d8d309b2b9a6a9b918bf174b21a49a70f096d8843ffb8351d77"
31
  format = "text"
 
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
35
- sha256 = "25456f0316c22ee5586ad3e306f0d513fd35e48f32ee67ce9cb0dc373d306f3d"
36
  format = "spice"
37
  subcircuit = "input_common_centroid"
 
38
 
39
  [task.inputs.simulation]
40
  path = "materials/circuit.spice"
41
- sha256 = "cde9a2075fbac6afcf32fd02baf847398de1e9d179b3d3a87762534adfd8bd2b"
42
  format = "spice"
 
43
 
44
  [task.inputs.performance]
45
  path = "materials/testbench.spice"
46
- sha256 = "0ce316136b95395971965c7760a711d8431e8c1d4294a074b658520442e11dde"
47
  format = "spice"
 
48
 
49
  [task.constraints]
50
  quality = [
@@ -397,7 +397,10 @@ baseline = [
397
  "source_nominal:differential_gain",
398
  ]
399
  normalization = "ratio"
 
 
400
  lower = 0
 
401
 
402
  [[task.evaluation.metrics]]
403
  id = "differential_gain_high"
@@ -413,7 +416,10 @@ baseline = [
413
  "source_nominal:differential_gain_high",
414
  ]
415
  normalization = "ratio"
 
 
416
  lower = 0
 
417
 
418
  [[task.evaluation.metrics]]
419
  id = "tail_voltage"
@@ -446,8 +452,11 @@ baseline = [
446
  ]
447
  normalization = "target"
448
  scale = 1.2
 
 
449
  lower = 0
450
  upper = 1.2
 
451
 
452
  [[task.evaluation.metrics]]
453
  id = "drain_balance"
@@ -479,14 +488,17 @@ baseline = [
479
  "source_nominal:supply_power",
480
  ]
481
  normalization = "ratio"
482
- lower = 0
483
  scale = 1e-12
484
 
 
 
 
 
485
  [task.evaluation.pre_layout]
486
- source_report_sha256 = "f82335367c588d196a9e3634129a29b2b3e98a9f67b5fa984c53f940f2253886"
487
 
488
  [task.evaluation.pre_layout.backends]
489
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"ef9cb87fa27b849376472663b7362673979b89e012f161ba47bb5f6af6ede8eb\", \"compatibility\": null, \"execution_sha256\": \"5424b579002782bfddf0a729715b8fbf2a5f7f2b4cf14982d7616e352d5de9be\", \"image_id\": \"sha256:6562558774d43c085a289bbba696c55959eb8051a0996f96633451fbeb9c652d\", \"limits\": {\"cpus\": 4, \"memory_mb\": 4096, \"pids\": 256}, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"868b87913ea2ceaa4e2650d73a934158d54aae1ad194f3713dc37b8c89b75884\", \"timeout_seconds\": 600.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******\"}"
490
 
491
  [task.evaluation.pre_layout.jobs.source_nominal]
492
  operation = "circuit.simulate"
@@ -517,7 +529,7 @@ differential_gain = "V/V"
517
  differential_gain_high = "V/V"
518
 
519
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
520
- deck = "0ce316136b95395971965c7760a711d8431e8c1d4294a074b658520442e11dde"
521
  dut = "cde9a2075fbac6afcf32fd02baf847398de1e9d179b3d3a87762534adfd8bd2b"
522
 
523
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.common_drain]
@@ -544,6 +556,10 @@ unit = "W"
544
  value = 1.192980871489
545
  unit = "V"
546
 
 
 
 
 
547
  [toolchain.bindings]
548
  "layout.artifact" = "artifact"
549
  "layout.drc" = "drc"
@@ -556,7 +572,7 @@ unit = "V"
556
  type = "klayout-docker"
557
 
558
  [toolchain.backends.artifact.settings]
559
- image = "iclayout-bench-tools:local"
560
  check = "artifact"
561
  timeout_seconds = 600
562
 
@@ -567,7 +583,7 @@ type = "klayout-docker"
567
  support = "klayout"
568
 
569
  [toolchain.backends.drc.settings]
570
- image = "iclayout-bench-tools:local"
571
  check = "drc"
572
  support = "build/support/input-pair-klayout"
573
  profile = "drc-upstream.json"
@@ -580,7 +596,7 @@ type = "klayout-docker"
580
  support = "klayout"
581
 
582
  [toolchain.backends.lvs.settings]
583
- image = "iclayout-bench-tools:local"
584
  check = "lvs"
585
  support = "build/support/input-pair-klayout"
586
  profile = "lvs-upstream.json"
@@ -593,7 +609,7 @@ type = "magic-rc-docker"
593
  support = "magic"
594
 
595
  [toolchain.backends.rc.settings]
596
- image = "iclayout-bench-tools:local"
597
  support = "build/support/input-pair-magic"
598
  technology = "magic/ihp-sg13g2.tech"
599
  tech_name = "ihp-sg13g2"
@@ -605,7 +621,7 @@ timeout_seconds = 600
605
  type = "klayout-geometry-docker"
606
 
607
  [toolchain.backends.geometry.settings]
608
- image = "iclayout-bench-tools:local"
609
  timeout_seconds = 120
610
 
611
  [toolchain.backends.simulation]
@@ -615,7 +631,10 @@ type = "ngspice-docker"
615
  support = "analog-models"
616
 
617
  [toolchain.backends.simulation.settings]
618
- image = "iclayout-bench-tools:local"
 
 
 
619
  support = "build/support/input-pair-models"
620
  timeout_seconds = 600
621
 
 
 
1
  kind = "layout_case"
2
  id = "module_1_bandgap_reference.part_3_layout.OTA_layout.input_pair"
3
  title = "IHP AnalogAcademy input_pair"
4
  status = "qualified"
5
+ in_core = false
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
+ sha256 = "1d79d6b9e0810b86b030f483c69745ef084caf776a9fc1670b627162b8022b53"
13
 
14
  [[assets]]
15
  path = "reference/input_common_centroid.gds"
 
27
 
28
  [task.inputs.description]
29
  path = "problem.md"
 
30
  format = "text"
31
+ sha256 = "919e94d5dd3388d5d8517fe86cc3ccefe065f4a413559c1882acd8f80b550057"
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
 
35
  format = "spice"
36
  subcircuit = "input_common_centroid"
37
+ sha256 = "25456f0316c22ee5586ad3e306f0d513fd35e48f32ee67ce9cb0dc373d306f3d"
38
 
39
  [task.inputs.simulation]
40
  path = "materials/circuit.spice"
 
41
  format = "spice"
42
+ sha256 = "cde9a2075fbac6afcf32fd02baf847398de1e9d179b3d3a87762534adfd8bd2b"
43
 
44
  [task.inputs.performance]
45
  path = "materials/testbench.spice"
 
46
  format = "spice"
47
+ sha256 = "72c2f7c4f272b1797d936a09ff51ce7d2715f0569d4bd11f6d31d23e9f64b4b0"
48
 
49
  [task.constraints]
50
  quality = [
 
397
  "source_nominal:differential_gain",
398
  ]
399
  normalization = "ratio"
400
+
401
+ [task.evaluation.metrics.requirement]
402
  lower = 0
403
+ rationale = "The declared response magnitude, impedance, capacitance, amplitude or absolute return-ratio diagnostic has a nonnegative measurement domain; its value remains a quality or diagnostic observation."
404
 
405
  [[task.evaluation.metrics]]
406
  id = "differential_gain_high"
 
416
  "source_nominal:differential_gain_high",
417
  ]
418
  normalization = "ratio"
419
+
420
+ [task.evaluation.metrics.requirement]
421
  lower = 0
422
+ rationale = "The declared response magnitude, impedance, capacitance, amplitude or absolute return-ratio diagnostic has a nonnegative measurement domain; its value remains a quality or diagnostic observation."
423
 
424
  [[task.evaluation.metrics]]
425
  id = "tail_voltage"
 
452
  ]
453
  normalization = "target"
454
  scale = 1.2
455
+
456
+ [task.evaluation.metrics.requirement]
457
  lower = 0
458
  upper = 1.2
459
+ rationale = "The declared node voltage or voltage span must remain within its ground-to-supply operating envelope; precision relative to the source remains a scored objective."
460
 
461
  [[task.evaluation.metrics]]
462
  id = "drain_balance"
 
488
  "source_nominal:supply_power",
489
  ]
490
  normalization = "ratio"
 
491
  scale = 1e-12
492
 
493
+ [task.evaluation.metrics.requirement]
494
+ lower = 0
495
+ rationale = "The declared powered circuit or driven switching network must consume nonnegative net supply/driver energy or quiescent current under the complete stated observation."
496
+
497
  [task.evaluation.pre_layout]
498
+ source_report_sha256 = "50fc5cbecb2735b61f960996a3f839f1d5a8e3519184a6ed6cf48f4bea467f3c"
499
 
500
  [task.evaluation.pre_layout.backends]
501
+ "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\": \"dce84f0cb44c7192511c807348bb3852682b1b4ec71ee94055876cb79ccbbdb1\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 600.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******\"}"
502
 
503
  [task.evaluation.pre_layout.jobs.source_nominal]
504
  operation = "circuit.simulate"
 
529
  differential_gain_high = "V/V"
530
 
531
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
532
+ deck = "72c2f7c4f272b1797d936a09ff51ce7d2715f0569d4bd11f6d31d23e9f64b4b0"
533
  dut = "cde9a2075fbac6afcf32fd02baf847398de1e9d179b3d3a87762534adfd8bd2b"
534
 
535
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.common_drain]
 
556
  value = 1.192980871489
557
  unit = "V"
558
 
559
+ [task.evaluation.pre_layout.jobs.source_nominal.output_sha256]
560
+ ac = "0360aae789606dbd608b542c97e489bea026c36d2f0dc5727c579843eb85e2fd"
561
+ op = "af65808f45ca9d302127bba58fdc0289a4b74f113b7d1a3c5b729bf713988aae"
562
+
563
  [toolchain.bindings]
564
  "layout.artifact" = "artifact"
565
  "layout.drc" = "drc"
 
572
  type = "klayout-docker"
573
 
574
  [toolchain.backends.artifact.settings]
575
+ image = "iclayout-eda-open:local"
576
  check = "artifact"
577
  timeout_seconds = 600
578
 
 
583
  support = "klayout"
584
 
585
  [toolchain.backends.drc.settings]
586
+ image = "iclayout-eda-open:local"
587
  check = "drc"
588
  support = "build/support/input-pair-klayout"
589
  profile = "drc-upstream.json"
 
596
  support = "klayout"
597
 
598
  [toolchain.backends.lvs.settings]
599
+ image = "iclayout-eda-open:local"
600
  check = "lvs"
601
  support = "build/support/input-pair-klayout"
602
  profile = "lvs-upstream.json"
 
609
  support = "magic"
610
 
611
  [toolchain.backends.rc.settings]
612
+ image = "iclayout-eda-open:local"
613
  support = "build/support/input-pair-magic"
614
  technology = "magic/ihp-sg13g2.tech"
615
  tech_name = "ihp-sg13g2"
 
621
  type = "klayout-geometry-docker"
622
 
623
  [toolchain.backends.geometry.settings]
624
+ image = "iclayout-eda-open:local"
625
  timeout_seconds = 120
626
 
627
  [toolchain.backends.simulation]
 
631
  support = "analog-models"
632
 
633
  [toolchain.backends.simulation.settings]
634
+ max_parallel_jobs = 8
635
+ threads = 1
636
+ cpu_budget = 8
637
+ image = "iclayout-eda-open:local"
638
  support = "build/support/input-pair-models"
639
  timeout_seconds = 600
640
 
tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/input_pair/materials/schematic.svg CHANGED
tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/input_pair/materials/testbench.spice CHANGED
@@ -25,6 +25,7 @@ let common_drain = (v(dn3)+v(dn4))/2
25
  let supply_power = -v(vdd)*i(VDD)
26
  print tail_voltage drain_balance common_drain supply_power
27
  write input-op.raw all
 
28
  ac dec 40 1 1g
29
  let differential_gain = (v(dn3)-v(dn4))/(v(vp)-v(vm))
30
  let differential_gain_abs = abs(differential_gain)
 
25
  let supply_power = -v(vdd)*i(VDD)
26
  print tail_voltage drain_balance common_drain supply_power
27
  write input-op.raw all
28
+ save i(vdd) v(dn3) v(dn4) v(tail) v(vdd) v(vm) v(vp)
29
  ac dec 40 1 1g
30
  let differential_gain = (v(dn3)-v(dn4))/(v(vp)-v(vm))
31
  let differential_gain_abs = abs(differential_gain)
tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/input_pair/problem.md CHANGED
@@ -11,9 +11,7 @@ candidate-derived RC extraction.
11
 
12
  ## Inputs and Interface
13
 
14
- In addition to this problem, the solver receives the following declared
15
- materials. The structured constraints
16
- and evaluation plan are also available at runtime through `/protocol/task.json`.
17
 
18
  | Input | Purpose |
19
  |---|---|
@@ -21,8 +19,7 @@ and evaluation plan are also available at runtime through `/protocol/task.json`.
21
  | [materials/circuit.spice](materials/circuit.spice) | Pre-layout simulator netlist |
22
  | [materials/testbench.spice](materials/testbench.spice) | Bias, load, AC sweep, and public measurement expressions |
23
 
24
- Use one external label on each distinct conductor. Internal nodes must not be
25
- declared as external ports.
26
 
27
  | Port | Function | Nominal connection |
28
  |---|---|---|
@@ -36,8 +33,7 @@ The extraction port order is `v- v+ vdd dn3 dn4 tail`.
36
 
37
  ## Operating Conditions
38
 
39
- The pre-layout and candidate-derived simulations use the supplied deck and the
40
- same nominal model and parameter values.
41
 
42
  | Parameter | Setting |
43
  |---|---|
@@ -60,15 +56,9 @@ Submit a readable GDSII file with a nonempty `input_common_centroid` top cell.
60
  The file must be at most 10 MiB (10,485,760 bytes) and must contain the complete
61
  hierarchy needed by the target cell.
62
 
63
- The evaluator runs the pinned SG13G2 main and additional maximal DRC rules in
64
- deep mode, with density and antenna checks disabled and no waivers. LVS uses the
65
- current `lvs-upstream.json` profile and strict named-port matching against
66
- `materials/circuit.cdl`; every declared port must stay on its own conductor
67
- with the declared connectivity and device parameters. Port names are matched
68
- case-insensitively.
69
 
70
- The functional outline is the recursive bounding box of polygons on these
71
- SG13G2 datatype-0 layers, including child cells and the complete routing stack:
72
 
73
  `1, 3, 5, 6, 7, 8, 10, 11, 13, 14, 19, 24, 26, 28, 29, 30, 31, 32, 33, 35, 36, 40, 44, 46, 49, 50, 51, 52, 53, 55, 58, 66, 67, 90, 101, 111, 125, 126, 128, 129, 133, 134, 139, 152`.
74
 
@@ -87,43 +77,19 @@ noise are outside the declared scope. The finite source tap is used only in sour
87
 
88
  ## Electrical Requirements and Scoring
89
 
90
- Physical checks and declared functional bounds remain mandatory. Quality has no
91
- fixed allowed-degradation threshold. Each `source_*` job simulates the declared
92
- source circuit with exactly the same testbench, model resources, parameters,
93
- load and measurement window as its paired extracted-candidate job. A source
94
- observation is the 100-point electrical baseline; it is independent of the
95
- submitted GDS. All individual pairs are retained in the evaluation report.
96
-
97
- For a post-layout observation x and its source observation b:
98
-
99
- - Maximize: q = x/b; minimize: q = b/x. When a numerical scale s is declared,
100
- use (x+s)/(b+s) or its inverse. This handles zero-valued error measurements;
101
- s is a normalization floor, not an allowed degradation or pass threshold.
102
- - Amplitude dB: q = 10^((x-b)/20) for maximize, its inverse for minimize.
103
- - Target: q = 1/(1+abs(x-b)/s), with a declared physical scale s. Signed and
104
- zero-valued operating points are never divided directly.
105
-
106
- Scoring uses `layout`. A metric uses its worst paired quality q. The score is
107
- S = 100 * product(q_i ** w_i), including area quality
108
- q_area = area_reference / candidate_functional_area. The weights below sum to
109
- one. Dimensions describe measurements but do not determine their weights.
110
- Physical or functional rejection scores zero; missing or invalid measurements
111
- produce an unknown score, including measurements with zero weight.
112
- Source-equivalent performance at the area reference scores 100; improvements
113
- can exceed 100. A weight expresses a tradeoff, not a hard acceptance limit.
114
-
115
- Measurement definitions below use the supplied SPICE node/source names.
116
- `v(n)` is node voltage and `i(V)` is current into a voltage source; delivered
117
- power therefore uses a minus sign. `db(z)=20*log10(abs(z))`, `mag/abs`
118
- denote magnitude, and `cph` is continuous phase in radians. `find`, `when`,
119
- `from/to`, and `rise/fall` retain the deck's interpolation, window and
120
- crossing conventions; SPICE suffixes p/n/u/m/meg/g mean pico/nano/micro/
121
- milli/mega/giga. Nested `avg`, `min`, `max`, `vecmin/vecmax` and `deriv`
122
- mean the stated window average, extrema and sampled derivative. All
123
- declared conditions are measured separately and paired with the same
124
- source condition; a group uses its worst paired quality.
125
-
126
- | Metric | Definition / observations | Unit | Quality rule | Functional bounds | Scale | Dimension |
127
  | --- | --- | --- | --- | --- | --- | --- |
128
  | `differential_gain` | AC: Value of `(abs(((v(dn3)-v(dn4))/(v(vp)-v(vm))))) at=1meg`. | V/V | maximize / ratio | 0 … +∞ | — | response |
129
  | `differential_gain_high` | AC: Value of `(abs(((v(dn3)-v(dn4))/(v(vp)-v(vm))))) at=100meg`. | V/V | maximize / ratio | 0 … +∞ | — | response |
@@ -132,11 +98,9 @@ source condition; a group uses its worst paired quality.
132
  | `drain_balance` | DC operating point: `v(dn3)-v(dn4)`. | V | target / target | −∞ … +∞ | 1.2 | bias |
133
  | `supply_power` | DC operating point: `-v(vdd)*i(VDD)`. | W | minimize / ratio | 0 … +∞ | 1e-12 | supply |
134
 
135
- Area reference: **1236.14 um2**. 13 expanded device instances; sum of device/contact envelopes 778.4891 um2, per-side envelope allowance 0.6 um, 50% routing allowance and total outer width/height allowance 1.2 um. Estimate = ceil(100 * (1.5 * envelope_sum + 2 * margin * sqrt(envelope_sum) + margin^2)) / 100. Here margin is the total allowance across two opposite sides; the envelope sum is displayed rounded to four decimals. MOS/passive envelopes use declared W/L (or resistor dimensions) and multiplicity; explicit tap areas and HBT emitter/contact envelopes are included. This is a frozen engineering estimate, not a foundry minimum or a feasibility claim.
136
-
137
- The capability coefficient remains **3**; it is independent of
138
- the reference-relative task score.
139
 
 
140
 
141
  ### Score weights
142
 
@@ -156,22 +120,8 @@ Local gain stages: signal transfer 44.7%; balance and linearity 22.4%; operating
156
 
157
  Solve budget: **3 hours**.
158
 
159
- Runtime environment and support resources are declared in
160
- `/protocol/resources.json` and `/protocol/harness.json`; the working directory is
161
- `/workspace`. KLayout performs artifact, DRC, LVS, and geometry checks; Magic
162
- performs RC extraction; ngspice runs the supplied deck with the reviewed SG13G2
163
- models. The evaluator provides the tool and PDK resources named by the case
164
- toolchain.
165
-
166
- For pre-layout simulation, use `materials/circuit.spice` as `dut.spice` beside
167
- the supplied testbench. The evaluator generates `parameters.spice` from the
168
- per-job values in `/protocol/task.json` and supplies the model paths and settings
169
- through the runtime resource bundle. For the submitted layout, the evaluator
170
- supplies the candidate-derived extracted netlist. If the harness declares
171
- `process-feedback`, the optional command is
172
- `python -I /protocol/process_check.py`; the final evaluation remains independent.
173
-
174
- Write the result to `/workspace/output/final.gds`, then run
175
- `python -I /protocol/submit.py` and wait for the submission receipt. Solver
176
- netlists, waveforms, and measurements are not accepted as substitutes for the
177
- independent evaluator inputs.
 
11
 
12
  ## Inputs and Interface
13
 
14
+ In addition to this description, the solver receives the following declared materials. The runtime `/protocol/task.json` also supplies structured constraints and the evaluation plan.
 
 
15
 
16
  | Input | Purpose |
17
  |---|---|
 
19
  | [materials/circuit.spice](materials/circuit.spice) | Pre-layout simulator netlist |
20
  | [materials/testbench.spice](materials/testbench.spice) | Bias, load, AC sweep, and public measurement expressions |
21
 
22
+ Use one external label per independent conductor; internal nodes must not be declared as external ports.
 
23
 
24
  | Port | Function | Nominal connection |
25
  |---|---|---|
 
33
 
34
  ## Operating Conditions
35
 
36
+ Source and candidate extracted circuits use the supplied decks with identical nominal models and parameters.
 
37
 
38
  | Parameter | Setting |
39
  |---|---|
 
56
  The file must be at most 10 MiB (10,485,760 bytes) and must contain the complete
57
  hierarchy needed by the target cell.
58
 
59
+ Use the pinned SG13G2 main rules and additional maximal DRC rules in deep mode, with density and antenna checks disabled and no waivers. LVS uses the current `lvs-upstream.json` configuration and strictly matches named ports against `materials/circuit.cdl`, preserving each port's independent conductor, connections and device parameters; port names are case insensitive.
 
 
 
 
 
60
 
61
+ The functional outline is the recursive bounding box of polygons on the following SG13G2 datatype-0 layers, including child cells and every routing layer:
 
62
 
63
  `1, 3, 5, 6, 7, 8, 10, 11, 13, 14, 19, 24, 26, 28, 29, 30, 31, 32, 33, 35, 36, 40, 44, 46, 49, 50, 51, 52, 53, 55, 58, 66, 67, 90, 101, 111, 125, 126, 128, 129, 133, 134, 139, 152`.
64
 
 
77
 
78
  ## Electrical Requirements and Scoring
79
 
80
+ 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.
81
+
82
+ Let x be the post-layout measurement and b the source-circuit measurement under the same conditions:
83
+
84
+ - Ratio normalization: maximize with q = x/b and minimize with q = b/x. When a numerical scale s is declared, use (x+s)/(b+s) and its reciprocal, respectively. The scale handles zero values as a normalization floor; it is neither an allowed degradation nor an acceptance bound.
85
+ - Amplitude in dB: maximize with q = 10^((x-b)/20) and minimize with its reciprocal.
86
+ - Target normalization: q = 1/(1+abs(x-b)/s), where s is the declared physical scale. Signed or zero-valued operating points are not divided directly.
87
+
88
+ Use `layout` scoring. Each metric takes its worst paired quality q, and the total score is S = 100 * product(q_i ** w_i), with area quality q_area = area_reference / candidate_functional_area. The weights below sum to 1; metric dimensions describe measurements and do not determine weights. Physical or functional rejection scores zero; missing or invalid measurements leave the score unknown, and zero-weight observations must also be valid. Matching source-circuit performance at the reference area scores 100 points; better valid solutions may exceed 100. Weights express quality tradeoffs rather than hard bounds.
89
+
90
+ The measurements below use the supplied SPICE node and source names. `v(n)` is a node voltage; `i(V)` is current flowing into a voltage source, so delivered power uses a negative sign. `db(z)=20*log10(abs(z))`; `mag/abs` denote magnitude, and `cph` denotes continuous phase in radians. `find`, `when`, `from/to` and `rise/fall` follow the deck's interpolation, window and crossing conventions. SPICE suffixes p/n/u/m/meg/g mean pico/nano/micro/milli/mega/giga. Nested `avg`, `min`, `max`, `vecmin/vecmax` and `deriv` represent window averages, extrema and sampled derivatives. Measure each operating condition independently, pair it with the source result under that condition, and take the worst paired quality within each metric group.
91
+
92
+ | Metric | Definition / observation | Unit | Quality normalization | Functional range | Scale | Dimension |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  | --- | --- | --- | --- | --- | --- | --- |
94
  | `differential_gain` | AC: Value of `(abs(((v(dn3)-v(dn4))/(v(vp)-v(vm))))) at=1meg`. | V/V | maximize / ratio | 0 … +∞ | — | response |
95
  | `differential_gain_high` | AC: Value of `(abs(((v(dn3)-v(dn4))/(v(vp)-v(vm))))) at=100meg`. | V/V | maximize / ratio | 0 … +∞ | — | response |
 
98
  | `drain_balance` | DC operating point: `v(dn3)-v(dn4)`. | V | target / target | −∞ … +∞ | 1.2 | bias |
99
  | `supply_power` | DC operating point: `-v(vdd)*i(VDD)`. | W | minimize / ratio | 0 … +∞ | 1e-12 | supply |
100
 
101
+ Area reference: **1236.14 um2**. The expanded circuit has 13 device instances, a sum of device/contact envelopes 778.4891 um2, a one-sided envelope margin of 0.6 um, a routing allowance of 50%, and a total outer width/height allowance 1.2 um. Estimate = ceil(100 * (1.5 * envelope_sum + 2 * margin * sqrt(envelope_sum) + margin^2)) / 100. Here margin is the total allowance across both sides, and the envelope sum is displayed to four decimal places. MOS/passive envelopes use W/L (or resistor dimensions) and multiplicity, including explicit contacts and HBT emitter/contact envelopes. This is a frozen engineering estimate, not a process minimum or a proven achievable area.
 
 
 
102
 
103
+ The capability coefficient is **3**, independent of this task's reference-normalized score.
104
 
105
  ### Score weights
106
 
 
120
 
121
  Solve budget: **3 hours**.
122
 
123
+ See `/protocol/resources.json` and `/protocol/harness.json` for runtime and supporting resources; the working directory is `/workspace`. KLayout checks files, DRC, LVS and geometry, Magic extracts RC, and ngspice runs decks with reviewed SG13G2 models. The evaluator supplies tools and PDK specified by the contract toolchain.
124
+
125
+ For source simulation, place `materials/circuit.spice` as `dut.spice` beside the testbench. The evaluator generates `parameters.spice` from per-job parameters in `/protocol/task.json`, supplying model paths and settings through the resource bundle; candidate evaluation uses its extracted netlist. If `process-feedback` is declared, run `python -I /protocol/process_check.py`; final evaluation is independent.
126
+
127
+ Write the result to `/workspace/output/final.gds`, run `python -I /protocol/submit.py` and wait for a submission receipt. Solver netlists, waveforms and measurements cannot replace independent evaluator inputs.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/output_stage/case.toml CHANGED
@@ -1,15 +1,15 @@
1
- in_core = false
2
  kind = "layout_case"
3
  id = "module_1_bandgap_reference.part_3_layout.OTA_layout.output_stage"
4
  title = "IHP AnalogAcademy output_stage"
5
  status = "qualified"
 
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
- sha256 = "dac4dbead6434a4bb345826211848b873d70a2725654491aadd7a64609c69684"
13
 
14
  [[assets]]
15
  path = "reference/output_stage.gds"
@@ -27,24 +27,24 @@ environment = "ihp-sg13g2-output-stage-rc-tt"
27
 
28
  [task.inputs.description]
29
  path = "problem.md"
30
- sha256 = "129a8b29c8a92c2d912e0d6ffb5c09efc3d2c10b286e45c3bd53b0376f2c9b1a"
31
  format = "text"
 
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
35
- sha256 = "81620ebba529edccd1beddbcb1349c0e3e7ee58b9e3749d8235433610bd98ad5"
36
  format = "spice"
37
  subcircuit = "output_stage"
 
38
 
39
  [task.inputs.simulation]
40
  path = "materials/circuit.spice"
41
- sha256 = "d5c4009de00efbc07ad6c612fb371ef8cd7a837a49bec1a27f1d1729a2d8440d"
42
  format = "spice"
 
43
 
44
  [task.inputs.performance]
45
  path = "materials/testbench.spice"
46
- sha256 = "b857814e44bf0b95d14cd69944cbbdbc5da3b756290f76d824b26b7f73990678"
47
  format = "spice"
 
48
 
49
  [task.constraints]
50
  quality = [
@@ -393,7 +393,10 @@ baseline = [
393
  "source_nominal:output_gain",
394
  ]
395
  normalization = "ratio"
 
 
396
  lower = 0
 
397
 
398
  [[task.evaluation.metrics]]
399
  id = "output_gain_high"
@@ -409,7 +412,10 @@ baseline = [
409
  "source_nominal:output_gain_high",
410
  ]
411
  normalization = "ratio"
 
 
412
  lower = 0
 
413
 
414
  [[task.evaluation.metrics]]
415
  id = "output_bias"
@@ -426,8 +432,11 @@ baseline = [
426
  ]
427
  normalization = "target"
428
  scale = 1.2
 
 
429
  lower = 0
430
  upper = 1.2
 
431
 
432
  [[task.evaluation.metrics]]
433
  id = "supply_power"
@@ -443,14 +452,17 @@ baseline = [
443
  "source_nominal:supply_power",
444
  ]
445
  normalization = "ratio"
446
- lower = 0
447
  scale = 1e-12
448
 
 
 
 
 
449
  [task.evaluation.pre_layout]
450
- source_report_sha256 = "a81b188b06daaafc0a2dc0ec69b3a9ffe9c07c41d587b1a9f0824df25ff7ab4b"
451
 
452
  [task.evaluation.pre_layout.backends]
453
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"ef9cb87fa27b849376472663b7362673979b89e012f161ba47bb5f6af6ede8eb\", \"compatibility\": null, \"execution_sha256\": \"5424b579002782bfddf0a729715b8fbf2a5f7f2b4cf14982d7616e352d5de9be\", \"image_id\": \"sha256:6562558774d43c085a289bbba696c55959eb8051a0996f96633451fbeb9c652d\", \"limits\": {\"cpus\": 4, \"memory_mb\": 4096, \"pids\": 256}, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"9f4c9b1c265d2a44e4af063f0645ed195f02c242644afa80a28d17583b5aaae8\", \"timeout_seconds\": 600.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******\"}"
454
 
455
  [task.evaluation.pre_layout.jobs.source_nominal]
456
  operation = "circuit.simulate"
@@ -480,7 +492,7 @@ output_gain = "V/V"
480
  output_gain_high = "V/V"
481
 
482
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
483
- deck = "b857814e44bf0b95d14cd69944cbbdbc5da3b756290f76d824b26b7f73990678"
484
  dut = "d5c4009de00efbc07ad6c612fb371ef8cd7a837a49bec1a27f1d1729a2d8440d"
485
 
486
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.output_bias]
@@ -499,6 +511,10 @@ unit = "V/V"
499
  value = 4.814877853977e-05
500
  unit = "W"
501
 
 
 
 
 
502
  [toolchain.bindings]
503
  "layout.artifact" = "artifact"
504
  "layout.drc" = "drc"
@@ -511,7 +527,7 @@ unit = "W"
511
  type = "klayout-docker"
512
 
513
  [toolchain.backends.artifact.settings]
514
- image = "iclayout-bench-tools:local"
515
  check = "artifact"
516
  timeout_seconds = 600
517
 
@@ -522,7 +538,7 @@ type = "klayout-docker"
522
  support = "klayout"
523
 
524
  [toolchain.backends.drc.settings]
525
- image = "iclayout-bench-tools:local"
526
  check = "drc"
527
  support = "build/support/output-stage-klayout"
528
  profile = "drc-upstream.json"
@@ -535,7 +551,7 @@ type = "klayout-docker"
535
  support = "klayout"
536
 
537
  [toolchain.backends.lvs.settings]
538
- image = "iclayout-bench-tools:local"
539
  check = "lvs"
540
  support = "build/support/output-stage-klayout"
541
  profile = "lvs-upstream.json"
@@ -548,7 +564,7 @@ type = "magic-rc-docker"
548
  support = "magic"
549
 
550
  [toolchain.backends.rc.settings]
551
- image = "iclayout-bench-tools:local"
552
  support = "build/support/output-stage-magic"
553
  technology = "magic/ihp-sg13g2.tech"
554
  tech_name = "ihp-sg13g2"
@@ -560,7 +576,7 @@ timeout_seconds = 600
560
  type = "klayout-geometry-docker"
561
 
562
  [toolchain.backends.geometry.settings]
563
- image = "iclayout-bench-tools:local"
564
  timeout_seconds = 120
565
 
566
  [toolchain.backends.simulation]
@@ -570,7 +586,10 @@ type = "ngspice-docker"
570
  support = "analog-models"
571
 
572
  [toolchain.backends.simulation.settings]
573
- image = "iclayout-bench-tools:local"
 
 
 
574
  support = "build/support/output-stage-models"
575
  timeout_seconds = 600
576
 
 
 
1
  kind = "layout_case"
2
  id = "module_1_bandgap_reference.part_3_layout.OTA_layout.output_stage"
3
  title = "IHP AnalogAcademy output_stage"
4
  status = "qualified"
5
+ in_core = false
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
+ sha256 = "a222ca439e61eb4ffe4f5f25b56e7f0d2d68236645ecc284c85941c824b0af50"
13
 
14
  [[assets]]
15
  path = "reference/output_stage.gds"
 
27
 
28
  [task.inputs.description]
29
  path = "problem.md"
 
30
  format = "text"
31
+ sha256 = "066f5d5d0f2de3d2df97eff3f68bf5a9c76d47e980e1747ebe3c15a88a022af7"
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
 
35
  format = "spice"
36
  subcircuit = "output_stage"
37
+ sha256 = "81620ebba529edccd1beddbcb1349c0e3e7ee58b9e3749d8235433610bd98ad5"
38
 
39
  [task.inputs.simulation]
40
  path = "materials/circuit.spice"
 
41
  format = "spice"
42
+ sha256 = "d5c4009de00efbc07ad6c612fb371ef8cd7a837a49bec1a27f1d1729a2d8440d"
43
 
44
  [task.inputs.performance]
45
  path = "materials/testbench.spice"
 
46
  format = "spice"
47
+ sha256 = "93b5c000491d8575e5b3b545fe48405e685d1412efa48b9a0551637877d1320b"
48
 
49
  [task.constraints]
50
  quality = [
 
393
  "source_nominal:output_gain",
394
  ]
395
  normalization = "ratio"
396
+
397
+ [task.evaluation.metrics.requirement]
398
  lower = 0
399
+ rationale = "The declared response magnitude, impedance, capacitance, amplitude or absolute return-ratio diagnostic has a nonnegative measurement domain; its value remains a quality or diagnostic observation."
400
 
401
  [[task.evaluation.metrics]]
402
  id = "output_gain_high"
 
412
  "source_nominal:output_gain_high",
413
  ]
414
  normalization = "ratio"
415
+
416
+ [task.evaluation.metrics.requirement]
417
  lower = 0
418
+ rationale = "The declared response magnitude, impedance, capacitance, amplitude or absolute return-ratio diagnostic has a nonnegative measurement domain; its value remains a quality or diagnostic observation."
419
 
420
  [[task.evaluation.metrics]]
421
  id = "output_bias"
 
432
  ]
433
  normalization = "target"
434
  scale = 1.2
435
+
436
+ [task.evaluation.metrics.requirement]
437
  lower = 0
438
  upper = 1.2
439
+ rationale = "The declared node voltage or voltage span must remain within its ground-to-supply operating envelope; precision relative to the source remains a scored objective."
440
 
441
  [[task.evaluation.metrics]]
442
  id = "supply_power"
 
452
  "source_nominal:supply_power",
453
  ]
454
  normalization = "ratio"
 
455
  scale = 1e-12
456
 
457
+ [task.evaluation.metrics.requirement]
458
+ lower = 0
459
+ rationale = "The declared powered circuit or driven switching network must consume nonnegative net supply/driver energy or quiescent current under the complete stated observation."
460
+
461
  [task.evaluation.pre_layout]
462
+ source_report_sha256 = "97d06fbb60ba8b20fd4d39cef6b75104b7d85b375d768f21ff2c08a1a824a3f5"
463
 
464
  [task.evaluation.pre_layout.backends]
465
+ "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\": \"dce84f0cb44c7192511c807348bb3852682b1b4ec71ee94055876cb79ccbbdb1\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 600.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******\"}"
466
 
467
  [task.evaluation.pre_layout.jobs.source_nominal]
468
  operation = "circuit.simulate"
 
492
  output_gain_high = "V/V"
493
 
494
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
495
+ deck = "93b5c000491d8575e5b3b545fe48405e685d1412efa48b9a0551637877d1320b"
496
  dut = "d5c4009de00efbc07ad6c612fb371ef8cd7a837a49bec1a27f1d1729a2d8440d"
497
 
498
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.output_bias]
 
511
  value = 4.814877853977e-05
512
  unit = "W"
513
 
514
+ [task.evaluation.pre_layout.jobs.source_nominal.output_sha256]
515
+ ac = "7f3d1b944988ff00b215d75dc34da587af36b5c3c4a32f1b60fb38048a111f8e"
516
+ op = "e134a725d52c23c467cafd58e24cde7c4bd256a09b151d7bf174430d29776fdd"
517
+
518
  [toolchain.bindings]
519
  "layout.artifact" = "artifact"
520
  "layout.drc" = "drc"
 
527
  type = "klayout-docker"
528
 
529
  [toolchain.backends.artifact.settings]
530
+ image = "iclayout-eda-open:local"
531
  check = "artifact"
532
  timeout_seconds = 600
533
 
 
538
  support = "klayout"
539
 
540
  [toolchain.backends.drc.settings]
541
+ image = "iclayout-eda-open:local"
542
  check = "drc"
543
  support = "build/support/output-stage-klayout"
544
  profile = "drc-upstream.json"
 
551
  support = "klayout"
552
 
553
  [toolchain.backends.lvs.settings]
554
+ image = "iclayout-eda-open:local"
555
  check = "lvs"
556
  support = "build/support/output-stage-klayout"
557
  profile = "lvs-upstream.json"
 
564
  support = "magic"
565
 
566
  [toolchain.backends.rc.settings]
567
+ image = "iclayout-eda-open:local"
568
  support = "build/support/output-stage-magic"
569
  technology = "magic/ihp-sg13g2.tech"
570
  tech_name = "ihp-sg13g2"
 
576
  type = "klayout-geometry-docker"
577
 
578
  [toolchain.backends.geometry.settings]
579
+ image = "iclayout-eda-open:local"
580
  timeout_seconds = 120
581
 
582
  [toolchain.backends.simulation]
 
586
  support = "analog-models"
587
 
588
  [toolchain.backends.simulation.settings]
589
+ max_parallel_jobs = 8
590
+ threads = 1
591
+ cpu_budget = 8
592
+ image = "iclayout-eda-open:local"
593
  support = "build/support/output-stage-models"
594
  timeout_seconds = 600
595
 
tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/output_stage/materials/schematic.svg CHANGED
tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/output_stage/materials/testbench.spice CHANGED
@@ -23,6 +23,7 @@ let output_bias = v(vout)
23
  let supply_power = -v(vdd)*i(VDD)
24
  print output_bias supply_power
25
  write output-op.raw all
 
26
  ac dec 40 1 1g
27
  let output_gain_signed = -v(vout)/v(dn4)
28
  let gain_magnitude = abs(output_gain_signed)
 
23
  let supply_power = -v(vdd)*i(VDD)
24
  print output_bias supply_power
25
  write output-op.raw all
26
+ save i(vdd) v(dn4) v(vdd) v(vout)
27
  ac dec 40 1 1g
28
  let output_gain_signed = -v(vout)/v(dn4)
29
  let gain_magnitude = abs(output_gain_signed)
tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/output_stage/problem.md CHANGED
@@ -11,9 +11,7 @@ output-response limits after candidate-derived RC extraction.
11
 
12
  ## Inputs and Interface
13
 
14
- In addition to this problem, the solver receives the following declared
15
- materials. The structured constraints
16
- and evaluation plan are also available at runtime through `/protocol/task.json`.
17
 
18
  | Input | Purpose |
19
  |---|---|
@@ -21,8 +19,7 @@ and evaluation plan are also available at runtime through `/protocol/task.json`.
21
  | [materials/circuit.spice](materials/circuit.spice) | Pre-layout simulator netlist |
22
  | [materials/testbench.spice](materials/testbench.spice) | Bias, load, AC sweep, and public measurement expressions |
23
 
24
- Use one external label on each distinct conductor. Internal nodes must not be
25
- declared as external ports.
26
 
27
  | Port | Function | Nominal connection |
28
  |---|---|---|
@@ -40,8 +37,7 @@ replica `MM9`, long-channel NMOS pull-down `MM6`, MIM compensation capacitor
40
 
41
  ## Operating Conditions
42
 
43
- The pre-layout and candidate-derived simulations use the supplied deck and the
44
- same nominal model and parameter values.
45
 
46
  | Parameter | Setting |
47
  |---|---|
@@ -62,15 +58,9 @@ Submit a readable GDSII file with a nonempty `output_stage` top cell. The file
62
  must be at most 10 MiB (10,485,760 bytes) and must contain the complete
63
  hierarchy needed by the target cell.
64
 
65
- The evaluator runs the pinned SG13G2 main and additional maximal DRC rules in
66
- deep mode, with density and antenna checks disabled and no waivers. LVS uses the
67
- current `lvs-upstream.json` profile and strict named-port matching against
68
- `materials/circuit.cdl`; every declared port must stay on its own conductor
69
- with the declared connectivity and device parameters. Port names are matched
70
- case-insensitively.
71
 
72
- The functional outline is the recursive bounding box of polygons on these
73
- SG13G2 datatype-0 layers, including child cells and the complete routing stack:
74
 
75
  `1, 3, 5, 6, 7, 8, 10, 11, 13, 14, 19, 24, 26, 28, 29, 30, 31, 32, 33, 35, 36, 40, 44, 46, 49, 50, 51, 52, 53, 55, 58, 66, 67, 90, 101, 111, 125, 126, 128, 129, 133, 134, 139, 152`.
76
 
@@ -89,54 +79,28 @@ outside the declared scope. The finite source taps are used only in source calib
89
 
90
  ## Electrical Requirements and Scoring
91
 
92
- Physical checks and declared functional bounds remain mandatory. Quality has no
93
- fixed allowed-degradation threshold. Each `source_*` job simulates the declared
94
- source circuit with exactly the same testbench, model resources, parameters,
95
- load and measurement window as its paired extracted-candidate job. A source
96
- observation is the 100-point electrical baseline; it is independent of the
97
- submitted GDS. All individual pairs are retained in the evaluation report.
98
-
99
- For a post-layout observation x and its source observation b:
100
-
101
- - Maximize: q = x/b; minimize: q = b/x. When a numerical scale s is declared,
102
- use (x+s)/(b+s) or its inverse. This handles zero-valued error measurements;
103
- s is a normalization floor, not an allowed degradation or pass threshold.
104
- - Amplitude dB: q = 10^((x-b)/20) for maximize, its inverse for minimize.
105
- - Target: q = 1/(1+abs(x-b)/s), with a declared physical scale s. Signed and
106
- zero-valued operating points are never divided directly.
107
-
108
- Scoring uses `layout`. A metric uses its worst paired quality q. The score is
109
- S = 100 * product(q_i ** w_i), including area quality
110
- q_area = area_reference / candidate_functional_area. The weights below sum to
111
- one. Dimensions describe measurements but do not determine their weights.
112
- Physical or functional rejection scores zero; missing or invalid measurements
113
- produce an unknown score, including measurements with zero weight.
114
- Source-equivalent performance at the area reference scores 100; improvements
115
- can exceed 100. A weight expresses a tradeoff, not a hard acceptance limit.
116
-
117
- Measurement definitions below use the supplied SPICE node/source names.
118
- `v(n)` is node voltage and `i(V)` is current into a voltage source; delivered
119
- power therefore uses a minus sign. `db(z)=20*log10(abs(z))`, `mag/abs`
120
- denote magnitude, and `cph` is continuous phase in radians. `find`, `when`,
121
- `from/to`, and `rise/fall` retain the deck's interpolation, window and
122
- crossing conventions; SPICE suffixes p/n/u/m/meg/g mean pico/nano/micro/
123
- milli/mega/giga. Nested `avg`, `min`, `max`, `vecmin/vecmax` and `deriv`
124
- mean the stated window average, extrema and sampled derivative. All
125
- declared conditions are measured separately and paired with the same
126
- source condition; a group uses its worst paired quality.
127
-
128
- | Metric | Definition / observations | Unit | Quality rule | Functional bounds | Scale | Dimension |
129
  | --- | --- | --- | --- | --- | --- | --- |
130
  | `output_gain` | AC: Value of `(abs((-v(vout)/v(dn4)))) at=1meg`. | V/V | maximize / ratio | 0 … +∞ | — | response |
131
  | `output_gain_high` | AC: Value of `(abs((-v(vout)/v(dn4)))) at=100meg`. | V/V | maximize / ratio | 0 … +∞ | — | response |
132
  | `output_bias` | DC operating point: `v(vout)`. | V | target / target | 0 … 1.2 | 1.2 | bias |
133
  | `supply_power` | DC operating point: `-v(vdd)*i(VDD)`. | W | minimize / ratio | 0 … +∞ | 1e-12 | supply |
134
 
135
- Area reference: **2292.35 um2**. 6 expanded device instances; sum of device/contact envelopes 1466.0063 um2, per-side envelope allowance 0.6 um, 50% routing allowance and total outer width/height allowance 1.2 um. Estimate = ceil(100 * (1.5 * envelope_sum + 2 * margin * sqrt(envelope_sum) + margin^2)) / 100. Here margin is the total allowance across two opposite sides; the envelope sum is displayed rounded to four decimals. MOS/passive envelopes use declared W/L (or resistor dimensions) and multiplicity; explicit tap areas and HBT emitter/contact envelopes are included. This is a frozen engineering estimate, not a foundry minimum or a feasibility claim.
136
-
137
- The capability coefficient remains **4**; it is independent of
138
- the reference-relative task score.
139
 
 
140
 
141
  ### Score weights
142
 
@@ -154,22 +118,8 @@ Local gain stages: signal transfer 60.7%; operating points 6.07%; power 18.2%; a
154
 
155
  Solve budget: **3 hours**.
156
 
157
- Runtime environment and support resources are declared in
158
- `/protocol/resources.json` and `/protocol/harness.json`; the working directory is
159
- `/workspace`. KLayout performs artifact, DRC, LVS, and geometry checks; Magic
160
- performs RC extraction; ngspice runs the supplied deck with the reviewed SG13G2
161
- models. The evaluator provides the tool and PDK resources named by the case
162
- toolchain.
163
-
164
- For pre-layout simulation, use `materials/circuit.spice` as `dut.spice` beside
165
- the supplied testbench. The evaluator generates `parameters.spice` from the
166
- per-job values in `/protocol/task.json` and supplies the model paths and settings
167
- through the runtime resource bundle. For the submitted layout, the evaluator
168
- supplies the candidate-derived extracted netlist. If the harness declares
169
- `process-feedback`, the optional command is
170
- `python -I /protocol/process_check.py`; the final evaluation remains independent.
171
-
172
- Write the result to `/workspace/output/final.gds`, then run
173
- `python -I /protocol/submit.py` and wait for the submission receipt. Solver
174
- netlists, waveforms, and measurements are not accepted as substitutes for the
175
- independent evaluator inputs.
 
11
 
12
  ## Inputs and Interface
13
 
14
+ In addition to this description, the solver receives the following declared materials. The runtime `/protocol/task.json` also supplies structured constraints and the evaluation plan.
 
 
15
 
16
  | Input | Purpose |
17
  |---|---|
 
19
  | [materials/circuit.spice](materials/circuit.spice) | Pre-layout simulator netlist |
20
  | [materials/testbench.spice](materials/testbench.spice) | Bias, load, AC sweep, and public measurement expressions |
21
 
22
+ Use one external label per independent conductor; internal nodes must not be declared as external ports.
 
23
 
24
  | Port | Function | Nominal connection |
25
  |---|---|---|
 
37
 
38
  ## Operating Conditions
39
 
40
+ Source and candidate extracted circuits use the supplied decks with identical nominal models and parameters.
 
41
 
42
  | Parameter | Setting |
43
  |---|---|
 
58
  must be at most 10 MiB (10,485,760 bytes) and must contain the complete
59
  hierarchy needed by the target cell.
60
 
61
+ Use the pinned SG13G2 main rules and additional maximal DRC rules in deep mode, with density and antenna checks disabled and no waivers. LVS uses the current `lvs-upstream.json` configuration and strictly matches named ports against `materials/circuit.cdl`, preserving each port's independent conductor, connections and device parameters; port names are case insensitive.
 
 
 
 
 
62
 
63
+ The functional outline is the recursive bounding box of polygons on the following SG13G2 datatype-0 layers, including child cells and every routing layer:
 
64
 
65
  `1, 3, 5, 6, 7, 8, 10, 11, 13, 14, 19, 24, 26, 28, 29, 30, 31, 32, 33, 35, 36, 40, 44, 46, 49, 50, 51, 52, 53, 55, 58, 66, 67, 90, 101, 111, 125, 126, 128, 129, 133, 134, 139, 152`.
66
 
 
79
 
80
  ## Electrical Requirements and Scoring
81
 
82
+ 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.
83
+
84
+ Let x be the post-layout measurement and b the source-circuit measurement under the same conditions:
85
+
86
+ - Ratio normalization: maximize with q = x/b and minimize with q = b/x. When a numerical scale s is declared, use (x+s)/(b+s) and its reciprocal, respectively. The scale handles zero values as a normalization floor; it is neither an allowed degradation nor an acceptance bound.
87
+ - Amplitude in dB: maximize with q = 10^((x-b)/20) and minimize with its reciprocal.
88
+ - Target normalization: q = 1/(1+abs(x-b)/s), where s is the declared physical scale. Signed or zero-valued operating points are not divided directly.
89
+
90
+ Use `layout` scoring. Each metric takes its worst paired quality q, and the total score is S = 100 * product(q_i ** w_i), with area quality q_area = area_reference / candidate_functional_area. The weights below sum to 1; metric dimensions describe measurements and do not determine weights. Physical or functional rejection scores zero; missing or invalid measurements leave the score unknown, and zero-weight observations must also be valid. Matching source-circuit performance at the reference area scores 100 points; better valid solutions may exceed 100. Weights express quality tradeoffs rather than hard bounds.
91
+
92
+ The measurements below use the supplied SPICE node and source names. `v(n)` is a node voltage; `i(V)` is current flowing into a voltage source, so delivered power uses a negative sign. `db(z)=20*log10(abs(z))`; `mag/abs` denote magnitude, and `cph` denotes continuous phase in radians. `find`, `when`, `from/to` and `rise/fall` follow the deck's interpolation, window and crossing conventions. SPICE suffixes p/n/u/m/meg/g mean pico/nano/micro/milli/mega/giga. Nested `avg`, `min`, `max`, `vecmin/vecmax` and `deriv` represent window averages, extrema and sampled derivatives. Measure each operating condition independently, pair it with the source result under that condition, and take the worst paired quality within each metric group.
93
+
94
+ | Metric | Definition / observation | Unit | Quality normalization | Functional range | Scale | Dimension |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
  | --- | --- | --- | --- | --- | --- | --- |
96
  | `output_gain` | AC: Value of `(abs((-v(vout)/v(dn4)))) at=1meg`. | V/V | maximize / ratio | 0 … +∞ | — | response |
97
  | `output_gain_high` | AC: Value of `(abs((-v(vout)/v(dn4)))) at=100meg`. | V/V | maximize / ratio | 0 … +∞ | — | response |
98
  | `output_bias` | DC operating point: `v(vout)`. | V | target / target | 0 … 1.2 | 1.2 | bias |
99
  | `supply_power` | DC operating point: `-v(vdd)*i(VDD)`. | W | minimize / ratio | 0 … +∞ | 1e-12 | supply |
100
 
101
+ Area reference: **2292.35 um2**. The expanded circuit has 6 device instances, a sum of device/contact envelopes 1466.0063 um2, a one-sided envelope margin of 0.6 um, a routing allowance of 50%, and a total outer width/height allowance 1.2 um. Estimate = ceil(100 * (1.5 * envelope_sum + 2 * margin * sqrt(envelope_sum) + margin^2)) / 100. Here margin is the total allowance across both sides, and the envelope sum is displayed to four decimal places. MOS/passive envelopes use W/L (or resistor dimensions) and multiplicity, including explicit contacts and HBT emitter/contact envelopes. This is a frozen engineering estimate, not a process minimum or a proven achievable area.
 
 
 
102
 
103
+ The capability coefficient is **4**, independent of this task's reference-normalized score.
104
 
105
  ### Score weights
106
 
 
118
 
119
  Solve budget: **3 hours**.
120
 
121
+ See `/protocol/resources.json` and `/protocol/harness.json` for runtime and supporting resources; the working directory is `/workspace`. KLayout checks files, DRC, LVS and geometry, Magic extracts RC, and ngspice runs decks with reviewed SG13G2 models. The evaluator supplies tools and PDK specified by the contract toolchain.
122
+
123
+ For source simulation, place `materials/circuit.spice` as `dut.spice` beside the testbench. The evaluator generates `parameters.spice` from per-job parameters in `/protocol/task.json`, supplying model paths and settings through the resource bundle; candidate evaluation uses its extracted netlist. If `process-feedback` is declared, run `python -I /protocol/process_check.py`; final evaluation is independent.
124
+
125
+ Write the result to `/workspace/output/final.gds`, run `python -I /protocol/submit.py` and wait for a submission receipt. Solver netlists, waveforms and measurements cannot replace independent evaluator inputs.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tasks/ihp-sg13g2/TO_Apr2025/cases/160GHz_LNA/case.toml CHANGED
@@ -1,15 +1,15 @@
1
- in_core = false
2
  kind = "layout_case"
3
  id = "TO_Apr2025.160GHz_LNA"
4
  title = "TO_Apr2025 160-derived four-stage LNA at 100 MHz"
5
  status = "qualified"
 
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
- sha256 = "e8fd0801394151ea393920be920c74307331b14c1f69fce20b9ec4b98132eb34"
13
 
14
  [[assets]]
15
  path = "reference/LNA160_FOUR_STAGE.gds"
@@ -27,24 +27,24 @@ environment = "ihp-sg13g2-lna160-derived-functional"
27
 
28
  [task.inputs.description]
29
  path = "problem.md"
30
- sha256 = "5e5a0af0922c789a4839a8864678558907f3d5061195d75c24a648250014a300"
31
  format = "text"
 
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
35
- sha256 = "26b815aa103d0d81b54e21c661b28860304a5d23be900d17192cbb92100be3c6"
36
  format = "spice"
37
  subcircuit = "LNA160_FOUR_STAGE"
 
38
 
39
  [task.inputs.simulation]
40
  path = "materials/circuit.spice"
41
- sha256 = "ab1256da874a66cd7e70117d2e9758747cd99ba37c5fd0209180bcb558b1c379"
42
  format = "spice"
 
43
 
44
  [task.inputs.performance]
45
  path = "materials/testbench.spice"
46
- sha256 = "73cd2486a28743b5e6f7b28533c3f4f8a30dc2794e732b30791612ecebed9dc8"
47
  format = "spice"
 
48
 
49
  [task.constraints]
50
  quality = [
@@ -405,8 +405,11 @@ baseline = [
405
  ]
406
  normalization = "target"
407
  scale = 1.2
 
 
408
  lower = 0
409
  upper = 1.2
 
410
 
411
  [[task.evaluation.metrics]]
412
  id = "supply_current"
@@ -423,13 +426,16 @@ baseline = [
423
  ]
424
  normalization = "ratio"
425
  scale = 1e-12
 
 
426
  lower = 0
 
427
 
428
  [task.evaluation.pre_layout]
429
- source_report_sha256 = "0b95e12c8ba9c8144ab776bd212e0b732ddd10d86f9cd2c9afaf53f40b85a29e"
430
 
431
  [task.evaluation.pre_layout.backends]
432
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"ef9cb87fa27b849376472663b7362673979b89e012f161ba47bb5f6af6ede8eb\", \"compatibility\": null, \"execution_sha256\": \"5424b579002782bfddf0a729715b8fbf2a5f7f2b4cf14982d7616e352d5de9be\", \"image_id\": \"sha256:6562558774d43c085a289bbba696c55959eb8051a0996f96633451fbeb9c652d\", \"limits\": {\"cpus\": 4, \"memory_mb\": 4096, \"pids\": 256}, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"9bd461e0d9b1be65a6cd4e1c2352feb4a9aedfbc1fb32828bccfdba2f208dba2\", \"timeout_seconds\": 600.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******\"}"
433
 
434
  [task.evaluation.pre_layout.jobs.source_nominal]
435
  operation = "circuit.simulate"
@@ -459,7 +465,7 @@ ac = "frequency_response.raw"
459
 
460
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
461
  circuit = "ab1256da874a66cd7e70117d2e9758747cd99ba37c5fd0209180bcb558b1c379"
462
- deck = "73cd2486a28743b5e6f7b28533c3f4f8a30dc2794e732b30791612ecebed9dc8"
463
 
464
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.gain_db]
465
  value = 40.84071
@@ -481,6 +487,10 @@ unit = "V"
481
  value = 0.8
482
  unit = "V"
483
 
 
 
 
 
484
  [toolchain.bindings]
485
  "layout.artifact" = "artifact"
486
  "layout.drc" = "drc"
@@ -493,7 +503,7 @@ unit = "V"
493
  type = "klayout-docker"
494
 
495
  [toolchain.backends.artifact.settings]
496
- image = "iclayout-bench-tools:local"
497
  check = "artifact"
498
  timeout_seconds = 600
499
 
@@ -504,7 +514,7 @@ type = "klayout-docker"
504
  support = "klayout"
505
 
506
  [toolchain.backends.drc.settings]
507
- image = "iclayout-bench-tools:local"
508
  check = "drc"
509
  support = "build/support/lna160-klayout"
510
  profile = "drc-upstream.json"
@@ -517,7 +527,7 @@ type = "klayout-docker"
517
  support = "klayout"
518
 
519
  [toolchain.backends.lvs.settings]
520
- image = "iclayout-bench-tools:local"
521
  check = "lvs"
522
  support = "build/support/lna160-klayout"
523
  profile = "lvs-upstream.json"
@@ -527,7 +537,7 @@ timeout_seconds = 600
527
  type = "klayout-geometry-docker"
528
 
529
  [toolchain.backends.geometry.settings]
530
- image = "iclayout-bench-tools:local"
531
  timeout_seconds = 600
532
 
533
  [toolchain.backends.parasitics]
@@ -538,7 +548,7 @@ klayout_support = "klayout"
538
  magic_support = "magic"
539
 
540
  [toolchain.backends.parasitics.settings]
541
- image = "iclayout-bench-tools:local"
542
  klayout_support = "build/support/lna160-klayout"
543
  klayout_profile = "lvs-upstream.json"
544
  magic_support = "build/support/lna160-magic"
@@ -555,7 +565,10 @@ type = "ngspice-docker"
555
  support = "hbt-models"
556
 
557
  [toolchain.backends.simulation.settings]
558
- image = "iclayout-bench-tools:local"
 
 
 
559
  support = "build/support/lna160-hbt-models"
560
  timeout_seconds = 600
561
 
 
 
1
  kind = "layout_case"
2
  id = "TO_Apr2025.160GHz_LNA"
3
  title = "TO_Apr2025 160-derived four-stage LNA at 100 MHz"
4
  status = "qualified"
5
+ in_core = false
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
+ sha256 = "3efe6d2ab9b53c7ed1d5c9647466b0447e0c2c3e41a6c864e00b3d8c686b7c5d"
13
 
14
  [[assets]]
15
  path = "reference/LNA160_FOUR_STAGE.gds"
 
27
 
28
  [task.inputs.description]
29
  path = "problem.md"
 
30
  format = "text"
31
+ sha256 = "0af53557020e96c00a175ed22da089ac02e8398e21ead951e4f7b7b0be3e295a"
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
 
35
  format = "spice"
36
  subcircuit = "LNA160_FOUR_STAGE"
37
+ sha256 = "26b815aa103d0d81b54e21c661b28860304a5d23be900d17192cbb92100be3c6"
38
 
39
  [task.inputs.simulation]
40
  path = "materials/circuit.spice"
 
41
  format = "spice"
42
+ sha256 = "ab1256da874a66cd7e70117d2e9758747cd99ba37c5fd0209180bcb558b1c379"
43
 
44
  [task.inputs.performance]
45
  path = "materials/testbench.spice"
 
46
  format = "spice"
47
+ sha256 = "9dec3c3cdfe1917a14bfad09e13d88d043b331b061fa57515a22c4cb570fe1de"
48
 
49
  [task.constraints]
50
  quality = [
 
405
  ]
406
  normalization = "target"
407
  scale = 1.2
408
+
409
+ [task.evaluation.metrics.requirement]
410
  lower = 0
411
  upper = 1.2
412
+ rationale = "The declared node voltage or voltage span must remain within its ground-to-supply operating envelope; precision relative to the source remains a scored objective."
413
 
414
  [[task.evaluation.metrics]]
415
  id = "supply_current"
 
426
  ]
427
  normalization = "ratio"
428
  scale = 1e-12
429
+
430
+ [task.evaluation.metrics.requirement]
431
  lower = 0
432
+ rationale = "The declared powered circuit or driven switching network must consume nonnegative net supply/driver energy or quiescent current under the complete stated observation."
433
 
434
  [task.evaluation.pre_layout]
435
+ source_report_sha256 = "246755dfc52757d48dbd754d54bbc32b55daf6d2848910528af13374ba769b62"
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\": \"7b432fb4cf7911c02eacee3ceaad658c961f16f22bc890ee7ad89b3e44108141\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 600.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"
 
465
 
466
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
467
  circuit = "ab1256da874a66cd7e70117d2e9758747cd99ba37c5fd0209180bcb558b1c379"
468
+ deck = "9dec3c3cdfe1917a14bfad09e13d88d043b331b061fa57515a22c4cb570fe1de"
469
 
470
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.gain_db]
471
  value = 40.84071
 
487
  value = 0.8
488
  unit = "V"
489
 
490
+ [task.evaluation.pre_layout.jobs.source_nominal.output_sha256]
491
+ op = "8d3601a640cbbdffb5c01f968995ccc258e5bf8ea99f3b3fdcd6ac12583781e3"
492
+ ac = "7c534f3430aabd2e9dc6fdb583dc8552ce6d8cafd1cd75ef135af645a9cdd650"
493
+
494
  [toolchain.bindings]
495
  "layout.artifact" = "artifact"
496
  "layout.drc" = "drc"
 
503
  type = "klayout-docker"
504
 
505
  [toolchain.backends.artifact.settings]
506
+ image = "iclayout-eda-open:local"
507
  check = "artifact"
508
  timeout_seconds = 600
509
 
 
514
  support = "klayout"
515
 
516
  [toolchain.backends.drc.settings]
517
+ image = "iclayout-eda-open:local"
518
  check = "drc"
519
  support = "build/support/lna160-klayout"
520
  profile = "drc-upstream.json"
 
527
  support = "klayout"
528
 
529
  [toolchain.backends.lvs.settings]
530
+ image = "iclayout-eda-open:local"
531
  check = "lvs"
532
  support = "build/support/lna160-klayout"
533
  profile = "lvs-upstream.json"
 
537
  type = "klayout-geometry-docker"
538
 
539
  [toolchain.backends.geometry.settings]
540
+ image = "iclayout-eda-open:local"
541
  timeout_seconds = 600
542
 
543
  [toolchain.backends.parasitics]
 
548
  magic_support = "magic"
549
 
550
  [toolchain.backends.parasitics.settings]
551
+ image = "iclayout-eda-open:local"
552
  klayout_support = "build/support/lna160-klayout"
553
  klayout_profile = "lvs-upstream.json"
554
  magic_support = "build/support/lna160-magic"
 
565
  support = "hbt-models"
566
 
567
  [toolchain.backends.simulation.settings]
568
+ max_parallel_jobs = 8
569
+ threads = 1
570
+ cpu_budget = 8
571
+ image = "iclayout-eda-open:local"
572
  support = "build/support/lna160-hbt-models"
573
  timeout_seconds = 600
574
 
tasks/ihp-sg13g2/TO_Apr2025/cases/160GHz_LNA/materials/schematic.svg CHANGED
tasks/ihp-sg13g2/TO_Apr2025/cases/160GHz_LNA/materials/testbench.spice CHANGED
@@ -27,6 +27,7 @@ echo out_bias = $&out_bias
27
  echo i_vdd = $&i_vdd
28
  echo i_vbias = $&i_vbias
29
  write operating_point.raw all
 
30
  ac dec 40 1meg 1gig
31
  let gain_db=db(v(out)/v(in))
32
  meas ac gain_db find gain_db at=100meg
 
27
  echo i_vdd = $&i_vdd
28
  echo i_vbias = $&i_vbias
29
  write operating_point.raw all
30
+ save i(vbias) i(vdd) v(in) v(out)
31
  ac dec 40 1meg 1gig
32
  let gain_db=db(v(out)/v(in))
33
  meas ac gain_db find gain_db at=100meg
tasks/ihp-sg13g2/TO_Apr2025/cases/160GHz_LNA/problem.md CHANGED
@@ -10,8 +10,7 @@ checks and nominal post-layout measurements below.
10
 
11
  ## Inputs and Interface
12
 
13
- In addition to this problem, the runtime task supplies the following declared
14
- inputs:
15
 
16
  | Input | Purpose |
17
  |---|---|
@@ -67,12 +66,9 @@ also pass strict named-port LVS against `materials/circuit.cdl`, including
67
  the five ports, HBT multiplicities, passive geometry and explicit substrate
68
  tap. Artifact, DRC, LVS and geometry gates all precede candidate extraction.
69
 
70
- The GDS must include the complete target hierarchy. Port names are matched
71
- case-insensitively; each declared port must remain on its own conductor with
72
- the declared connectivity.
73
 
74
- The functional outline is the recursive bounding box of polygons on these
75
- SG13G2 datatype-0 layers, including child cells and the complete routing stack:
76
 
77
  `1, 3, 5, 6, 7, 8, 10, 11, 13, 14, 19, 24, 26, 28, 29, 30, 31, 32, 33, 35, 36, 40, 44, 46, 49, 50, 51, 52, 53, 55, 58, 66, 67, 90, 101, 111, 125, 126, 128, 129, 133, 134, 139, 152`.
78
 
@@ -95,57 +91,31 @@ internal-node aliases or simulator global-ground substitutions are permitted.
95
 
96
  ## Electrical Requirements and Scoring
97
 
98
- Physical checks and declared functional bounds remain mandatory. Quality has no
99
- fixed allowed-degradation threshold. Each `source_*` job simulates the declared
100
- source circuit with exactly the same testbench, model resources, parameters,
101
- load and measurement window as its paired extracted-candidate job. A source
102
- observation is the 100-point electrical baseline; it is independent of the
103
- submitted GDS. All individual pairs are retained in the evaluation report.
104
-
105
- For a post-layout observation x and its source observation b:
106
-
107
- - Maximize: q = x/b; minimize: q = b/x. When a numerical scale s is declared,
108
- use (x+s)/(b+s) or its inverse. This handles zero-valued error measurements;
109
- s is a normalization floor, not an allowed degradation or pass threshold.
110
- - Amplitude dB: q = 10^((x-b)/20) for maximize, its inverse for minimize.
111
- - Target: q = 1/(1+abs(x-b)/s), with a declared physical scale s. Signed and
112
- zero-valued operating points are never divided directly.
113
-
114
- Scoring uses `layout`. A metric uses its worst paired quality q. The score is
115
- S = 100 * product(q_i ** w_i), including area quality
116
- q_area = area_reference / candidate_functional_area. The weights below sum to
117
- one. Dimensions describe measurements but do not determine their weights.
118
- Physical or functional rejection scores zero; missing or invalid measurements
119
- produce an unknown score, including measurements with zero weight.
120
- Source-equivalent performance at the area reference scores 100; improvements
121
- can exceed 100. A weight expresses a tradeoff, not a hard acceptance limit.
122
-
123
- Measurement definitions below use the supplied SPICE node/source names.
124
- `v(n)` is node voltage and `i(V)` is current into a voltage source; delivered
125
- power therefore uses a minus sign. `db(z)=20*log10(abs(z))`, `mag/abs`
126
- denote magnitude, and `cph` is continuous phase in radians. `find`, `when`,
127
- `from/to`, and `rise/fall` retain the deck's interpolation, window and
128
- crossing conventions; SPICE suffixes p/n/u/m/meg/g mean pico/nano/micro/
129
- milli/mega/giga. Nested `avg`, `min`, `max`, `vecmin/vecmax` and `deriv`
130
- mean the stated window average, extrema and sampled derivative. All
131
- declared conditions are measured separately and paired with the same
132
- source condition; a group uses its worst paired quality.
133
-
134
- | Metric | Definition / observations | Unit | Quality rule | Functional bounds | Scale | Dimension |
135
  | --- | --- | --- | --- | --- | --- | --- |
136
  | `gain_db` | AC: Value of `(db(v(out)/v(in))) at=100meg`. | dB | maximize / db20 | −∞ … +∞ | — | response |
137
  | `output_bias` | DC operating point: `v(out)`. | V | target / target | 0 … 1.2 | 1.2 | bias |
138
  | `supply_current` | DC operating point: `-i(vdd)`. | A | minimize / ratio | 0 … +∞ | 1e-12 | supply |
139
 
140
- Area reference: **1326.32 um2**. 16 expanded device instances; sum of device/contact envelopes 836.9640 um2, per-side envelope allowance 0.6 um, 50% routing allowance and total outer width/height allowance 1.2 um. Estimate = ceil(100 * (1.5 * envelope_sum + 2 * margin * sqrt(envelope_sum) + margin^2)) / 100. Here margin is the total allowance across two opposite sides; the envelope sum is displayed rounded to four decimals. MOS/passive envelopes use declared W/L (or resistor dimensions) and multiplicity; explicit tap areas and HBT emitter/contact envelopes are included. This is a frozen engineering estimate, not a foundry minimum or a feasibility claim.
141
-
142
- The capability coefficient remains **5**; it is independent of
143
- the reference-relative task score.
144
 
 
145
 
146
  ### Score weights
147
 
148
- SiGe low-frequency transfer tasks: signal transfer 68.8%; bias 5.29%; supply cost 15.9%; area 10%. Each objective's weight is divided equally among its metrics.
149
 
150
  | Metric | Weight |
151
  | --- | ---: |
@@ -158,12 +128,7 @@ SiGe low-frequency transfer tasks: signal transfer 68.8%; bias 5.29%; supply cos
158
 
159
  Solve budget: **3 hours**.
160
 
161
- Discover the supplied task, resources, harness and constraints from
162
- `/protocol/task.json`, `/protocol/resources.json` and
163
- `/protocol/harness.json`. Use the tool and PDK resources selected by the
164
- runtime environment. If the harness declares `process-feedback`, request
165
- an optional frozen process check with `python -I /protocol/process_check.py`;
166
- the final evaluation remains independent.
167
 
168
  Write the answer to `/workspace/output/final.gds` as a GDS file with top cell
169
  `LNA160_FOUR_STAGE` and wait for the submission receipt:
@@ -172,5 +137,4 @@ Write the answer to `/workspace/output/final.gds` as a GDS file with top cell
172
  python -I /protocol/submit.py
173
  ```
174
 
175
- The evaluator uses the submitted snapshot for all physical checks, extraction
176
- and simulations.
 
10
 
11
  ## Inputs and Interface
12
 
13
+ In addition to this description, the runtime task supplies the following declared inputs:
 
14
 
15
  | Input | Purpose |
16
  |---|---|
 
66
  the five ports, HBT multiplicities, passive geometry and explicit substrate
67
  tap. Artifact, DRC, LVS and geometry gates all precede candidate extraction.
68
 
69
+ The GDS must contain the complete target hierarchy. Port names are case insensitive; each declared port must retain its conductor and declared connections.
 
 
70
 
71
+ The functional outline is the recursive bounding box of polygons on the following SG13G2 datatype-0 layers, including child cells and every routing layer:
 
72
 
73
  `1, 3, 5, 6, 7, 8, 10, 11, 13, 14, 19, 24, 26, 28, 29, 30, 31, 32, 33, 35, 36, 40, 44, 46, 49, 50, 51, 52, 53, 55, 58, 66, 67, 90, 101, 111, 125, 126, 128, 129, 133, 134, 139, 152`.
74
 
 
91
 
92
  ## Electrical Requirements and Scoring
93
 
94
+ 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.
95
+
96
+ Let x be the post-layout measurement and b the source-circuit measurement under the same conditions:
97
+
98
+ - Ratio normalization: maximize with q = x/b and minimize with q = b/x. When a numerical scale s is declared, use (x+s)/(b+s) and its reciprocal, respectively. The scale handles zero values as a normalization floor; it is neither an allowed degradation nor an acceptance bound.
99
+ - Amplitude in dB: maximize with q = 10^((x-b)/20) and minimize with its reciprocal.
100
+ - Target normalization: q = 1/(1+abs(x-b)/s), where s is the declared physical scale. Signed or zero-valued operating points are not divided directly.
101
+
102
+ Use `layout` scoring. Each metric takes its worst paired quality q, and the total score is S = 100 * product(q_i ** w_i), with area quality q_area = area_reference / candidate_functional_area. The weights below sum to 1; metric dimensions describe measurements and do not determine weights. Physical or functional rejection scores zero; missing or invalid measurements leave the score unknown, and zero-weight observations must also be valid. Matching source-circuit performance at the reference area scores 100 points; better valid solutions may exceed 100. Weights express quality tradeoffs rather than hard bounds.
103
+
104
+ The measurements below use the supplied SPICE node and source names. `v(n)` is a node voltage; `i(V)` is current flowing into a voltage source, so delivered power uses a negative sign. `db(z)=20*log10(abs(z))`; `mag/abs` denote magnitude, and `cph` denotes continuous phase in radians. `find`, `when`, `from/to` and `rise/fall` follow the deck's interpolation, window and crossing conventions. SPICE suffixes p/n/u/m/meg/g mean pico/nano/micro/milli/mega/giga. Nested `avg`, `min`, `max`, `vecmin/vecmax` and `deriv` represent window averages, extrema and sampled derivatives. Measure each operating condition independently, pair it with the source result under that condition, and take the worst paired quality within each metric group.
105
+
106
+ | Metric | Definition / observation | Unit | Quality normalization | Functional range | Scale | Dimension |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
  | --- | --- | --- | --- | --- | --- | --- |
108
  | `gain_db` | AC: Value of `(db(v(out)/v(in))) at=100meg`. | dB | maximize / db20 | −∞ … +∞ | — | response |
109
  | `output_bias` | DC operating point: `v(out)`. | V | target / target | 0 … 1.2 | 1.2 | bias |
110
  | `supply_current` | DC operating point: `-i(vdd)`. | A | minimize / ratio | 0 … +∞ | 1e-12 | supply |
111
 
112
+ Area reference: **1326.32 um2**. The expanded circuit has 16 device instances, a sum of device/contact envelopes 836.9640 um2, a one-sided envelope margin of 0.6 um, a routing allowance of 50%, and a total outer width/height allowance 1.2 um. Estimate = ceil(100 * (1.5 * envelope_sum + 2 * margin * sqrt(envelope_sum) + margin^2)) / 100. Here margin is the total allowance across both sides, and the envelope sum is displayed to four decimal places. MOS/passive envelopes use W/L (or resistor dimensions) and multiplicity, including explicit contacts and HBT emitter/contact envelopes. This is a frozen engineering estimate, not a process minimum or a proven achievable area.
 
 
 
113
 
114
+ The capability coefficient is **5**, independent of this task's reference-normalized score.
115
 
116
  ### Score weights
117
 
118
+ SiGe low-frequency transfer: signal transfer 68.8%, bias 5.29%, supply cost 15.9%, area 10%; each objective weight is divided equally among its metrics.
119
 
120
  | Metric | Weight |
121
  | --- | ---: |
 
128
 
129
  Solve budget: **3 hours**.
130
 
131
+ Discover the task, resources, protocol and constraints through `/protocol/task.json`, `/protocol/resources.json`, `/protocol/harness.json`, and use the tools and PDK specified by the runtime environment. If the protocol declares `process-feedback`, run `python -I /protocol/process_check.py` to request an intermediate check using the frozen flow; final evaluation runs independently.
 
 
 
 
 
132
 
133
  Write the answer to `/workspace/output/final.gds` as a GDS file with top cell
134
  `LNA160_FOUR_STAGE` and wait for the submission receipt:
 
137
  python -I /protocol/submit.py
138
  ```
139
 
140
+ All physical checks, extraction and simulation use the submitted snapshot.
 
tasks/ihp-sg13g2/TO_Apr2025/cases/40_GHZ_LOW_NOISE_TIA/case.toml CHANGED
@@ -1,15 +1,15 @@
1
- in_core = false
2
  kind = "layout_case"
3
  id = "TO_Apr2025.40_GHZ_LOW_NOISE_TIA"
4
  title = "TO_Apr2025 40 GHz low-noise single-ended TIA"
5
  status = "qualified"
 
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
- sha256 = "de9db61acedff476ca6403a72f828a9b43e95a296ea7f9220562876179cded52"
13
 
14
  [[assets]]
15
  path = "reference/FDM_QNC_00_LN_TIA.gds"
@@ -27,24 +27,24 @@ environment = "ihp-sg13g2-to-40ghz-lvs"
27
 
28
  [task.inputs.description]
29
  path = "problem.md"
30
- sha256 = "4e1bf1e9856e4ca70e160b47ab5585fe97b6da4e48c97cc3287c62ff3fada74a"
31
  format = "text"
 
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
35
- sha256 = "17a094c09698acfbe6a25a50d3a0292ebb82fd82b7e21269442bcdd4fa3c0d45"
36
  format = "spice"
37
  subcircuit = "FDM_QNC_00_LN_TIA"
 
38
 
39
  [task.inputs.simulation]
40
  path = "materials/circuit.spice"
41
- sha256 = "62f7df0322744074c141d2bbbd3d5e9537fb06ee02729758e5f787a6de56c515"
42
  format = "spice"
 
43
 
44
  [task.inputs.performance]
45
  path = "materials/testbench.spice"
46
- sha256 = "4973b1a2b9d7ca896646e106df79170391670961e01377f4d4dd2c2109a9dae4"
47
  format = "spice"
 
48
 
49
  [task.constraints]
50
  quality = [
@@ -457,7 +457,10 @@ baseline = [
457
  "source_positive:transimpedance_low",
458
  ]
459
  normalization = "ratio"
 
 
460
  lower = 0
 
461
 
462
  [[task.evaluation.metrics]]
463
  id = "transimpedance_high"
@@ -477,7 +480,10 @@ baseline = [
477
  "source_positive:transimpedance_high",
478
  ]
479
  normalization = "ratio"
 
 
480
  lower = 0
 
481
 
482
  [[task.evaluation.metrics]]
483
  id = "input_bias"
@@ -498,8 +504,11 @@ baseline = [
498
  ]
499
  normalization = "target"
500
  scale = 2.1
 
 
501
  lower = 0
502
  upper = 2.1
 
503
 
504
  [[task.evaluation.metrics]]
505
  id = "output_bias"
@@ -520,8 +529,11 @@ baseline = [
520
  ]
521
  normalization = "target"
522
  scale = 2.1
 
 
523
  lower = 0
524
  upper = 2.1
 
525
 
526
  [[task.evaluation.metrics]]
527
  id = "supply_power"
@@ -541,14 +553,17 @@ baseline = [
541
  "source_positive:supply_power",
542
  ]
543
  normalization = "ratio"
544
- lower = 0
545
  scale = 1e-12
546
 
 
 
 
 
547
  [task.evaluation.pre_layout]
548
- source_report_sha256 = "1ffd46800506bade3d1b06c7a06ba55a3ae9860cfdb7fae985ea26b8e36d2dfc"
549
 
550
  [task.evaluation.pre_layout.backends]
551
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"ef9cb87fa27b849376472663b7362673979b89e012f161ba47bb5f6af6ede8eb\", \"compatibility\": null, \"execution_sha256\": \"5424b579002782bfddf0a729715b8fbf2a5f7f2b4cf14982d7616e352d5de9be\", \"image_id\": \"sha256:6562558774d43c085a289bbba696c55959eb8051a0996f96633451fbeb9c652d\", \"limits\": {\"cpus\": 4, \"memory_mb\": 4096, \"pids\": 256}, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"cb523c6d8d1360cb230ef661aff6bf7e231b68cb3b2effe84934228456a0d7d1\", \"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******\"}"
552
 
553
  [task.evaluation.pre_layout.jobs.source_negative]
554
  operation = "circuit.simulate"
@@ -580,7 +595,7 @@ ac = "frequency_response.raw"
580
 
581
  [task.evaluation.pre_layout.jobs.source_negative.input_sha256]
582
  circuit = "62f7df0322744074c141d2bbbd3d5e9537fb06ee02729758e5f787a6de56c515"
583
- deck = "4973b1a2b9d7ca896646e106df79170391670961e01377f4d4dd2c2109a9dae4"
584
 
585
  [task.evaluation.pre_layout.jobs.source_negative.measurements.input_bias]
586
  value = 0.7692856317372
@@ -614,6 +629,10 @@ unit = "ohm"
614
  value = 635.1806
615
  unit = "ohm"
616
 
 
 
 
 
617
  [task.evaluation.pre_layout.jobs.source_zero]
618
  operation = "circuit.simulate"
619
 
@@ -644,7 +663,7 @@ ac = "frequency_response.raw"
644
 
645
  [task.evaluation.pre_layout.jobs.source_zero.input_sha256]
646
  circuit = "62f7df0322744074c141d2bbbd3d5e9537fb06ee02729758e5f787a6de56c515"
647
- deck = "4973b1a2b9d7ca896646e106df79170391670961e01377f4d4dd2c2109a9dae4"
648
 
649
  [task.evaluation.pre_layout.jobs.source_zero.measurements.input_bias]
650
  value = 0.7969694832621
@@ -678,6 +697,10 @@ unit = "ohm"
678
  value = 447.0679
679
  unit = "ohm"
680
 
 
 
 
 
681
  [task.evaluation.pre_layout.jobs.source_positive]
682
  operation = "circuit.simulate"
683
 
@@ -708,7 +731,7 @@ ac = "frequency_response.raw"
708
 
709
  [task.evaluation.pre_layout.jobs.source_positive.input_sha256]
710
  circuit = "62f7df0322744074c141d2bbbd3d5e9537fb06ee02729758e5f787a6de56c515"
711
- deck = "4973b1a2b9d7ca896646e106df79170391670961e01377f4d4dd2c2109a9dae4"
712
 
713
  [task.evaluation.pre_layout.jobs.source_positive.measurements.input_bias]
714
  value = 0.8137989315389
@@ -742,6 +765,10 @@ unit = "ohm"
742
  value = 69.38208
743
  unit = "ohm"
744
 
 
 
 
 
745
  [qualification]
746
  reference = "reference/FDM_QNC_00_LN_TIA.gds"
747
 
@@ -757,7 +784,7 @@ reference = "reference/FDM_QNC_00_LN_TIA.gds"
757
  type = "klayout-geometry-docker"
758
 
759
  [toolchain.backends.geometry.settings]
760
- image = "iclayout-bench-tools:local"
761
  timeout_seconds = 120
762
 
763
  [toolchain.backends.drc]
@@ -767,7 +794,7 @@ type = "klayout-docker"
767
  support = "klayout"
768
 
769
  [toolchain.backends.drc.settings]
770
- image = "iclayout-bench-tools:local"
771
  check = "drc"
772
  support = "build/support/to-40ghz-klayout"
773
  profile = "drc-upstream.json"
@@ -780,7 +807,7 @@ type = "klayout-docker"
780
  support = "klayout"
781
 
782
  [toolchain.backends.lvs.settings]
783
- image = "iclayout-bench-tools:local"
784
  check = "lvs"
785
  support = "build/support/to-40ghz-klayout"
786
  profile = "lvs-upstream.json"
@@ -790,7 +817,7 @@ timeout_seconds = 600
790
  type = "klayout-docker"
791
 
792
  [toolchain.backends.artifact.settings]
793
- image = "iclayout-bench-tools:local"
794
  check = "artifact"
795
  timeout_seconds = 60
796
 
@@ -801,7 +828,10 @@ type = "ngspice-docker"
801
  support = "hbt-models"
802
 
803
  [toolchain.backends.simulation.settings]
804
- image = "iclayout-bench-tools:local"
 
 
 
805
  support = "build/support/to-40ghz-hbt-models"
806
  timeout_seconds = 120
807
 
@@ -813,7 +843,7 @@ klayout_support = "klayout"
813
  magic_support = "magic"
814
 
815
  [toolchain.backends.parasitics.settings]
816
- image = "iclayout-bench-tools:local"
817
  klayout_support = "build/support/to-40ghz-klayout"
818
  klayout_profile = "lvs-upstream.json"
819
  magic_support = "build/support/to-40ghz-magic"
 
 
1
  kind = "layout_case"
2
  id = "TO_Apr2025.40_GHZ_LOW_NOISE_TIA"
3
  title = "TO_Apr2025 40 GHz low-noise single-ended TIA"
4
  status = "qualified"
5
+ in_core = false
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
+ sha256 = "9d8bc219eccf04d45f518366d400222c9c33b1b78663e09c1aa846c60f9e688f"
13
 
14
  [[assets]]
15
  path = "reference/FDM_QNC_00_LN_TIA.gds"
 
27
 
28
  [task.inputs.description]
29
  path = "problem.md"
 
30
  format = "text"
31
+ sha256 = "dcc2226fca41d92bedd955c19f360f9bd49d364512e11461c499510dbfc831f0"
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
 
35
  format = "spice"
36
  subcircuit = "FDM_QNC_00_LN_TIA"
37
+ sha256 = "17a094c09698acfbe6a25a50d3a0292ebb82fd82b7e21269442bcdd4fa3c0d45"
38
 
39
  [task.inputs.simulation]
40
  path = "materials/circuit.spice"
 
41
  format = "spice"
42
+ sha256 = "62f7df0322744074c141d2bbbd3d5e9537fb06ee02729758e5f787a6de56c515"
43
 
44
  [task.inputs.performance]
45
  path = "materials/testbench.spice"
 
46
  format = "spice"
47
+ sha256 = "2aee1a67cca0ecbdb43a34da2f0891063e81857771f4380abed0538d548f9040"
48
 
49
  [task.constraints]
50
  quality = [
 
457
  "source_positive:transimpedance_low",
458
  ]
459
  normalization = "ratio"
460
+
461
+ [task.evaluation.metrics.requirement]
462
  lower = 0
463
+ rationale = "The declared response magnitude, impedance, capacitance, amplitude or absolute return-ratio diagnostic has a nonnegative measurement domain; its value remains a quality or diagnostic observation."
464
 
465
  [[task.evaluation.metrics]]
466
  id = "transimpedance_high"
 
480
  "source_positive:transimpedance_high",
481
  ]
482
  normalization = "ratio"
483
+
484
+ [task.evaluation.metrics.requirement]
485
  lower = 0
486
+ rationale = "The declared response magnitude, impedance, capacitance, amplitude or absolute return-ratio diagnostic has a nonnegative measurement domain; its value remains a quality or diagnostic observation."
487
 
488
  [[task.evaluation.metrics]]
489
  id = "input_bias"
 
504
  ]
505
  normalization = "target"
506
  scale = 2.1
507
+
508
+ [task.evaluation.metrics.requirement]
509
  lower = 0
510
  upper = 2.1
511
+ rationale = "The declared node voltage or voltage span must remain within its ground-to-supply operating envelope; precision relative to the source remains a scored objective."
512
 
513
  [[task.evaluation.metrics]]
514
  id = "output_bias"
 
529
  ]
530
  normalization = "target"
531
  scale = 2.1
532
+
533
+ [task.evaluation.metrics.requirement]
534
  lower = 0
535
  upper = 2.1
536
+ rationale = "The declared node voltage or voltage span must remain within its ground-to-supply operating envelope; precision relative to the source remains a scored objective."
537
 
538
  [[task.evaluation.metrics]]
539
  id = "supply_power"
 
553
  "source_positive:supply_power",
554
  ]
555
  normalization = "ratio"
 
556
  scale = 1e-12
557
 
558
+ [task.evaluation.metrics.requirement]
559
+ lower = 0
560
+ rationale = "The declared powered circuit or driven switching network must consume nonnegative net supply/driver energy or quiescent current under the complete stated observation."
561
+
562
  [task.evaluation.pre_layout]
563
+ source_report_sha256 = "68069e1e105c99222fcb6f755fad21514d774d3c5e6704f5f81b2c3f04227499"
564
 
565
  [task.evaluation.pre_layout.backends]
566
+ "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\": \"7b432fb4cf7911c02eacee3ceaad658c961f16f22bc890ee7ad89b3e44108141\", \"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******\"}"
567
 
568
  [task.evaluation.pre_layout.jobs.source_negative]
569
  operation = "circuit.simulate"
 
595
 
596
  [task.evaluation.pre_layout.jobs.source_negative.input_sha256]
597
  circuit = "62f7df0322744074c141d2bbbd3d5e9537fb06ee02729758e5f787a6de56c515"
598
+ deck = "2aee1a67cca0ecbdb43a34da2f0891063e81857771f4380abed0538d548f9040"
599
 
600
  [task.evaluation.pre_layout.jobs.source_negative.measurements.input_bias]
601
  value = 0.7692856317372
 
629
  value = 635.1806
630
  unit = "ohm"
631
 
632
+ [task.evaluation.pre_layout.jobs.source_negative.output_sha256]
633
+ op = "2b9e71b969b0c266076638e209a551c2050c3b2ef62939e435ebf0edf1d538a3"
634
+ ac = "a29c0604888c2afeac5f69ea478f9b1edc766df3c99dc4dfbe9636f983822615"
635
+
636
  [task.evaluation.pre_layout.jobs.source_zero]
637
  operation = "circuit.simulate"
638
 
 
663
 
664
  [task.evaluation.pre_layout.jobs.source_zero.input_sha256]
665
  circuit = "62f7df0322744074c141d2bbbd3d5e9537fb06ee02729758e5f787a6de56c515"
666
+ deck = "2aee1a67cca0ecbdb43a34da2f0891063e81857771f4380abed0538d548f9040"
667
 
668
  [task.evaluation.pre_layout.jobs.source_zero.measurements.input_bias]
669
  value = 0.7969694832621
 
697
  value = 447.0679
698
  unit = "ohm"
699
 
700
+ [task.evaluation.pre_layout.jobs.source_zero.output_sha256]
701
+ op = "cd8f3569e233aa6858b3f418ade3b3524211f8257e3a239f74fbaf4df222cd33"
702
+ ac = "98e56751f590f9b2fc74dbd82c3ca1f08dae9f58f7262044935b2fbfdee2e789"
703
+
704
  [task.evaluation.pre_layout.jobs.source_positive]
705
  operation = "circuit.simulate"
706
 
 
731
 
732
  [task.evaluation.pre_layout.jobs.source_positive.input_sha256]
733
  circuit = "62f7df0322744074c141d2bbbd3d5e9537fb06ee02729758e5f787a6de56c515"
734
+ deck = "2aee1a67cca0ecbdb43a34da2f0891063e81857771f4380abed0538d548f9040"
735
 
736
  [task.evaluation.pre_layout.jobs.source_positive.measurements.input_bias]
737
  value = 0.8137989315389
 
765
  value = 69.38208
766
  unit = "ohm"
767
 
768
+ [task.evaluation.pre_layout.jobs.source_positive.output_sha256]
769
+ op = "31740e38ef2a8f5fcfaa48247ff5a3077d3b013dcc554cefb513296dbe48ac78"
770
+ ac = "c9c42b8c3926055f1cf898675a4e2bfb8c42ee6c14d584842b776a40771cdf55"
771
+
772
  [qualification]
773
  reference = "reference/FDM_QNC_00_LN_TIA.gds"
774
 
 
784
  type = "klayout-geometry-docker"
785
 
786
  [toolchain.backends.geometry.settings]
787
+ image = "iclayout-eda-open:local"
788
  timeout_seconds = 120
789
 
790
  [toolchain.backends.drc]
 
794
  support = "klayout"
795
 
796
  [toolchain.backends.drc.settings]
797
+ image = "iclayout-eda-open:local"
798
  check = "drc"
799
  support = "build/support/to-40ghz-klayout"
800
  profile = "drc-upstream.json"
 
807
  support = "klayout"
808
 
809
  [toolchain.backends.lvs.settings]
810
+ image = "iclayout-eda-open:local"
811
  check = "lvs"
812
  support = "build/support/to-40ghz-klayout"
813
  profile = "lvs-upstream.json"
 
817
  type = "klayout-docker"
818
 
819
  [toolchain.backends.artifact.settings]
820
+ image = "iclayout-eda-open:local"
821
  check = "artifact"
822
  timeout_seconds = 60
823
 
 
828
  support = "hbt-models"
829
 
830
  [toolchain.backends.simulation.settings]
831
+ max_parallel_jobs = 8
832
+ threads = 1
833
+ cpu_budget = 8
834
+ image = "iclayout-eda-open:local"
835
  support = "build/support/to-40ghz-hbt-models"
836
  timeout_seconds = 120
837
 
 
843
  magic_support = "magic"
844
 
845
  [toolchain.backends.parasitics.settings]
846
+ image = "iclayout-eda-open:local"
847
  klayout_support = "build/support/to-40ghz-klayout"
848
  klayout_profile = "lvs-upstream.json"
849
  magic_support = "build/support/to-40ghz-magic"
tasks/ihp-sg13g2/TO_Apr2025/cases/40_GHZ_LOW_NOISE_TIA/materials/schematic.svg CHANGED
tasks/ihp-sg13g2/TO_Apr2025/cases/40_GHZ_LOW_NOISE_TIA/materials/testbench.spice CHANGED
@@ -32,6 +32,7 @@ let supply3_current = -i(VCC3)
32
  let supply_power = -v(vcc1)*i(VCC1)-v(vcc2)*i(VCC2)-v(vcc3)*i(VCC3)
33
  print input_bias output_bias supply1_current supply2_current supply3_current supply_power
34
  write operating_point.raw all
 
35
  ac dec 40 1meg 100meg
36
  let signed_transimpedance = real(v(RFout)/i(VSENSE))
37
  let magnitude_transimpedance = mag(v(RFout)/i(VSENSE))
 
32
  let supply_power = -v(vcc1)*i(VCC1)-v(vcc2)*i(VCC2)-v(vcc3)*i(VCC3)
33
  print input_bias output_bias supply1_current supply2_current supply3_current supply_power
34
  write operating_point.raw all
35
+ save i(vcc1) i(vcc2) i(vcc3) i(vsense) v(rfin) v(rfout) v(vcc1) v(vcc2) v(vcc3)
36
  ac dec 40 1meg 100meg
37
  let signed_transimpedance = real(v(RFout)/i(VSENSE))
38
  let magnitude_transimpedance = mag(v(RFout)/i(VSENSE))
tasks/ihp-sg13g2/TO_Apr2025/cases/40_GHZ_LOW_NOISE_TIA/problem.md CHANGED
@@ -10,8 +10,7 @@ physical checks and nominal post-layout measurements below.
10
 
11
  ## Inputs and Interface
12
 
13
- In addition to this problem, the runtime task supplies the following declared
14
- inputs:
15
 
16
  | Input | Purpose |
17
  |---|---|
@@ -60,20 +59,11 @@ calculated from the three independent supply sources.
60
 
61
  ## Physical Requirements
62
 
63
- The candidate GDS must be readable, non-empty and no larger than 32 MiB. It
64
- must pass the pinned SG13G2 main and additional maximal DRC scopes in deep
65
- mode without waivers; density and antenna checks are outside this declared scope. It must
66
- also pass strict named-port LVS against `materials/circuit.cdl`, including
67
- the six ports, device multiplicities, passive geometry and explicit substrate
68
- tap. Artifact, DRC, strict LVS and geometry gates all precede candidate
69
- extraction.
70
 
71
- The GDS must include the complete target hierarchy. Port names are matched
72
- case-insensitively; each declared port must remain on its own conductor with
73
- the declared connectivity.
74
 
75
- The functional outline is the recursive bounding box of polygons on these
76
- SG13G2 datatype-0 layers, including child cells and the complete routing stack:
77
 
78
  `1, 3, 5, 6, 7, 8, 10, 11, 13, 14, 19, 24, 26, 28, 29, 30, 31, 32, 33, 35, 36, 40, 44, 46, 49, 50, 51, 52, 53, 55, 58, 66, 67, 90, 101, 111, 125, 126, 128, 129, 133, 134, 139, 152`.
79
 
@@ -97,43 +87,19 @@ alias must not replace the explicit source substrate connection.
97
 
98
  ## Electrical Requirements and Scoring
99
 
100
- Physical checks and declared functional bounds remain mandatory. Quality has no
101
- fixed allowed-degradation threshold. Each `source_*` job simulates the declared
102
- source circuit with exactly the same testbench, model resources, parameters,
103
- load and measurement window as its paired extracted-candidate job. A source
104
- observation is the 100-point electrical baseline; it is independent of the
105
- submitted GDS. All individual pairs are retained in the evaluation report.
106
-
107
- For a post-layout observation x and its source observation b:
108
-
109
- - Maximize: q = x/b; minimize: q = b/x. When a numerical scale s is declared,
110
- use (x+s)/(b+s) or its inverse. This handles zero-valued error measurements;
111
- s is a normalization floor, not an allowed degradation or pass threshold.
112
- - Amplitude dB: q = 10^((x-b)/20) for maximize, its inverse for minimize.
113
- - Target: q = 1/(1+abs(x-b)/s), with a declared physical scale s. Signed and
114
- zero-valued operating points are never divided directly.
115
-
116
- Scoring uses `layout`. A metric uses its worst paired quality q. The score is
117
- S = 100 * product(q_i ** w_i), including area quality
118
- q_area = area_reference / candidate_functional_area. The weights below sum to
119
- one. Dimensions describe measurements but do not determine their weights.
120
- Physical or functional rejection scores zero; missing or invalid measurements
121
- produce an unknown score, including measurements with zero weight.
122
- Source-equivalent performance at the area reference scores 100; improvements
123
- can exceed 100. A weight expresses a tradeoff, not a hard acceptance limit.
124
-
125
- Measurement definitions below use the supplied SPICE node/source names.
126
- `v(n)` is node voltage and `i(V)` is current into a voltage source; delivered
127
- power therefore uses a minus sign. `db(z)=20*log10(abs(z))`, `mag/abs`
128
- denote magnitude, and `cph` is continuous phase in radians. `find`, `when`,
129
- `from/to`, and `rise/fall` retain the deck's interpolation, window and
130
- crossing conventions; SPICE suffixes p/n/u/m/meg/g mean pico/nano/micro/
131
- milli/mega/giga. Nested `avg`, `min`, `max`, `vecmin/vecmax` and `deriv`
132
- mean the stated window average, extrema and sampled derivative. All
133
- declared conditions are measured separately and paired with the same
134
- source condition; a group uses its worst paired quality.
135
-
136
- | Metric | Definition / observations | Unit | Quality rule | Functional bounds | Scale | Dimension |
137
  | --- | --- | --- | --- | --- | --- | --- |
138
  | `transimpedance_low` | AC: Value of `(real(v(RFout)/i(VSENSE))) at=1meg`. | ohm | maximize / ratio | 0 … +∞ | — | response |
139
  | `transimpedance_high` | AC: Value of `(mag(v(RFout)/i(VSENSE))) at=100meg`. | ohm | maximize / ratio | 0 … +∞ | — | response |
@@ -141,15 +107,13 @@ source condition; a group uses its worst paired quality.
141
  | `output_bias` | DC operating point: `v(RFout)`. | V | target / target | 0 … 2.1 | 2.1 | bias |
142
  | `supply_power` | DC operating point: `-v(vcc1)*i(VCC1)-v(vcc2)*i(VCC2)-v(vcc3)*i(VCC3)`. | W | minimize / ratio | 0 … +∞ | 1e-12 | supply |
143
 
144
- Area reference: **18573.26 um2**. 15 expanded device instances; sum of device/contact envelopes 12204.4550 um2, per-side envelope allowance 0.6 um, 50% routing allowance and total outer width/height allowance 1.2 um. Estimate = ceil(100 * (1.5 * envelope_sum + 2 * margin * sqrt(envelope_sum) + margin^2)) / 100. Here margin is the total allowance across two opposite sides; the envelope sum is displayed rounded to four decimals. MOS/passive envelopes use declared W/L (or resistor dimensions) and multiplicity; explicit tap areas and HBT emitter/contact envelopes are included. This is a frozen engineering estimate, not a foundry minimum or a feasibility claim.
145
-
146
- The capability coefficient remains **5**; it is independent of
147
- the reference-relative task score.
148
 
 
149
 
150
  ### Score weights
151
 
152
- SiGe low-frequency transfer tasks: signal transfer 68.8%; bias 5.29%; supply cost 15.9%; area 10%. Each objective's weight is divided equally among its metrics.
153
 
154
  | Metric | Weight |
155
  | --- | ---: |
@@ -164,12 +128,7 @@ SiGe low-frequency transfer tasks: signal transfer 68.8%; bias 5.29%; supply cos
164
 
165
  Solve budget: **3 hours**.
166
 
167
- Discover the supplied task, resources, harness and constraints from
168
- `/protocol/task.json`, `/protocol/resources.json` and
169
- `/protocol/harness.json`. Use the tool and PDK resources selected by the
170
- runtime environment. If the harness declares `process-feedback`, request
171
- an optional frozen process check with `python -I /protocol/process_check.py`;
172
- the final evaluation remains independent.
173
 
174
  Write the answer to `/workspace/output/final.gds` as a GDS file with top cell
175
  `FDM_QNC_00_LN_TIA` and wait for the submission receipt:
 
10
 
11
  ## Inputs and Interface
12
 
13
+ In addition to this description, the runtime task supplies the following declared inputs:
 
14
 
15
  | Input | Purpose |
16
  |---|---|
 
59
 
60
  ## Physical Requirements
61
 
62
+ Candidate GDS must be readable, nonempty and at most 32 MiB. Use pinned SG13G2 main and additional maximal DRC rules in deep mode without waivers; density and antenna are outside the declared scope. Strict named-port LVS compares against `materials/circuit.cdl`, checking six ports, device multiplicities, passive geometry and explicit substrate contacts. File, DRC, strict LVS and geometry checks all precede candidate extraction.
 
 
 
 
 
 
63
 
64
+ The GDS must contain the complete target hierarchy. Port names are case insensitive; each declared port must retain its conductor and declared connections.
 
 
65
 
66
+ The functional outline is the recursive bounding box of polygons on the following SG13G2 datatype-0 layers, including child cells and every routing layer:
 
67
 
68
  `1, 3, 5, 6, 7, 8, 10, 11, 13, 14, 19, 24, 26, 28, 29, 30, 31, 32, 33, 35, 36, 40, 44, 46, 49, 50, 51, 52, 53, 55, 58, 66, 67, 90, 101, 111, 125, 126, 128, 129, 133, 134, 139, 152`.
69
 
 
87
 
88
  ## Electrical Requirements and Scoring
89
 
90
+ 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.
91
+
92
+ Let x be the post-layout measurement and b the source-circuit measurement under the same conditions:
93
+
94
+ - Ratio normalization: maximize with q = x/b and minimize with q = b/x. When a numerical scale s is declared, use (x+s)/(b+s) and its reciprocal, respectively. The scale handles zero values as a normalization floor; it is neither an allowed degradation nor an acceptance bound.
95
+ - Amplitude in dB: maximize with q = 10^((x-b)/20) and minimize with its reciprocal.
96
+ - Target normalization: q = 1/(1+abs(x-b)/s), where s is the declared physical scale. Signed or zero-valued operating points are not divided directly.
97
+
98
+ Use `layout` scoring. Each metric takes its worst paired quality q, and the total score is S = 100 * product(q_i ** w_i), with area quality q_area = area_reference / candidate_functional_area. The weights below sum to 1; metric dimensions describe measurements and do not determine weights. Physical or functional rejection scores zero; missing or invalid measurements leave the score unknown, and zero-weight observations must also be valid. Matching source-circuit performance at the reference area scores 100 points; better valid solutions may exceed 100. Weights express quality tradeoffs rather than hard bounds.
99
+
100
+ The measurements below use the supplied SPICE node and source names. `v(n)` is a node voltage; `i(V)` is current flowing into a voltage source, so delivered power uses a negative sign. `db(z)=20*log10(abs(z))`; `mag/abs` denote magnitude, and `cph` denotes continuous phase in radians. `find`, `when`, `from/to` and `rise/fall` follow the deck's interpolation, window and crossing conventions. SPICE suffixes p/n/u/m/meg/g mean pico/nano/micro/milli/mega/giga. Nested `avg`, `min`, `max`, `vecmin/vecmax` and `deriv` represent window averages, extrema and sampled derivatives. Measure each operating condition independently, pair it with the source result under that condition, and take the worst paired quality within each metric group.
101
+
102
+ | Metric | Definition / observation | Unit | Quality normalization | Functional range | Scale | Dimension |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  | --- | --- | --- | --- | --- | --- | --- |
104
  | `transimpedance_low` | AC: Value of `(real(v(RFout)/i(VSENSE))) at=1meg`. | ohm | maximize / ratio | 0 … +∞ | — | response |
105
  | `transimpedance_high` | AC: Value of `(mag(v(RFout)/i(VSENSE))) at=100meg`. | ohm | maximize / ratio | 0 … +∞ | — | response |
 
107
  | `output_bias` | DC operating point: `v(RFout)`. | V | target / target | 0 … 2.1 | 2.1 | bias |
108
  | `supply_power` | DC operating point: `-v(vcc1)*i(VCC1)-v(vcc2)*i(VCC2)-v(vcc3)*i(VCC3)`. | W | minimize / ratio | 0 … +∞ | 1e-12 | supply |
109
 
110
+ Area reference: **18573.26 um2**. The expanded circuit has 15 device instances, a sum of device/contact envelopes 12204.4550 um2, a one-sided envelope margin of 0.6 um, a routing allowance of 50%, and a total outer width/height allowance 1.2 um. Estimate = ceil(100 * (1.5 * envelope_sum + 2 * margin * sqrt(envelope_sum) + margin^2)) / 100. Here margin is the total allowance across both sides, and the envelope sum is displayed to four decimal places. MOS/passive envelopes use W/L (or resistor dimensions) and multiplicity, including explicit contacts and HBT emitter/contact envelopes. This is a frozen engineering estimate, not a process minimum or a proven achievable area.
 
 
 
111
 
112
+ The capability coefficient is **5**, independent of this task's reference-normalized score.
113
 
114
  ### Score weights
115
 
116
+ SiGe low-frequency transfer: signal transfer 68.8%, bias 5.29%, supply cost 15.9%, area 10%; each objective weight is divided equally among its metrics.
117
 
118
  | Metric | Weight |
119
  | --- | ---: |
 
128
 
129
  Solve budget: **3 hours**.
130
 
131
+ Discover the task, resources, protocol and constraints through `/protocol/task.json`, `/protocol/resources.json`, `/protocol/harness.json`, and use the tools and PDK specified by the runtime environment. If the protocol declares `process-feedback`, run `python -I /protocol/process_check.py` to request an intermediate check using the frozen flow; final evaluation runs independently.
 
 
 
 
 
132
 
133
  Write the answer to `/workspace/output/final.gds` as a GDS file with top cell
134
  `FDM_QNC_00_LN_TIA` and wait for the submission receipt:
tasks/ihp-sg13g2/TO_Apr2025/cases/97_GHZ_LINEAR_TIA/case.toml CHANGED
@@ -1,15 +1,15 @@
1
- in_core = false
2
  kind = "layout_case"
3
  id = "TO_Apr2025.97_GHZ_LINEAR_TIA"
4
  title = "TO_Apr2025 97-derived multi-stage linear TIA"
5
  status = "qualified"
 
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
- sha256 = "05dbe3a98796a51d2a409b6bf458430e55db4798d2582ae3b1f5229eb8704ba0"
13
 
14
  [[assets]]
15
  path = "reference/FMD_QNC_01_LIN_TIA.gds"
@@ -27,24 +27,24 @@ environment = "ihp-sg13g2-to-97-derived-linear-tia"
27
 
28
  [task.inputs.description]
29
  path = "problem.md"
30
- sha256 = "10e5739f8f4672e013a37dc5477cc22e853b9b09844cb0d3dee7857d359c46ac"
31
  format = "text"
 
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
35
- sha256 = "150ab19522eecccf2889ed62c07b14e15e29e97a75ce12563fcd95d846be9112"
36
  format = "spice"
37
  subcircuit = "FMD_QNC_01_LIN_TIA"
 
38
 
39
  [task.inputs.simulation]
40
  path = "materials/circuit.spice"
41
- sha256 = "fc6c9d1a6ea884f20e7cbddee9c30b4feff18e4a70fbf729789101955a87c334"
42
  format = "spice"
 
43
 
44
  [task.inputs.performance]
45
  path = "materials/testbench.spice"
46
- sha256 = "759a7548f5ea81399322a73a10b58207d3ff28b2a5ed0ef7d55850b1a6b3959e"
47
  format = "spice"
 
48
 
49
  [task.constraints]
50
  quality = [
@@ -467,7 +467,10 @@ baseline = [
467
  "source_positive:transimpedance_low",
468
  ]
469
  normalization = "ratio"
 
 
470
  lower = 0
 
471
 
472
  [[task.evaluation.metrics]]
473
  id = "transimpedance_high"
@@ -487,7 +490,10 @@ baseline = [
487
  "source_positive:transimpedance_high",
488
  ]
489
  normalization = "ratio"
 
 
490
  lower = 0
 
491
 
492
  [[task.evaluation.metrics]]
493
  id = "linearity_error_pct"
@@ -506,10 +512,13 @@ baseline = [
506
  "source_zero:linearity_error_pct",
507
  "source_positive:linearity_error_pct",
508
  ]
509
- normalization = "ratio"
510
- lower = 0
511
  scale = 1e-06
512
 
 
 
 
 
513
  [[task.evaluation.metrics]]
514
  id = "input_bias"
515
  category = "performance"
@@ -529,8 +538,11 @@ baseline = [
529
  ]
530
  normalization = "target"
531
  scale = 2.1
 
 
532
  lower = 0
533
  upper = 2.1
 
534
 
535
  [[task.evaluation.metrics]]
536
  id = "output_bias"
@@ -551,8 +563,11 @@ baseline = [
551
  ]
552
  normalization = "target"
553
  scale = 2.1
 
 
554
  lower = 0
555
  upper = 2.1
 
556
 
557
  [[task.evaluation.metrics]]
558
  id = "supply_power"
@@ -572,14 +587,17 @@ baseline = [
572
  "source_positive:supply_power",
573
  ]
574
  normalization = "ratio"
575
- lower = 0
576
  scale = 1e-12
577
 
 
 
 
 
578
  [task.evaluation.pre_layout]
579
- source_report_sha256 = "a295d81e4884b121e95ea84f91182d3530050133c06f4365da881249ce63968e"
580
 
581
  [task.evaluation.pre_layout.backends]
582
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"ef9cb87fa27b849376472663b7362673979b89e012f161ba47bb5f6af6ede8eb\", \"compatibility\": null, \"execution_sha256\": \"5424b579002782bfddf0a729715b8fbf2a5f7f2b4cf14982d7616e352d5de9be\", \"image_id\": \"sha256:6562558774d43c085a289bbba696c55959eb8051a0996f96633451fbeb9c652d\", \"limits\": {\"cpus\": 4, \"memory_mb\": 4096, \"pids\": 256}, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"b9527ba49c9eab307a254db28aa45c302eadd71b2563bdec44c610780fa6ed62\", \"timeout_seconds\": 600.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******\"}"
583
 
584
  [task.evaluation.pre_layout.jobs.source_negative]
585
  operation = "circuit.simulate"
@@ -614,7 +632,7 @@ dc = "dc_transfer.raw"
614
 
615
  [task.evaluation.pre_layout.jobs.source_negative.input_sha256]
616
  circuit = "fc6c9d1a6ea884f20e7cbddee9c30b4feff18e4a70fbf729789101955a87c334"
617
- deck = "759a7548f5ea81399322a73a10b58207d3ff28b2a5ed0ef7d55850b1a6b3959e"
618
 
619
  [task.evaluation.pre_layout.jobs.source_negative.measurements.input_bias]
620
  value = 0.798802317629
@@ -652,6 +670,11 @@ unit = "ohm"
652
  value = 492.1833
653
  unit = "ohm"
654
 
 
 
 
 
 
655
  [task.evaluation.pre_layout.jobs.source_zero]
656
  operation = "circuit.simulate"
657
 
@@ -685,7 +708,7 @@ dc = "dc_transfer.raw"
685
 
686
  [task.evaluation.pre_layout.jobs.source_zero.input_sha256]
687
  circuit = "fc6c9d1a6ea884f20e7cbddee9c30b4feff18e4a70fbf729789101955a87c334"
688
- deck = "759a7548f5ea81399322a73a10b58207d3ff28b2a5ed0ef7d55850b1a6b3959e"
689
 
690
  [task.evaluation.pre_layout.jobs.source_zero.measurements.input_bias]
691
  value = 0.7998357535227
@@ -723,6 +746,11 @@ unit = "ohm"
723
  value = 468.8727
724
  unit = "ohm"
725
 
 
 
 
 
 
726
  [task.evaluation.pre_layout.jobs.source_positive]
727
  operation = "circuit.simulate"
728
 
@@ -756,7 +784,7 @@ dc = "dc_transfer.raw"
756
 
757
  [task.evaluation.pre_layout.jobs.source_positive.input_sha256]
758
  circuit = "fc6c9d1a6ea884f20e7cbddee9c30b4feff18e4a70fbf729789101955a87c334"
759
- deck = "759a7548f5ea81399322a73a10b58207d3ff28b2a5ed0ef7d55850b1a6b3959e"
760
 
761
  [task.evaluation.pre_layout.jobs.source_positive.measurements.input_bias]
762
  value = 0.800845761589
@@ -794,6 +822,11 @@ unit = "ohm"
794
  value = 444.8252
795
  unit = "ohm"
796
 
 
 
 
 
 
797
  [qualification]
798
  reference = "reference/FMD_QNC_01_LIN_TIA.gds"
799
 
@@ -809,7 +842,7 @@ reference = "reference/FMD_QNC_01_LIN_TIA.gds"
809
  type = "klayout-geometry-docker"
810
 
811
  [toolchain.backends.geometry.settings]
812
- image = "iclayout-bench-tools:local"
813
  timeout_seconds = 120
814
 
815
  [toolchain.backends.drc]
@@ -819,7 +852,7 @@ type = "klayout-docker"
819
  support = "klayout"
820
 
821
  [toolchain.backends.drc.settings]
822
- image = "iclayout-bench-tools:local"
823
  check = "drc"
824
  support = "build/support/tia97-klayout"
825
  profile = "drc-upstream.json"
@@ -832,7 +865,7 @@ type = "klayout-docker"
832
  support = "klayout"
833
 
834
  [toolchain.backends.lvs.settings]
835
- image = "iclayout-bench-tools:local"
836
  check = "lvs"
837
  support = "build/support/tia97-klayout"
838
  profile = "lvs-upstream.json"
@@ -842,7 +875,7 @@ timeout_seconds = 600
842
  type = "klayout-docker"
843
 
844
  [toolchain.backends.artifact.settings]
845
- image = "iclayout-bench-tools:local"
846
  check = "artifact"
847
  timeout_seconds = 60
848
 
@@ -853,7 +886,10 @@ type = "ngspice-docker"
853
  support = "hbt-models"
854
 
855
  [toolchain.backends.simulation.settings]
856
- image = "iclayout-bench-tools:local"
 
 
 
857
  support = "build/support/tia97-hbt-models"
858
  timeout_seconds = 600
859
 
@@ -865,7 +901,7 @@ klayout_support = "klayout"
865
  magic_support = "magic"
866
 
867
  [toolchain.backends.parasitics.settings]
868
- image = "iclayout-bench-tools:local"
869
  klayout_support = "build/support/tia97-klayout"
870
  klayout_profile = "lvs-upstream.json"
871
  magic_support = "build/support/tia97-magic"
 
 
1
  kind = "layout_case"
2
  id = "TO_Apr2025.97_GHZ_LINEAR_TIA"
3
  title = "TO_Apr2025 97-derived multi-stage linear TIA"
4
  status = "qualified"
5
+ in_core = false
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
+ sha256 = "f6f8324cd36acaac731164356ef72d80d3159bb1b4b750b14a3b0314229c0d12"
13
 
14
  [[assets]]
15
  path = "reference/FMD_QNC_01_LIN_TIA.gds"
 
27
 
28
  [task.inputs.description]
29
  path = "problem.md"
 
30
  format = "text"
31
+ sha256 = "14f3d0ae7285240f63d34fe37ba5979111afcfdc3ef8c7caada576eb0981cb2e"
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
 
35
  format = "spice"
36
  subcircuit = "FMD_QNC_01_LIN_TIA"
37
+ sha256 = "150ab19522eecccf2889ed62c07b14e15e29e97a75ce12563fcd95d846be9112"
38
 
39
  [task.inputs.simulation]
40
  path = "materials/circuit.spice"
 
41
  format = "spice"
42
+ sha256 = "fc6c9d1a6ea884f20e7cbddee9c30b4feff18e4a70fbf729789101955a87c334"
43
 
44
  [task.inputs.performance]
45
  path = "materials/testbench.spice"
 
46
  format = "spice"
47
+ sha256 = "6f076ef2bba62665f975f26f34f645c97ac5d1e023b22dbbe5a88364f8540255"
48
 
49
  [task.constraints]
50
  quality = [
 
467
  "source_positive:transimpedance_low",
468
  ]
469
  normalization = "ratio"
470
+
471
+ [task.evaluation.metrics.requirement]
472
  lower = 0
473
+ rationale = "The declared response magnitude, impedance, capacitance, amplitude or absolute return-ratio diagnostic has a nonnegative measurement domain; its value remains a quality or diagnostic observation."
474
 
475
  [[task.evaluation.metrics]]
476
  id = "transimpedance_high"
 
490
  "source_positive:transimpedance_high",
491
  ]
492
  normalization = "ratio"
493
+
494
+ [task.evaluation.metrics.requirement]
495
  lower = 0
496
+ rationale = "The declared response magnitude, impedance, capacitance, amplitude or absolute return-ratio diagnostic has a nonnegative measurement domain; its value remains a quality or diagnostic observation."
497
 
498
  [[task.evaluation.metrics]]
499
  id = "linearity_error_pct"
 
512
  "source_zero:linearity_error_pct",
513
  "source_positive:linearity_error_pct",
514
  ]
515
+ normalization = "saturating_ratio"
 
516
  scale = 1e-06
517
 
518
+ [task.evaluation.metrics.requirement]
519
+ lower = 0
520
+ rationale = "The absolute error, voltage span, charge magnitude or recovery deviation has a nonnegative measurement domain; its positive value remains a continuously scored quality observation."
521
+
522
  [[task.evaluation.metrics]]
523
  id = "input_bias"
524
  category = "performance"
 
538
  ]
539
  normalization = "target"
540
  scale = 2.1
541
+
542
+ [task.evaluation.metrics.requirement]
543
  lower = 0
544
  upper = 2.1
545
+ rationale = "The declared node voltage or voltage span must remain within its ground-to-supply operating envelope; precision relative to the source remains a scored objective."
546
 
547
  [[task.evaluation.metrics]]
548
  id = "output_bias"
 
563
  ]
564
  normalization = "target"
565
  scale = 2.1
566
+
567
+ [task.evaluation.metrics.requirement]
568
  lower = 0
569
  upper = 2.1
570
+ rationale = "The declared node voltage or voltage span must remain within its ground-to-supply operating envelope; precision relative to the source remains a scored objective."
571
 
572
  [[task.evaluation.metrics]]
573
  id = "supply_power"
 
587
  "source_positive:supply_power",
588
  ]
589
  normalization = "ratio"
 
590
  scale = 1e-12
591
 
592
+ [task.evaluation.metrics.requirement]
593
+ lower = 0
594
+ rationale = "The declared powered circuit or driven switching network must consume nonnegative net supply/driver energy or quiescent current under the complete stated observation."
595
+
596
  [task.evaluation.pre_layout]
597
+ source_report_sha256 = "81b4ca0f9f2a34d5d90009e38b56e526d8b228c650ac20b3e64a73f5a67e6099"
598
 
599
  [task.evaluation.pre_layout.backends]
600
+ "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\": \"7b432fb4cf7911c02eacee3ceaad658c961f16f22bc890ee7ad89b3e44108141\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 600.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******\"}"
601
 
602
  [task.evaluation.pre_layout.jobs.source_negative]
603
  operation = "circuit.simulate"
 
632
 
633
  [task.evaluation.pre_layout.jobs.source_negative.input_sha256]
634
  circuit = "fc6c9d1a6ea884f20e7cbddee9c30b4feff18e4a70fbf729789101955a87c334"
635
+ deck = "6f076ef2bba62665f975f26f34f645c97ac5d1e023b22dbbe5a88364f8540255"
636
 
637
  [task.evaluation.pre_layout.jobs.source_negative.measurements.input_bias]
638
  value = 0.798802317629
 
670
  value = 492.1833
671
  unit = "ohm"
672
 
673
+ [task.evaluation.pre_layout.jobs.source_negative.output_sha256]
674
+ op = "d963b458199efc9e5b67ca8d7629413cda18e6db73ebbc0466cd8b1ea5fbbb29"
675
+ ac = "859c2e43a924dfcd49d9fa034e6026e65c6ab3bbc7277594279486ff4c52fa78"
676
+ dc = "8466e6ada486f909aa807fe063a991c2b6139ea78a2235378bf1fa6b8929d067"
677
+
678
  [task.evaluation.pre_layout.jobs.source_zero]
679
  operation = "circuit.simulate"
680
 
 
708
 
709
  [task.evaluation.pre_layout.jobs.source_zero.input_sha256]
710
  circuit = "fc6c9d1a6ea884f20e7cbddee9c30b4feff18e4a70fbf729789101955a87c334"
711
+ deck = "6f076ef2bba62665f975f26f34f645c97ac5d1e023b22dbbe5a88364f8540255"
712
 
713
  [task.evaluation.pre_layout.jobs.source_zero.measurements.input_bias]
714
  value = 0.7998357535227
 
746
  value = 468.8727
747
  unit = "ohm"
748
 
749
+ [task.evaluation.pre_layout.jobs.source_zero.output_sha256]
750
+ op = "88e54261f79f8a0723dae7ff3aaebec3d7b8ee507935ec9f484a16b15f1372aa"
751
+ ac = "d612bbee2d942605483e8ca9d8dcd593f3a31b735d8fe43709e1256aa00471d2"
752
+ dc = "8466e6ada486f909aa807fe063a991c2b6139ea78a2235378bf1fa6b8929d067"
753
+
754
  [task.evaluation.pre_layout.jobs.source_positive]
755
  operation = "circuit.simulate"
756
 
 
784
 
785
  [task.evaluation.pre_layout.jobs.source_positive.input_sha256]
786
  circuit = "fc6c9d1a6ea884f20e7cbddee9c30b4feff18e4a70fbf729789101955a87c334"
787
+ deck = "6f076ef2bba62665f975f26f34f645c97ac5d1e023b22dbbe5a88364f8540255"
788
 
789
  [task.evaluation.pre_layout.jobs.source_positive.measurements.input_bias]
790
  value = 0.800845761589
 
822
  value = 444.8252
823
  unit = "ohm"
824
 
825
+ [task.evaluation.pre_layout.jobs.source_positive.output_sha256]
826
+ op = "8a3a8285aec467b74b0591562e6d2d5dc27b668e8c977484d8fcfba77c2e4a98"
827
+ ac = "2df2e525a29ff61f33a60c2501fc6cb23563ee74cfc031fae0e5cbb4287a39e4"
828
+ dc = "8466e6ada486f909aa807fe063a991c2b6139ea78a2235378bf1fa6b8929d067"
829
+
830
  [qualification]
831
  reference = "reference/FMD_QNC_01_LIN_TIA.gds"
832
 
 
842
  type = "klayout-geometry-docker"
843
 
844
  [toolchain.backends.geometry.settings]
845
+ image = "iclayout-eda-open:local"
846
  timeout_seconds = 120
847
 
848
  [toolchain.backends.drc]
 
852
  support = "klayout"
853
 
854
  [toolchain.backends.drc.settings]
855
+ image = "iclayout-eda-open:local"
856
  check = "drc"
857
  support = "build/support/tia97-klayout"
858
  profile = "drc-upstream.json"
 
865
  support = "klayout"
866
 
867
  [toolchain.backends.lvs.settings]
868
+ image = "iclayout-eda-open:local"
869
  check = "lvs"
870
  support = "build/support/tia97-klayout"
871
  profile = "lvs-upstream.json"
 
875
  type = "klayout-docker"
876
 
877
  [toolchain.backends.artifact.settings]
878
+ image = "iclayout-eda-open:local"
879
  check = "artifact"
880
  timeout_seconds = 60
881
 
 
886
  support = "hbt-models"
887
 
888
  [toolchain.backends.simulation.settings]
889
+ max_parallel_jobs = 8
890
+ threads = 1
891
+ cpu_budget = 8
892
+ image = "iclayout-eda-open:local"
893
  support = "build/support/tia97-hbt-models"
894
  timeout_seconds = 600
895
 
 
901
  magic_support = "magic"
902
 
903
  [toolchain.backends.parasitics.settings]
904
+ image = "iclayout-eda-open:local"
905
  klayout_support = "build/support/tia97-klayout"
906
  klayout_profile = "lvs-upstream.json"
907
  magic_support = "build/support/tia97-magic"
tasks/ihp-sg13g2/TO_Apr2025/cases/97_GHZ_LINEAR_TIA/materials/schematic.svg CHANGED
tasks/ihp-sg13g2/TO_Apr2025/cases/97_GHZ_LINEAR_TIA/materials/testbench.spice CHANGED
@@ -29,6 +29,7 @@ let supply3_current = -i(VCC3)
29
  let supply_power = -v(VCC1)*i(VCC1)-v(VCC2)*i(VCC2)-v(VCC3)*i(VCC3)
30
  print input_bias output_bias supply1_current supply2_current supply3_current supply_power
31
  write operating_point.raw all
 
32
  ac dec 40 1meg 100meg
33
  let signed_transimpedance = real(v(RFOUT)/i(VSENSE))
34
  let magnitude_transimpedance = mag(v(RFOUT)/i(VSENSE))
 
29
  let supply_power = -v(VCC1)*i(VCC1)-v(VCC2)*i(VCC2)-v(VCC3)*i(VCC3)
30
  print input_bias output_bias supply1_current supply2_current supply3_current supply_power
31
  write operating_point.raw all
32
+ save i(vcc1) i(vcc2) i(vcc3) i(vsense) v(rfin) v(rfout) v(vcc1) v(vcc2) v(vcc3)
33
  ac dec 40 1meg 100meg
34
  let signed_transimpedance = real(v(RFOUT)/i(VSENSE))
35
  let magnitude_transimpedance = mag(v(RFOUT)/i(VSENSE))
tasks/ihp-sg13g2/TO_Apr2025/cases/97_GHZ_LINEAR_TIA/problem.md CHANGED
@@ -10,8 +10,7 @@ checks and nominal post-layout measurements below.
10
 
11
  ## Inputs and Interface
12
 
13
- In addition to this problem, the runtime task supplies the following declared
14
- inputs:
15
 
16
  | Input | Purpose |
17
  |---|---|
@@ -64,20 +63,11 @@ supply power is calculated from the three independent supply sources.
64
 
65
  ## Physical Requirements
66
 
67
- The candidate GDS must be readable, non-empty and no larger than 32 MiB. It
68
- must pass the pinned SG13G2 main and additional maximal DRC scopes in deep
69
- mode without waivers; density and antenna checks are outside this declared scope. It must
70
- also pass strict named-port LVS against `materials/circuit.cdl`, including
71
- the six ports, device multiplicities, passive geometry and explicit substrate
72
- tap. Artifact, DRC, strict LVS and geometry gates all precede candidate
73
- extraction.
74
 
75
- The GDS must include the complete target hierarchy. Port names are matched
76
- case-insensitively; each declared port must remain on its own conductor with
77
- the declared connectivity.
78
 
79
- The functional outline is the recursive bounding box of polygons on these
80
- SG13G2 datatype-0 layers, including child cells and the complete routing stack:
81
 
82
  `1, 3, 5, 6, 7, 8, 10, 11, 13, 14, 19, 24, 26, 28, 29, 30, 31, 32, 33, 35, 36, 40, 44, 46, 49, 50, 51, 52, 53, 55, 58, 66, 67, 90, 101, 111, 125, 126, 128, 129, 133, 134, 139, 152`.
83
 
@@ -101,56 +91,32 @@ alias must not replace the explicit source substrate connection.
101
 
102
  ## Electrical Requirements and Scoring
103
 
104
- Physical checks and declared functional bounds remain mandatory. Quality has no
105
- fixed allowed-degradation threshold. Each `source_*` job simulates the declared
106
- source circuit with exactly the same testbench, model resources, parameters,
107
- load and measurement window as its paired extracted-candidate job. A source
108
- observation is the 100-point electrical baseline; it is independent of the
109
- submitted GDS. All individual pairs are retained in the evaluation report.
110
-
111
- For a post-layout observation x and its source observation b:
112
-
113
- - Maximize: q = x/b; minimize: q = b/x. When a numerical scale s is declared,
114
- use (x+s)/(b+s) or its inverse. This handles zero-valued error measurements;
115
- s is a normalization floor, not an allowed degradation or pass threshold.
116
- - Amplitude dB: q = 10^((x-b)/20) for maximize, its inverse for minimize.
117
- - Target: q = 1/(1+abs(x-b)/s), with a declared physical scale s. Signed and
118
- zero-valued operating points are never divided directly.
119
-
120
- Scoring uses `layout`. A metric uses its worst paired quality q. The score is
121
- S = 100 * product(q_i ** w_i), including area quality
122
- q_area = area_reference / candidate_functional_area. The weights below sum to
123
- one. Dimensions describe measurements but do not determine their weights.
124
- Physical or functional rejection scores zero; missing or invalid measurements
125
- produce an unknown score, including measurements with zero weight.
126
- Source-equivalent performance at the area reference scores 100; improvements
127
- can exceed 100. A weight expresses a tradeoff, not a hard acceptance limit.
128
-
129
- Measurement definitions below use the supplied SPICE node/source names.
130
- `v(n)` is node voltage and `i(V)` is current into a voltage source; delivered
131
- power therefore uses a minus sign. `db(z)=20*log10(abs(z))`, `mag/abs`
132
- denote magnitude, and `cph` is continuous phase in radians. `find`, `when`,
133
- `from/to`, and `rise/fall` retain the deck's interpolation, window and
134
- crossing conventions; SPICE suffixes p/n/u/m/meg/g mean pico/nano/micro/
135
- milli/mega/giga. Nested `avg`, `min`, `max`, `vecmin/vecmax` and `deriv`
136
- mean the stated window average, extrema and sampled derivative. All
137
- declared conditions are measured separately and paired with the same
138
- source condition; a group uses its worst paired quality.
139
-
140
- | Metric | Definition / observations | Unit | Quality rule | Functional bounds | Scale | Dimension |
141
  | --- | --- | --- | --- | --- | --- | --- |
142
  | `transimpedance_low` | AC: Value of `(real(v(RFOUT)/i(VSENSE))) at=1meg`. | ohm | maximize / ratio | 0 … +∞ | — | response |
143
  | `transimpedance_high` | AC: Value of `(mag(v(RFOUT)/i(VSENSE))) at=100meg`. | ohm | maximize / ratio | 0 … +∞ | — | response |
144
- | `linearity_error_pct` | Maximum absolute deviation of DC RFOUT from the line through the endpoint samples, divided by absolute output span, times 100; IIN sweeps -5 to +5 uA in 0.5 uA steps. | percent | minimize / ratio | 0 … +∞ | 1e-06 | response |
145
  | `input_bias` | DC operating point: `v(RFIN)`. | V | target / target | 0 … 2.1 | 2.1 | bias |
146
  | `output_bias` | DC operating point: `v(RFOUT)`. | V | target / target | 0 … 2.1 | 2.1 | bias |
147
  | `supply_power` | DC operating point: `-v(VCC1)*i(VCC1)-v(VCC2)*i(VCC2)-v(VCC3)*i(VCC3)`. | W | minimize / ratio | 0 … +∞ | 1e-12 | supply |
148
 
149
- Area reference: **18718.54 um2**. 17 expanded device instances; sum of device/contact envelopes 12300.6100 um2, per-side envelope allowance 0.6 um, 50% routing allowance and total outer width/height allowance 1.2 um. Estimate = ceil(100 * (1.5 * envelope_sum + 2 * margin * sqrt(envelope_sum) + margin^2)) / 100. Here margin is the total allowance across two opposite sides; the envelope sum is displayed rounded to four decimals. MOS/passive envelopes use declared W/L (or resistor dimensions) and multiplicity; explicit tap areas and HBT emitter/contact envelopes are included. This is a frozen engineering estimate, not a foundry minimum or a feasibility claim.
150
-
151
- The capability coefficient remains **6**; it is independent of
152
- the reference-relative task score.
153
 
 
154
 
155
  ### Score weights
156
 
@@ -170,12 +136,7 @@ SiGe low-frequency transfer tasks: signal transfer 53.2%; linearity 20.5%; bias
170
 
171
  Solve budget: **3 hours**.
172
 
173
- Discover the supplied task, resources, harness and constraints from
174
- `/protocol/task.json`, `/protocol/resources.json` and
175
- `/protocol/harness.json`. Use the tool and PDK resources selected by the
176
- runtime environment. If the harness declares `process-feedback`, request
177
- an optional frozen process check with `python -I /protocol/process_check.py`;
178
- the final evaluation remains independent.
179
 
180
  Write the answer to `/workspace/output/final.gds` as a GDS file with top cell
181
  `FMD_QNC_01_LIN_TIA` and wait for the submission receipt:
@@ -184,5 +145,4 @@ Write the answer to `/workspace/output/final.gds` as a GDS file with top cell
184
  python -I /protocol/submit.py
185
  ```
186
 
187
- The evaluator uses the submitted snapshot for all physical checks, extraction
188
- and simulations.
 
10
 
11
  ## Inputs and Interface
12
 
13
+ In addition to this description, the runtime task supplies the following declared inputs:
 
14
 
15
  | Input | Purpose |
16
  |---|---|
 
63
 
64
  ## Physical Requirements
65
 
66
+ Candidate GDS must be readable, nonempty and at most 32 MiB. Use pinned SG13G2 main and additional maximal DRC rules in deep mode without waivers; density and antenna are outside the declared scope. Strict named-port LVS compares against `materials/circuit.cdl`, checking six ports, device multiplicities, passive geometry and explicit substrate contacts. File, DRC, strict LVS and geometry checks all precede candidate extraction.
 
 
 
 
 
 
67
 
68
+ The GDS must contain the complete target hierarchy. Port names are case insensitive; each declared port must retain its conductor and declared connections.
 
 
69
 
70
+ The functional outline is the recursive bounding box of polygons on the following SG13G2 datatype-0 layers, including child cells and every routing layer:
 
71
 
72
  `1, 3, 5, 6, 7, 8, 10, 11, 13, 14, 19, 24, 26, 28, 29, 30, 31, 32, 33, 35, 36, 40, 44, 46, 49, 50, 51, 52, 53, 55, 58, 66, 67, 90, 101, 111, 125, 126, 128, 129, 133, 134, 139, 152`.
73
 
 
91
 
92
  ## Electrical Requirements and Scoring
93
 
94
+ 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.
95
+
96
+ Let x be the post-layout measurement and b the source-circuit measurement under the same conditions:
97
+
98
+ - Ratio normalization: maximize with q = x/b and minimize with q = b/x. When a numerical scale s is declared, use (x+s)/(b+s) and its reciprocal, respectively. The scale handles zero values as a normalization floor; it is neither an allowed degradation nor an acceptance bound.
99
+ - Amplitude in dB: maximize with q = 10^((x-b)/20) and minimize with its reciprocal.
100
+ - Target normalization: q = 1/(1+abs(x-b)/s), where s is the declared physical scale. Signed or zero-valued operating points are not divided directly.
101
+
102
+ Use `layout` scoring. Each metric takes its worst paired quality q, and the total score is S = 100 * product(q_i ** w_i), with area quality q_area = area_reference / candidate_functional_area. The weights below sum to 1; metric dimensions describe measurements and do not determine weights. Physical or functional rejection scores zero; missing or invalid measurements leave the score unknown, and zero-weight observations must also be valid. Matching source-circuit performance at the reference area scores 100 points; better valid solutions may exceed 100. Weights express quality tradeoffs rather than hard bounds.
103
+
104
+ The measurements below use the supplied SPICE node and source names. `v(n)` is a node voltage; `i(V)` is current flowing into a voltage source, so delivered power uses a negative sign. `db(z)=20*log10(abs(z))`; `mag/abs` denote magnitude, and `cph` denotes continuous phase in radians. `find`, `when`, `from/to` and `rise/fall` follow the deck's interpolation, window and crossing conventions. SPICE suffixes p/n/u/m/meg/g mean pico/nano/micro/milli/mega/giga. Nested `avg`, `min`, `max`, `vecmin/vecmax` and `deriv` represent window averages, extrema and sampled derivatives. Measure each operating condition independently, pair it with the source result under that condition, and take the worst paired quality within each metric group.
105
+
106
+ `linearity_error_pct` uses `saturating_ratio`: q = 2(b+s)/(b+x+2s), where x is candidate error, b is paired source error and s is the positive scale below. Source equivalence gives q=1; improvement approaches the upper limit 2 with diminishing returns. The scale retains its declared unit and numerical-floor meaning. Normalize each condition before taking the worst quality; other rules follow their declarations.
107
+
108
+ | Metric | Definition / observation | Unit | Quality normalization | Functional range | Scale | Dimension |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
  | --- | --- | --- | --- | --- | --- | --- |
110
  | `transimpedance_low` | AC: Value of `(real(v(RFOUT)/i(VSENSE))) at=1meg`. | ohm | maximize / ratio | 0 … +∞ | — | response |
111
  | `transimpedance_high` | AC: Value of `(mag(v(RFOUT)/i(VSENSE))) at=100meg`. | ohm | maximize / ratio | 0 … +∞ | — | response |
112
+ | `linearity_error_pct` | Maximum absolute deviation of DC RFOUT from the line through the endpoint samples, divided by absolute output span, times 100; IIN sweeps -5 to +5 uA in 0.5 uA steps. | percent | minimize / saturating_ratio | 0 … +∞ | 1e-06 | response |
113
  | `input_bias` | DC operating point: `v(RFIN)`. | V | target / target | 0 … 2.1 | 2.1 | bias |
114
  | `output_bias` | DC operating point: `v(RFOUT)`. | V | target / target | 0 … 2.1 | 2.1 | bias |
115
  | `supply_power` | DC operating point: `-v(VCC1)*i(VCC1)-v(VCC2)*i(VCC2)-v(VCC3)*i(VCC3)`. | W | minimize / ratio | 0 … +∞ | 1e-12 | supply |
116
 
117
+ Area reference: **18718.54 um2**. The expanded circuit has 17 device instances, a sum of device/contact envelopes 12300.6100 um2, a one-sided envelope margin of 0.6 um, a routing allowance of 50%, and a total outer width/height allowance 1.2 um. Estimate = ceil(100 * (1.5 * envelope_sum + 2 * margin * sqrt(envelope_sum) + margin^2)) / 100. Here margin is the total allowance across both sides, and the envelope sum is displayed to four decimal places. MOS/passive envelopes use W/L (or resistor dimensions) and multiplicity, including explicit contacts and HBT emitter/contact envelopes. This is a frozen engineering estimate, not a process minimum or a proven achievable area.
 
 
 
118
 
119
+ The capability coefficient is **6**, independent of this task's reference-normalized score.
120
 
121
  ### Score weights
122
 
 
136
 
137
  Solve budget: **3 hours**.
138
 
139
+ Discover the task, resources, protocol and constraints through `/protocol/task.json`, `/protocol/resources.json`, `/protocol/harness.json`, and use the tools and PDK specified by the runtime environment. If the protocol declares `process-feedback`, run `python -I /protocol/process_check.py` to request an intermediate check using the frozen flow; final evaluation runs independently.
 
 
 
 
 
140
 
141
  Write the answer to `/workspace/output/final.gds` as a GDS file with top cell
142
  `FMD_QNC_01_LIN_TIA` and wait for the submission receipt:
 
145
  python -I /protocol/submit.py
146
  ```
147
 
148
+ All physical checks, extraction and simulation use the submitted snapshot.
 
tasks/ihp-sg13g2/TO_Apr2025/cases/DC_to_130_GHz_TIA.design_1/case.toml CHANGED
@@ -1,15 +1,15 @@
1
- in_core = false
2
  kind = "layout_case"
3
  id = "TO_Apr2025.DC_to_130_GHz_TIA.design_1"
4
  title = "Two-stage SiGe HBT TIA with nominal AC/DC requirements"
5
  status = "qualified"
 
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
- sha256 = "35c6ad118e5e06bdd1c07e510f66417b2b26454d4db6d3d0ceb10c002028fad6"
13
 
14
  [[assets]]
15
  path = "reference/FMD_QNC_03a_TIA_1.gds"
@@ -27,24 +27,24 @@ environment = "ihp-sg13g2-to-design1-functional"
27
 
28
  [task.inputs.description]
29
  path = "problem.md"
30
- sha256 = "2d77cb2f457a5b7f9188f0ed28eabf7acbbdd8f32b9dcfa75b54b4d34cce0061"
31
  format = "text"
 
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
35
- sha256 = "41054606cd4c4845149df6c9a38a7d38d45ae4ba22afb5ff588d33051aaf06f3"
36
  format = "spice"
37
  subcircuit = "FMD_QNC_03a_TIA_1"
 
38
 
39
  [task.inputs.simulation]
40
  path = "materials/circuit.spice"
41
- sha256 = "7dc79bb78b7d60f5ff7826fa2aa0cb549e0453a89ed26e2cfd7f64e8ea6bbfbd"
42
  format = "spice"
 
43
 
44
  [task.inputs.performance]
45
  path = "materials/testbench.spice"
46
- sha256 = "cf9a8f31c266d199966ba4ab102fb9f73b26bc74044d0ed0704fbc1120a01742"
47
  format = "spice"
 
48
 
49
  [task.constraints]
50
  quality = [
@@ -453,7 +453,10 @@ baseline = [
453
  "source_positive:transimpedance_low",
454
  ]
455
  normalization = "ratio"
 
 
456
  lower = 0
 
457
 
458
  [[task.evaluation.metrics]]
459
  id = "transimpedance_high"
@@ -473,7 +476,10 @@ baseline = [
473
  "source_positive:transimpedance_high",
474
  ]
475
  normalization = "ratio"
 
 
476
  lower = 0
 
477
 
478
  [[task.evaluation.metrics]]
479
  id = "input_bias"
@@ -494,8 +500,11 @@ baseline = [
494
  ]
495
  normalization = "target"
496
  scale = 2.0
 
 
497
  lower = 0
498
  upper = 2.0
 
499
 
500
  [[task.evaluation.metrics]]
501
  id = "output_bias"
@@ -516,8 +525,11 @@ baseline = [
516
  ]
517
  normalization = "target"
518
  scale = 2.0
 
 
519
  lower = 0
520
  upper = 2.0
 
521
 
522
  [[task.evaluation.metrics]]
523
  id = "supply_power"
@@ -537,14 +549,17 @@ baseline = [
537
  "source_positive:supply_power",
538
  ]
539
  normalization = "ratio"
540
- lower = 0
541
  scale = 1e-12
542
 
 
 
 
 
543
  [task.evaluation.pre_layout]
544
- source_report_sha256 = "41bb35cebcae6f4986a76641298df392d8f1164db3e7201143dab10abdbc00b5"
545
 
546
  [task.evaluation.pre_layout.backends]
547
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"ef9cb87fa27b849376472663b7362673979b89e012f161ba47bb5f6af6ede8eb\", \"compatibility\": null, \"execution_sha256\": \"5424b579002782bfddf0a729715b8fbf2a5f7f2b4cf14982d7616e352d5de9be\", \"image_id\": \"sha256:6562558774d43c085a289bbba696c55959eb8051a0996f96633451fbeb9c652d\", \"limits\": {\"cpus\": 4, \"memory_mb\": 4096, \"pids\": 256}, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"ca37b963bac7a1c8224fec3455a1354dedcf3d1fe3be08114cc9502971070abe\", \"timeout_seconds\": 60.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******\"}"
548
 
549
  [task.evaluation.pre_layout.jobs.source_negative]
550
  operation = "circuit.simulate"
@@ -575,7 +590,7 @@ ac = "frequency_response.raw"
575
 
576
  [task.evaluation.pre_layout.jobs.source_negative.input_sha256]
577
  circuit = "7dc79bb78b7d60f5ff7826fa2aa0cb549e0453a89ed26e2cfd7f64e8ea6bbfbd"
578
- deck = "cf9a8f31c266d199966ba4ab102fb9f73b26bc74044d0ed0704fbc1120a01742"
579
 
580
  [task.evaluation.pre_layout.jobs.source_negative.measurements.input_bias]
581
  value = 0.9487253947562
@@ -605,6 +620,10 @@ unit = "ohm"
605
  value = 184.5921
606
  unit = "ohm"
607
 
 
 
 
 
608
  [task.evaluation.pre_layout.jobs.source_zero]
609
  operation = "circuit.simulate"
610
 
@@ -634,7 +653,7 @@ ac = "frequency_response.raw"
634
 
635
  [task.evaluation.pre_layout.jobs.source_zero.input_sha256]
636
  circuit = "7dc79bb78b7d60f5ff7826fa2aa0cb549e0453a89ed26e2cfd7f64e8ea6bbfbd"
637
- deck = "cf9a8f31c266d199966ba4ab102fb9f73b26bc74044d0ed0704fbc1120a01742"
638
 
639
  [task.evaluation.pre_layout.jobs.source_zero.measurements.input_bias]
640
  value = 0.9499771272023
@@ -664,6 +683,10 @@ unit = "ohm"
664
  value = 181.173
665
  unit = "ohm"
666
 
 
 
 
 
667
  [task.evaluation.pre_layout.jobs.source_positive]
668
  operation = "circuit.simulate"
669
 
@@ -693,7 +716,7 @@ ac = "frequency_response.raw"
693
 
694
  [task.evaluation.pre_layout.jobs.source_positive.input_sha256]
695
  circuit = "7dc79bb78b7d60f5ff7826fa2aa0cb549e0453a89ed26e2cfd7f64e8ea6bbfbd"
696
- deck = "cf9a8f31c266d199966ba4ab102fb9f73b26bc74044d0ed0704fbc1120a01742"
697
 
698
  [task.evaluation.pre_layout.jobs.source_positive.measurements.input_bias]
699
  value = 0.9512266397008
@@ -723,6 +746,10 @@ unit = "ohm"
723
  value = 177.7518
724
  unit = "ohm"
725
 
 
 
 
 
726
  [qualification]
727
  reference = "reference/FMD_QNC_03a_TIA_1.gds"
728
 
@@ -738,7 +765,7 @@ reference = "reference/FMD_QNC_03a_TIA_1.gds"
738
  type = "klayout-geometry-docker"
739
 
740
  [toolchain.backends.geometry.settings]
741
- image = "iclayout-bench-tools:local"
742
  timeout_seconds = 120
743
 
744
  [toolchain.backends.lvs]
@@ -748,7 +775,7 @@ type = "klayout-docker"
748
  support = "klayout"
749
 
750
  [toolchain.backends.lvs.settings]
751
- image = "iclayout-bench-tools:local"
752
  check = "lvs"
753
  support = "build/support/to-design1-klayout"
754
  profile = "lvs-upstream.json"
@@ -761,7 +788,10 @@ type = "ngspice-docker"
761
  support = "hbt-models"
762
 
763
  [toolchain.backends.simulation.settings]
764
- image = "iclayout-bench-tools:local"
 
 
 
765
  support = "build/support/to-design1-models"
766
  timeout_seconds = 60
767
 
@@ -769,7 +799,7 @@ timeout_seconds = 60
769
  type = "klayout-docker"
770
 
771
  [toolchain.backends.artifact.settings]
772
- image = "iclayout-bench-tools:local"
773
  check = "artifact"
774
  timeout_seconds = 60
775
 
@@ -780,7 +810,7 @@ type = "klayout-docker"
780
  support = "klayout"
781
 
782
  [toolchain.backends.drc.settings]
783
- image = "iclayout-bench-tools:local"
784
  check = "drc"
785
  support = "build/support/to-design1-klayout"
786
  profile = "drc-upstream.json"
@@ -794,7 +824,7 @@ klayout_support = "klayout"
794
  magic_support = "magic"
795
 
796
  [toolchain.backends.parasitics.settings]
797
- image = "iclayout-bench-tools:local"
798
  klayout_support = "build/support/to-design1-klayout"
799
  klayout_profile = "lvs-to-apr2025.json"
800
  magic_support = "build/support/to-design1-magic"
 
 
1
  kind = "layout_case"
2
  id = "TO_Apr2025.DC_to_130_GHz_TIA.design_1"
3
  title = "Two-stage SiGe HBT TIA with nominal AC/DC requirements"
4
  status = "qualified"
5
+ in_core = false
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
+ sha256 = "5da14439984543b4e94085678796cca312b870ab4e582e6adb7adc02f4102090"
13
 
14
  [[assets]]
15
  path = "reference/FMD_QNC_03a_TIA_1.gds"
 
27
 
28
  [task.inputs.description]
29
  path = "problem.md"
 
30
  format = "text"
31
+ sha256 = "aef9abd87f676d07857d0a813253e09b7a95425c3a2f06a8b41245944e7ac3c4"
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
 
35
  format = "spice"
36
  subcircuit = "FMD_QNC_03a_TIA_1"
37
+ sha256 = "41054606cd4c4845149df6c9a38a7d38d45ae4ba22afb5ff588d33051aaf06f3"
38
 
39
  [task.inputs.simulation]
40
  path = "materials/circuit.spice"
 
41
  format = "spice"
42
+ sha256 = "7dc79bb78b7d60f5ff7826fa2aa0cb549e0453a89ed26e2cfd7f64e8ea6bbfbd"
43
 
44
  [task.inputs.performance]
45
  path = "materials/testbench.spice"
 
46
  format = "spice"
47
+ sha256 = "f1144350e7791fcfc8ad81e04a56b6fceca1995600018a70ed301b95c1b42aaf"
48
 
49
  [task.constraints]
50
  quality = [
 
453
  "source_positive:transimpedance_low",
454
  ]
455
  normalization = "ratio"
456
+
457
+ [task.evaluation.metrics.requirement]
458
  lower = 0
459
+ rationale = "The declared response magnitude, impedance, capacitance, amplitude or absolute return-ratio diagnostic has a nonnegative measurement domain; its value remains a quality or diagnostic observation."
460
 
461
  [[task.evaluation.metrics]]
462
  id = "transimpedance_high"
 
476
  "source_positive:transimpedance_high",
477
  ]
478
  normalization = "ratio"
479
+
480
+ [task.evaluation.metrics.requirement]
481
  lower = 0
482
+ rationale = "The declared response magnitude, impedance, capacitance, amplitude or absolute return-ratio diagnostic has a nonnegative measurement domain; its value remains a quality or diagnostic observation."
483
 
484
  [[task.evaluation.metrics]]
485
  id = "input_bias"
 
500
  ]
501
  normalization = "target"
502
  scale = 2.0
503
+
504
+ [task.evaluation.metrics.requirement]
505
  lower = 0
506
  upper = 2.0
507
+ rationale = "The declared node voltage or voltage span must remain within its ground-to-supply operating envelope; precision relative to the source remains a scored objective."
508
 
509
  [[task.evaluation.metrics]]
510
  id = "output_bias"
 
525
  ]
526
  normalization = "target"
527
  scale = 2.0
528
+
529
+ [task.evaluation.metrics.requirement]
530
  lower = 0
531
  upper = 2.0
532
+ rationale = "The declared node voltage or voltage span must remain within its ground-to-supply operating envelope; precision relative to the source remains a scored objective."
533
 
534
  [[task.evaluation.metrics]]
535
  id = "supply_power"
 
549
  "source_positive:supply_power",
550
  ]
551
  normalization = "ratio"
 
552
  scale = 1e-12
553
 
554
+ [task.evaluation.metrics.requirement]
555
+ lower = 0
556
+ rationale = "The declared powered circuit or driven switching network must consume nonnegative net supply/driver energy or quiescent current under the complete stated observation."
557
+
558
  [task.evaluation.pre_layout]
559
+ source_report_sha256 = "0ea4043b7b3d858803a7569266d547a2d98ac1aa57aadeaeb0838bcc6cfd3d90"
560
 
561
  [task.evaluation.pre_layout.backends]
562
+ "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\": \"7b432fb4cf7911c02eacee3ceaad658c961f16f22bc890ee7ad89b3e44108141\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 60.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******\"}"
563
 
564
  [task.evaluation.pre_layout.jobs.source_negative]
565
  operation = "circuit.simulate"
 
590
 
591
  [task.evaluation.pre_layout.jobs.source_negative.input_sha256]
592
  circuit = "7dc79bb78b7d60f5ff7826fa2aa0cb549e0453a89ed26e2cfd7f64e8ea6bbfbd"
593
+ deck = "f1144350e7791fcfc8ad81e04a56b6fceca1995600018a70ed301b95c1b42aaf"
594
 
595
  [task.evaluation.pre_layout.jobs.source_negative.measurements.input_bias]
596
  value = 0.9487253947562
 
620
  value = 184.5921
621
  unit = "ohm"
622
 
623
+ [task.evaluation.pre_layout.jobs.source_negative.output_sha256]
624
+ op = "44c7d4d7b135a4323961d22dac6fb85a6dd2b6a6dea3ee3e5599838624d15772"
625
+ ac = "fce8396a42751c433fc4d5d5d30a97a38269be9f5a70359e896c0c56337a2942"
626
+
627
  [task.evaluation.pre_layout.jobs.source_zero]
628
  operation = "circuit.simulate"
629
 
 
653
 
654
  [task.evaluation.pre_layout.jobs.source_zero.input_sha256]
655
  circuit = "7dc79bb78b7d60f5ff7826fa2aa0cb549e0453a89ed26e2cfd7f64e8ea6bbfbd"
656
+ deck = "f1144350e7791fcfc8ad81e04a56b6fceca1995600018a70ed301b95c1b42aaf"
657
 
658
  [task.evaluation.pre_layout.jobs.source_zero.measurements.input_bias]
659
  value = 0.9499771272023
 
683
  value = 181.173
684
  unit = "ohm"
685
 
686
+ [task.evaluation.pre_layout.jobs.source_zero.output_sha256]
687
+ op = "8e9f86d1e9cb921a673d4361982249cd3f3230b4346a377c26ef286909c3e69d"
688
+ ac = "f8c932d513055e454f868849f7bfee1770aea87871893ba695cd2b735358fd65"
689
+
690
  [task.evaluation.pre_layout.jobs.source_positive]
691
  operation = "circuit.simulate"
692
 
 
716
 
717
  [task.evaluation.pre_layout.jobs.source_positive.input_sha256]
718
  circuit = "7dc79bb78b7d60f5ff7826fa2aa0cb549e0453a89ed26e2cfd7f64e8ea6bbfbd"
719
+ deck = "f1144350e7791fcfc8ad81e04a56b6fceca1995600018a70ed301b95c1b42aaf"
720
 
721
  [task.evaluation.pre_layout.jobs.source_positive.measurements.input_bias]
722
  value = 0.9512266397008
 
746
  value = 177.7518
747
  unit = "ohm"
748
 
749
+ [task.evaluation.pre_layout.jobs.source_positive.output_sha256]
750
+ op = "5ba7c4132d13b688093d9ba2e043864d53bff8077fd5704d881d6f4ed65dcb22"
751
+ ac = "c3b3ed800ce22cae1099191971e36627abdd3ff7550effc41a9889b8270cd271"
752
+
753
  [qualification]
754
  reference = "reference/FMD_QNC_03a_TIA_1.gds"
755
 
 
765
  type = "klayout-geometry-docker"
766
 
767
  [toolchain.backends.geometry.settings]
768
+ image = "iclayout-eda-open:local"
769
  timeout_seconds = 120
770
 
771
  [toolchain.backends.lvs]
 
775
  support = "klayout"
776
 
777
  [toolchain.backends.lvs.settings]
778
+ image = "iclayout-eda-open:local"
779
  check = "lvs"
780
  support = "build/support/to-design1-klayout"
781
  profile = "lvs-upstream.json"
 
788
  support = "hbt-models"
789
 
790
  [toolchain.backends.simulation.settings]
791
+ max_parallel_jobs = 8
792
+ threads = 1
793
+ cpu_budget = 8
794
+ image = "iclayout-eda-open:local"
795
  support = "build/support/to-design1-models"
796
  timeout_seconds = 60
797
 
 
799
  type = "klayout-docker"
800
 
801
  [toolchain.backends.artifact.settings]
802
+ image = "iclayout-eda-open:local"
803
  check = "artifact"
804
  timeout_seconds = 60
805
 
 
810
  support = "klayout"
811
 
812
  [toolchain.backends.drc.settings]
813
+ image = "iclayout-eda-open:local"
814
  check = "drc"
815
  support = "build/support/to-design1-klayout"
816
  profile = "drc-upstream.json"
 
824
  magic_support = "magic"
825
 
826
  [toolchain.backends.parasitics.settings]
827
+ image = "iclayout-eda-open:local"
828
  klayout_support = "build/support/to-design1-klayout"
829
  klayout_profile = "lvs-to-apr2025.json"
830
  magic_support = "build/support/to-design1-magic"
tasks/ihp-sg13g2/TO_Apr2025/cases/DC_to_130_GHz_TIA.design_1/materials/schematic.svg CHANGED
tasks/ihp-sg13g2/TO_Apr2025/cases/DC_to_130_GHz_TIA.design_1/materials/testbench.spice CHANGED
@@ -29,6 +29,7 @@ let supply2_current = -i(VCC2)
29
  let supply_power = -v(vcc1)*i(VCC1)-v(vcc2)*i(VCC2)
30
  print input_bias output_bias supply1_current supply2_current supply_power
31
  write operating_point.raw all
 
32
  ac dec 40 1meg 100meg
33
  let signed_transimpedance = real(v(output)/i(VSENSE))
34
  let magnitude_transimpedance = mag(v(output)/i(VSENSE))
 
29
  let supply_power = -v(vcc1)*i(VCC1)-v(vcc2)*i(VCC2)
30
  print input_bias output_bias supply1_current supply2_current supply_power
31
  write operating_point.raw all
32
+ save i(vcc1) i(vcc2) i(vsense) v(input) v(output) v(vcc1) v(vcc2)
33
  ac dec 40 1meg 100meg
34
  let signed_transimpedance = real(v(output)/i(VSENSE))
35
  let magnitude_transimpedance = mag(v(output)/i(VSENSE))
tasks/ihp-sg13g2/TO_Apr2025/cases/DC_to_130_GHz_TIA.design_1/problem.md CHANGED
@@ -10,8 +10,7 @@ post-layout measurements below.
10
 
11
  ## Inputs and Interface
12
 
13
- In addition to this problem, the runtime task supplies the following declared
14
- inputs:
15
 
16
  | Input | Purpose |
17
  |---|---|
@@ -69,12 +68,9 @@ the five ports, device multiplicities, passive geometry and the same-net
69
  substrate tap. Artifact, DRC, LVS and geometry gates all precede candidate
70
  extraction.
71
 
72
- The GDS must include the complete target hierarchy. Port names are matched
73
- case-insensitively; each declared port must remain on its own conductor with
74
- the declared connectivity.
75
 
76
- The functional outline is the recursive bounding box of polygons on these
77
- SG13G2 datatype-0 layers, including child cells and the complete routing stack:
78
 
79
  `1, 3, 5, 6, 7, 8, 10, 11, 13, 14, 19, 24, 26, 28, 29, 30, 31, 32, 33, 35, 36, 40, 44, 46, 49, 50, 51, 52, 53, 55, 58, 66, 67, 90, 101, 111, 125, 126, 128, 129, 133, 134, 139, 152`.
80
 
@@ -96,43 +92,19 @@ port or change the maintained circuit.
96
 
97
  ## Electrical Requirements and Scoring
98
 
99
- Physical checks and declared functional bounds remain mandatory. Quality has no
100
- fixed allowed-degradation threshold. Each `source_*` job simulates the declared
101
- source circuit with exactly the same testbench, model resources, parameters,
102
- load and measurement window as its paired extracted-candidate job. A source
103
- observation is the 100-point electrical baseline; it is independent of the
104
- submitted GDS. All individual pairs are retained in the evaluation report.
105
-
106
- For a post-layout observation x and its source observation b:
107
-
108
- - Maximize: q = x/b; minimize: q = b/x. When a numerical scale s is declared,
109
- use (x+s)/(b+s) or its inverse. This handles zero-valued error measurements;
110
- s is a normalization floor, not an allowed degradation or pass threshold.
111
- - Amplitude dB: q = 10^((x-b)/20) for maximize, its inverse for minimize.
112
- - Target: q = 1/(1+abs(x-b)/s), with a declared physical scale s. Signed and
113
- zero-valued operating points are never divided directly.
114
-
115
- Scoring uses `layout`. A metric uses its worst paired quality q. The score is
116
- S = 100 * product(q_i ** w_i), including area quality
117
- q_area = area_reference / candidate_functional_area. The weights below sum to
118
- one. Dimensions describe measurements but do not determine their weights.
119
- Physical or functional rejection scores zero; missing or invalid measurements
120
- produce an unknown score, including measurements with zero weight.
121
- Source-equivalent performance at the area reference scores 100; improvements
122
- can exceed 100. A weight expresses a tradeoff, not a hard acceptance limit.
123
-
124
- Measurement definitions below use the supplied SPICE node/source names.
125
- `v(n)` is node voltage and `i(V)` is current into a voltage source; delivered
126
- power therefore uses a minus sign. `db(z)=20*log10(abs(z))`, `mag/abs`
127
- denote magnitude, and `cph` is continuous phase in radians. `find`, `when`,
128
- `from/to`, and `rise/fall` retain the deck's interpolation, window and
129
- crossing conventions; SPICE suffixes p/n/u/m/meg/g mean pico/nano/micro/
130
- milli/mega/giga. Nested `avg`, `min`, `max`, `vecmin/vecmax` and `deriv`
131
- mean the stated window average, extrema and sampled derivative. All
132
- declared conditions are measured separately and paired with the same
133
- source condition; a group uses its worst paired quality.
134
-
135
- | Metric | Definition / observations | Unit | Quality rule | Functional bounds | Scale | Dimension |
136
  | --- | --- | --- | --- | --- | --- | --- |
137
  | `transimpedance_low` | AC: Value of `(real(v(output)/i(VSENSE))) at=1meg`. | ohm | maximize / ratio | 0 … +∞ | — | response |
138
  | `transimpedance_high` | AC: Value of `(mag(v(output)/i(VSENSE))) at=100meg`. | ohm | maximize / ratio | 0 … +∞ | — | response |
@@ -140,15 +112,13 @@ source condition; a group uses its worst paired quality.
140
  | `output_bias` | DC operating point: `v(output)`. | V | target / target | 0 … 2.0 | 2.0 | bias |
141
  | `supply_power` | DC operating point: `-v(vcc1)*i(VCC1)-v(vcc2)*i(VCC2)`. | W | minimize / ratio | 0 … +∞ | 1e-12 | supply |
142
 
143
- Area reference: **3852.28 um2**. 8 expanded device instances; sum of device/contact envelopes 2487.4228 um2, per-side envelope allowance 0.6 um, 50% routing allowance and total outer width/height allowance 1.2 um. Estimate = ceil(100 * (1.5 * envelope_sum + 2 * margin * sqrt(envelope_sum) + margin^2)) / 100. Here margin is the total allowance across two opposite sides; the envelope sum is displayed rounded to four decimals. MOS/passive envelopes use declared W/L (or resistor dimensions) and multiplicity; explicit tap areas and HBT emitter/contact envelopes are included. This is a frozen engineering estimate, not a foundry minimum or a feasibility claim.
144
-
145
- The capability coefficient remains **4**; it is independent of
146
- the reference-relative task score.
147
 
 
148
 
149
  ### Score weights
150
 
151
- SiGe low-frequency transfer tasks: signal transfer 68.8%; bias 5.29%; supply cost 15.9%; area 10%. Each objective's weight is divided equally among its metrics.
152
 
153
  | Metric | Weight |
154
  | --- | ---: |
@@ -163,12 +133,7 @@ SiGe low-frequency transfer tasks: signal transfer 68.8%; bias 5.29%; supply cos
163
 
164
  Solve budget: **3 hours**.
165
 
166
- Discover the supplied task, resources, harness and constraints from
167
- `/protocol/task.json`, `/protocol/resources.json` and
168
- `/protocol/harness.json`. Use the tool and PDK resources selected by the
169
- runtime environment. If the harness declares `process-feedback`, request
170
- an optional frozen process check with `python -I /protocol/process_check.py`;
171
- the final evaluation remains independent.
172
 
173
  Write the answer to `/workspace/output/final.gds` as a GDS file with top cell
174
  `FMD_QNC_03a_TIA_1` and wait for the submission receipt:
@@ -177,5 +142,4 @@ Write the answer to `/workspace/output/final.gds` as a GDS file with top cell
177
  python -I /protocol/submit.py
178
  ```
179
 
180
- The evaluator uses the submitted snapshot for all physical checks, extraction
181
- and simulations.
 
10
 
11
  ## Inputs and Interface
12
 
13
+ In addition to this description, the runtime task supplies the following declared inputs:
 
14
 
15
  | Input | Purpose |
16
  |---|---|
 
68
  substrate tap. Artifact, DRC, LVS and geometry gates all precede candidate
69
  extraction.
70
 
71
+ The GDS must contain the complete target hierarchy. Port names are case insensitive; each declared port must retain its conductor and declared connections.
 
 
72
 
73
+ The functional outline is the recursive bounding box of polygons on the following SG13G2 datatype-0 layers, including child cells and every routing layer:
 
74
 
75
  `1, 3, 5, 6, 7, 8, 10, 11, 13, 14, 19, 24, 26, 28, 29, 30, 31, 32, 33, 35, 36, 40, 44, 46, 49, 50, 51, 52, 53, 55, 58, 66, 67, 90, 101, 111, 125, 126, 128, 129, 133, 134, 139, 152`.
76
 
 
92
 
93
  ## Electrical Requirements and Scoring
94
 
95
+ 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.
96
+
97
+ Let x be the post-layout measurement and b the source-circuit measurement under the same conditions:
98
+
99
+ - Ratio normalization: maximize with q = x/b and minimize with q = b/x. When a numerical scale s is declared, use (x+s)/(b+s) and its reciprocal, respectively. The scale handles zero values as a normalization floor; it is neither an allowed degradation nor an acceptance bound.
100
+ - Amplitude in dB: maximize with q = 10^((x-b)/20) and minimize with its reciprocal.
101
+ - Target normalization: q = 1/(1+abs(x-b)/s), where s is the declared physical scale. Signed or zero-valued operating points are not divided directly.
102
+
103
+ Use `layout` scoring. Each metric takes its worst paired quality q, and the total score is S = 100 * product(q_i ** w_i), with area quality q_area = area_reference / candidate_functional_area. The weights below sum to 1; metric dimensions describe measurements and do not determine weights. Physical or functional rejection scores zero; missing or invalid measurements leave the score unknown, and zero-weight observations must also be valid. Matching source-circuit performance at the reference area scores 100 points; better valid solutions may exceed 100. Weights express quality tradeoffs rather than hard bounds.
104
+
105
+ The measurements below use the supplied SPICE node and source names. `v(n)` is a node voltage; `i(V)` is current flowing into a voltage source, so delivered power uses a negative sign. `db(z)=20*log10(abs(z))`; `mag/abs` denote magnitude, and `cph` denotes continuous phase in radians. `find`, `when`, `from/to` and `rise/fall` follow the deck's interpolation, window and crossing conventions. SPICE suffixes p/n/u/m/meg/g mean pico/nano/micro/milli/mega/giga. Nested `avg`, `min`, `max`, `vecmin/vecmax` and `deriv` represent window averages, extrema and sampled derivatives. Measure each operating condition independently, pair it with the source result under that condition, and take the worst paired quality within each metric group.
106
+
107
+ | Metric | Definition / observation | Unit | Quality normalization | Functional range | Scale | Dimension |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  | --- | --- | --- | --- | --- | --- | --- |
109
  | `transimpedance_low` | AC: Value of `(real(v(output)/i(VSENSE))) at=1meg`. | ohm | maximize / ratio | 0 … +∞ | — | response |
110
  | `transimpedance_high` | AC: Value of `(mag(v(output)/i(VSENSE))) at=100meg`. | ohm | maximize / ratio | 0 … +∞ | — | response |
 
112
  | `output_bias` | DC operating point: `v(output)`. | V | target / target | 0 … 2.0 | 2.0 | bias |
113
  | `supply_power` | DC operating point: `-v(vcc1)*i(VCC1)-v(vcc2)*i(VCC2)`. | W | minimize / ratio | 0 … +∞ | 1e-12 | supply |
114
 
115
+ Area reference: **3852.28 um2**. The expanded circuit has 8 device instances, a sum of device/contact envelopes 2487.4228 um2, a one-sided envelope margin of 0.6 um, a routing allowance of 50%, and a total outer width/height allowance 1.2 um. Estimate = ceil(100 * (1.5 * envelope_sum + 2 * margin * sqrt(envelope_sum) + margin^2)) / 100. Here margin is the total allowance across both sides, and the envelope sum is displayed to four decimal places. MOS/passive envelopes use W/L (or resistor dimensions) and multiplicity, including explicit contacts and HBT emitter/contact envelopes. This is a frozen engineering estimate, not a process minimum or a proven achievable area.
 
 
 
116
 
117
+ The capability coefficient is **4**, independent of this task's reference-normalized score.
118
 
119
  ### Score weights
120
 
121
+ SiGe low-frequency transfer: signal transfer 68.8%, bias 5.29%, supply cost 15.9%, area 10%; each objective weight is divided equally among its metrics.
122
 
123
  | Metric | Weight |
124
  | --- | ---: |
 
133
 
134
  Solve budget: **3 hours**.
135
 
136
+ Discover the task, resources, protocol and constraints through `/protocol/task.json`, `/protocol/resources.json`, `/protocol/harness.json`, and use the tools and PDK specified by the runtime environment. If the protocol declares `process-feedback`, run `python -I /protocol/process_check.py` to request an intermediate check using the frozen flow; final evaluation runs independently.
 
 
 
 
 
137
 
138
  Write the answer to `/workspace/output/final.gds` as a GDS file with top cell
139
  `FMD_QNC_03a_TIA_1` and wait for the submission receipt:
 
142
  python -I /protocol/submit.py
143
  ```
144
 
145
+ All physical checks, extraction and simulation use the submitted snapshot.
 
tasks/ihp-sg13g2/analog-db/cases/adc_001_inv1b/case.toml CHANGED
@@ -1,15 +1,15 @@
1
- in_core = false
2
  kind = "layout_case"
3
  id = "ihp-sg13g2.analog-db.adc_001_inv1b"
4
  title = "CMOS Inverter Threshold Core"
5
  status = "qualified"
 
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
- sha256 = "a8cccb07772179454cce99b4d0e172c6a622160212c25ddda6f451e08f2350d8"
13
 
14
  [[assets]]
15
  path = "reference/adc_001_inv1b.gds"
@@ -28,13 +28,13 @@ environment = "ihp-sg13g2-mos-rc-tt"
28
  [task.inputs.description]
29
  path = "problem.md"
30
  format = "text"
31
- sha256 = "f77341695350c9c22f0f938c9deb1c21d4085419f90b9c92448364039ae9d4e8"
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
35
  format = "spice"
36
- sha256 = "ac17dacdee7c373b47d4038a7318a7b0fedc024031b06f93011f8eaab684caf4"
37
  subcircuit = "adc_001_inv1b"
 
38
 
39
  [task.inputs.simulation]
40
  path = "materials/circuit.spice"
@@ -44,7 +44,7 @@ sha256 = "5b7039e6399c1336c9ed31405b0176f512f2981b51e1fa8ffae36fa8d51af7aa"
44
  [task.inputs.performance]
45
  path = "materials/testbench.spice"
46
  format = "spice"
47
- sha256 = "c7fa64149fb838b9ae6b0fbcd173883a86be2db0869ba9f7a3d13e61def94476"
48
 
49
  [task.constraints]
50
  quality = [
@@ -398,7 +398,6 @@ direction = "minimize"
398
  dimension = "response"
399
  normalization = "ratio"
400
  scale = 1e-12
401
- lower = 0
402
  category = "performance"
403
  observations = [
404
  "condition_0:delay_s",
@@ -407,6 +406,10 @@ baseline = [
407
  "source_condition_0:delay_s",
408
  ]
409
 
 
 
 
 
410
  [[task.evaluation.metrics]]
411
  id = "transition_s"
412
  unit = "s"
@@ -415,7 +418,6 @@ direction = "minimize"
415
  dimension = "response"
416
  normalization = "ratio"
417
  scale = 1e-12
418
- lower = 0
419
  category = "performance"
420
  observations = [
421
  "condition_0:transition_s",
@@ -424,6 +426,10 @@ baseline = [
424
  "source_condition_0:transition_s",
425
  ]
426
 
 
 
 
 
427
  [[task.evaluation.metrics]]
428
  id = "power_w"
429
  unit = "W"
@@ -432,7 +438,6 @@ direction = "minimize"
432
  dimension = "supply"
433
  normalization = "ratio"
434
  scale = 1e-12
435
- lower = 0
436
  category = "performance"
437
  observations = [
438
  "condition_0:power_w",
@@ -441,22 +446,29 @@ baseline = [
441
  "source_condition_0:power_w",
442
  ]
443
 
 
 
 
 
444
  [[task.evaluation.metrics]]
445
  id = "swing_v"
446
  unit = "V"
447
  aggregation = "max"
448
  direction = "maximize"
449
- lower = 0.6
450
  category = "performance"
451
  observations = [
452
  "condition_0:swing_v",
453
  ]
454
 
 
 
 
 
455
  [task.evaluation.pre_layout]
456
- source_report_sha256 = "7a5787418bbed57c79c831f242b405561f2bc6441ec1f54299d52e60df0fe36e"
457
 
458
  [task.evaluation.pre_layout.backends]
459
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"ef9cb87fa27b849376472663b7362673979b89e012f161ba47bb5f6af6ede8eb\", \"compatibility\": null, \"execution_sha256\": \"5424b579002782bfddf0a729715b8fbf2a5f7f2b4cf14982d7616e352d5de9be\", \"image_id\": \"sha256:6562558774d43c085a289bbba696c55959eb8051a0996f96633451fbeb9c652d\", \"limits\": {\"cpus\": 4, \"memory_mb\": 4096, \"pids\": 256}, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"d178a2dbf7b8ae93537de0a83c4368f730c62167c354adcc54ce4b03ab9abf29\", \"timeout_seconds\": 600.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******\"}"
460
 
461
  [task.evaluation.pre_layout.jobs.source_condition_0]
462
  operation = "circuit.simulate"
@@ -485,7 +497,7 @@ dc = "dc.raw"
485
  transient = "transient.raw"
486
 
487
  [task.evaluation.pre_layout.jobs.source_condition_0.input_sha256]
488
- deck = "c7fa64149fb838b9ae6b0fbcd173883a86be2db0869ba9f7a3d13e61def94476"
489
  dut = "5b7039e6399c1336c9ed31405b0176f512f2981b51e1fa8ffae36fa8d51af7aa"
490
 
491
  [task.evaluation.pre_layout.jobs.source_condition_0.measurements.delay_s]
@@ -508,6 +520,11 @@ unit = "V"
508
  value = 7.341807e-11
509
  unit = "s"
510
 
 
 
 
 
 
511
  [toolchain.bindings]
512
  "layout.artifact" = "artifact"
513
  "layout.drc" = "drc"
@@ -520,7 +537,7 @@ unit = "s"
520
  type = "klayout-docker"
521
 
522
  [toolchain.backends.artifact.settings]
523
- image = "iclayout-bench-tools:local"
524
  check = "artifact"
525
  timeout_seconds = 600
526
 
@@ -531,7 +548,7 @@ type = "klayout-docker"
531
  support = "klayout"
532
 
533
  [toolchain.backends.drc.settings]
534
- image = "iclayout-bench-tools:local"
535
  check = "drc"
536
  support = "build/support/analog-db-klayout"
537
  profile = "drc-upstream.json"
@@ -544,7 +561,7 @@ type = "klayout-docker"
544
  support = "klayout"
545
 
546
  [toolchain.backends.lvs.settings]
547
- image = "iclayout-bench-tools:local"
548
  check = "lvs"
549
  support = "build/support/analog-db-klayout"
550
  profile = "lvs-upstream.json"
@@ -557,7 +574,7 @@ type = "magic-rc-docker"
557
  support = "magic"
558
 
559
  [toolchain.backends.rc.settings]
560
- image = "iclayout-bench-tools:local"
561
  support = "build/support/analog-db-magic"
562
  technology = "magic/ihp-sg13g2.tech"
563
  tech_name = "ihp-sg13g2"
@@ -569,7 +586,7 @@ timeout_seconds = 600
569
  type = "klayout-geometry-docker"
570
 
571
  [toolchain.backends.geometry.settings]
572
- image = "iclayout-bench-tools:local"
573
  timeout_seconds = 120
574
 
575
  [toolchain.backends.simulation]
@@ -579,7 +596,10 @@ type = "ngspice-docker"
579
  support = "analog-models"
580
 
581
  [toolchain.backends.simulation.settings]
582
- image = "iclayout-bench-tools:local"
 
 
 
583
  support = "build/support/analog-db-analog-models"
584
  timeout_seconds = 600
585
 
 
 
1
  kind = "layout_case"
2
  id = "ihp-sg13g2.analog-db.adc_001_inv1b"
3
  title = "CMOS Inverter Threshold Core"
4
  status = "qualified"
5
+ in_core = false
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
+ sha256 = "94c6b23ff178b3b7e18ecf9a0eed0734f0fbea0f84614a45bc4f57c8acf88643"
13
 
14
  [[assets]]
15
  path = "reference/adc_001_inv1b.gds"
 
28
  [task.inputs.description]
29
  path = "problem.md"
30
  format = "text"
31
+ sha256 = "89ac70eab03942a80bef149eab104bc1c59bf84dde79fd0b873f0974d4505bc3"
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
35
  format = "spice"
 
36
  subcircuit = "adc_001_inv1b"
37
+ sha256 = "ac17dacdee7c373b47d4038a7318a7b0fedc024031b06f93011f8eaab684caf4"
38
 
39
  [task.inputs.simulation]
40
  path = "materials/circuit.spice"
 
44
  [task.inputs.performance]
45
  path = "materials/testbench.spice"
46
  format = "spice"
47
+ sha256 = "7305f7b68fdb3c41a8e397a24b229aa79cd228e6d8e261654e9803d208ff84c0"
48
 
49
  [task.constraints]
50
  quality = [
 
398
  dimension = "response"
399
  normalization = "ratio"
400
  scale = 1e-12
 
401
  category = "performance"
402
  observations = [
403
  "condition_0:delay_s",
 
406
  "source_condition_0:delay_s",
407
  ]
408
 
409
+ [task.evaluation.metrics.requirement]
410
+ lower = 0
411
+ rationale = "The observed frequency or ordered-event interval has a nonnegative measurement domain, and its required crossing must exist for a usable observation."
412
+
413
  [[task.evaluation.metrics]]
414
  id = "transition_s"
415
  unit = "s"
 
418
  dimension = "response"
419
  normalization = "ratio"
420
  scale = 1e-12
 
421
  category = "performance"
422
  observations = [
423
  "condition_0:transition_s",
 
426
  "source_condition_0:transition_s",
427
  ]
428
 
429
+ [task.evaluation.metrics.requirement]
430
+ lower = 0
431
+ rationale = "The observed frequency or ordered-event interval has a nonnegative measurement domain, and its required crossing must exist for a usable observation."
432
+
433
  [[task.evaluation.metrics]]
434
  id = "power_w"
435
  unit = "W"
 
438
  dimension = "supply"
439
  normalization = "ratio"
440
  scale = 1e-12
 
441
  category = "performance"
442
  observations = [
443
  "condition_0:power_w",
 
446
  "source_condition_0:power_w",
447
  ]
448
 
449
+ [task.evaluation.metrics.requirement]
450
+ lower = 0
451
+ rationale = "The declared powered circuit or driven switching network must consume nonnegative net supply/driver energy or quiescent current under the complete stated observation."
452
+
453
  [[task.evaluation.metrics]]
454
  id = "swing_v"
455
  unit = "V"
456
  aggregation = "max"
457
  direction = "maximize"
 
458
  category = "performance"
459
  observations = [
460
  "condition_0:swing_v",
461
  ]
462
 
463
+ [task.evaluation.metrics.requirement]
464
+ lower = 0.6
465
+ rationale = "The 1.2 V inverter threshold core requires at least the declared 0.6 V DC output swing to establish a meaningful logic transition; unique switching and transient crossings are independently required by the fixture."
466
+
467
  [task.evaluation.pre_layout]
468
+ source_report_sha256 = "37eef824221b8062d8969766eadf779825de51cd9327d080ebfaf05ccb020c7a"
469
 
470
  [task.evaluation.pre_layout.backends]
471
+ "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\": \"dce84f0cb44c7192511c807348bb3852682b1b4ec71ee94055876cb79ccbbdb1\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 600.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******\"}"
472
 
473
  [task.evaluation.pre_layout.jobs.source_condition_0]
474
  operation = "circuit.simulate"
 
497
  transient = "transient.raw"
498
 
499
  [task.evaluation.pre_layout.jobs.source_condition_0.input_sha256]
500
+ deck = "7305f7b68fdb3c41a8e397a24b229aa79cd228e6d8e261654e9803d208ff84c0"
501
  dut = "5b7039e6399c1336c9ed31405b0176f512f2981b51e1fa8ffae36fa8d51af7aa"
502
 
503
  [task.evaluation.pre_layout.jobs.source_condition_0.measurements.delay_s]
 
520
  value = 7.341807e-11
521
  unit = "s"
522
 
523
+ [task.evaluation.pre_layout.jobs.source_condition_0.output_sha256]
524
+ op = "974317db1b6ce6abb38ea59ab7f85ae70b26e31d7cde0e156d5f881d5582fd2d"
525
+ dc = "81d88d3270a73f9d61c931227248a726fb3b5ab9b9c239f2f7d1127ba2a8534e"
526
+ transient = "971ff7139ce4033900cb0b29e158a07a65900b3e67c7ee842bf4b1f5b17ebd2a"
527
+
528
  [toolchain.bindings]
529
  "layout.artifact" = "artifact"
530
  "layout.drc" = "drc"
 
537
  type = "klayout-docker"
538
 
539
  [toolchain.backends.artifact.settings]
540
+ image = "iclayout-eda-open:local"
541
  check = "artifact"
542
  timeout_seconds = 600
543
 
 
548
  support = "klayout"
549
 
550
  [toolchain.backends.drc.settings]
551
+ image = "iclayout-eda-open:local"
552
  check = "drc"
553
  support = "build/support/analog-db-klayout"
554
  profile = "drc-upstream.json"
 
561
  support = "klayout"
562
 
563
  [toolchain.backends.lvs.settings]
564
+ image = "iclayout-eda-open:local"
565
  check = "lvs"
566
  support = "build/support/analog-db-klayout"
567
  profile = "lvs-upstream.json"
 
574
  support = "magic"
575
 
576
  [toolchain.backends.rc.settings]
577
+ image = "iclayout-eda-open:local"
578
  support = "build/support/analog-db-magic"
579
  technology = "magic/ihp-sg13g2.tech"
580
  tech_name = "ihp-sg13g2"
 
586
  type = "klayout-geometry-docker"
587
 
588
  [toolchain.backends.geometry.settings]
589
+ image = "iclayout-eda-open:local"
590
  timeout_seconds = 120
591
 
592
  [toolchain.backends.simulation]
 
596
  support = "analog-models"
597
 
598
  [toolchain.backends.simulation.settings]
599
+ max_parallel_jobs = 8
600
+ threads = 1
601
+ cpu_budget = 8
602
+ image = "iclayout-eda-open:local"
603
  support = "build/support/analog-db-analog-models"
604
  timeout_seconds = 600
605
 
tasks/ihp-sg13g2/analog-db/cases/adc_001_inv1b/materials/schematic.svg CHANGED
tasks/ihp-sg13g2/analog-db/cases/adc_001_inv1b/materials/testbench.spice CHANGED
@@ -22,6 +22,7 @@ if kcl_residual > 1e-10
22
  end
23
  show all
24
  write op.raw all
 
25
  dc VIN 0 1.2 .001
26
  let ncross=0
27
  let idx=0
 
22
  end
23
  show all
24
  write op.raw all
25
+ save i(vdd) i(vin) i(vss) v(drive) v(vdd) v(vin) v(vout)
26
  dc VIN 0 1.2 .001
27
  let ncross=0
28
  let idx=0
tasks/ihp-sg13g2/analog-db/cases/adc_001_inv1b/problem.md CHANGED
@@ -18,30 +18,15 @@ Use IHP native KLayout main and maximum rule decks and named-interface LVS; Magi
18
 
19
  ## Electrical Requirements and Scoring
20
 
21
- Physical checks and declared functional bounds remain mandatory. Quality has no
22
- fixed allowed-degradation threshold. Each `source_*` job simulates the declared
23
- source circuit with exactly the same testbench, model resources, parameters,
24
- load and measurement window as its paired extracted-candidate job. A source
25
- observation is the 100-point electrical baseline; it is independent of the
26
- submitted GDS. All individual pairs are retained in the evaluation report.
27
-
28
- For a post-layout observation x and its source observation b:
29
-
30
- - Maximize: q = x/b; minimize: q = b/x. When a numerical scale s is declared,
31
- use (x+s)/(b+s) or its inverse. This handles zero-valued error measurements;
32
- s is a normalization floor, not an allowed degradation or pass threshold.
33
- - Amplitude dB: q = 10^((x-b)/20) for maximize, its inverse for minimize.
34
- - Target: q = 1/(1+abs(x-b)/s), with a declared physical scale s. Signed and
35
- zero-valued operating points are never divided directly.
36
-
37
- Scoring uses `layout`. A metric uses its worst paired quality q. The score is
38
- S = 100 * product(q_i ** w_i), including area quality
39
- q_area = area_reference / candidate_functional_area. The weights below sum to
40
- one. Dimensions describe measurements but do not determine their weights.
41
- Physical or functional rejection scores zero; missing or invalid measurements
42
- produce an unknown score, including measurements with zero weight.
43
- Source-equivalent performance at the area reference scores 100; improvements
44
- can exceed 100. A weight expresses a tradeoff, not a hard acceptance limit.
45
 
46
  | Metric | Unit | Definition | Bound | Quality |
47
  | --- | --- | --- | --- | --- |
@@ -53,13 +38,12 @@ can exceed 100. A weight expresses a tradeoff, not a hard acceptance limit.
53
 
54
  The DC threshold is the unique output=0.6 V crossing, not a scan endpoint. Delay is the worse input 50% to opposite output 50% delay. Transition is the worse output 10–90% rise or 90–10% fall. Guards reject missing or multiple DC/transition crossings; independent audits require the intended 10–15 ns and 20–25 ns windows and correct ordering. DC high/low output uses actual endpoint samples, with a minimum 0.6 V swing establishing a meaningful logic transition. This is nominal loaded characterization, not Liberty/PVT or ADC accuracy.
55
 
56
- Static output bounds are physical rail-domain checks, nonnegative power/error bounds establish measurement domains, and KCL guards reject inconsistent DC solutions. All required conditions must be valid. No advertised upstream performance is a hard gate. The metric table specifies each target scale and normalization floor. Floors prevent zero-error ratios; scales and floors are normalization units, not acceptance tolerances.
57
 
58
- For each metric take the worst same-condition source-paired quality. Target quality is `1/(1+abs(candidate-source)/scale)`; minimizing ratio quality is `(source+scale)/(candidate+scale)`. Missing/nonfinite/invalid source or candidate measurements and tool failures yield an unknown score; completed physical/functional rejection yields zero. Bounds apply to every observation.
59
 
60
  Compact area anchor: 120 um2 = 20 um2 NMOS contact envelope + 30 um2 PMOS/well envelope + 20 um2 body-contact/isolation allowance + 50 um2 routing. These envelopes follow the fixed widths and contact/isolation needs, not the witness bounding box. Coefficient 1: a single logic stage with loaded transitions and connectivity. The circuit and these anchors are fixed before participant evaluation.
61
 
62
-
63
  ### Score weights
64
 
65
  Inverter threshold element: switching threshold 25.5%; delay 34%; transition 12.8%; power 12.8%; area 15%. Each objective's weight is divided equally among its metrics.
@@ -76,4 +60,4 @@ Inverter threshold element: switching threshold 25.5%; delay 34%; transition 12.
76
 
77
  Solve budget: **6 hours**.
78
 
79
- Use the runtime task/protocol and reviewed resource bundle to discover tools and feedback. Submit `/workspace/output/final.gds` explicitly through the protocol; merely writing it is not a submission. The reference and maintainer source records are excluded from solver inputs.
 
18
 
19
  ## Electrical Requirements and Scoring
20
 
21
+ 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.
22
+
23
+ Let x be the post-layout measurement and b the source-circuit measurement under the same conditions:
24
+
25
+ - Ratio normalization: maximize with q = x/b and minimize with q = b/x. When a numerical scale s is declared, use (x+s)/(b+s) and its reciprocal, respectively. The scale handles zero values as a normalization floor; it is neither an allowed degradation nor an acceptance bound.
26
+ - Amplitude in dB: maximize with q = 10^((x-b)/20) and minimize with its reciprocal.
27
+ - Target normalization: q = 1/(1+abs(x-b)/s), where s is the declared physical scale. Signed or zero-valued operating points are not divided directly.
28
+
29
+ Use `layout` scoring. Each metric takes its worst paired quality q, and the total score is S = 100 * product(q_i ** w_i), with area quality q_area = area_reference / candidate_functional_area. The weights below sum to 1; metric dimensions describe measurements and do not determine weights. Physical or functional rejection scores zero; missing or invalid measurements leave the score unknown, and zero-weight observations must also be valid. Matching source-circuit performance at the reference area scores 100 points; better valid solutions may exceed 100. Weights express quality tradeoffs rather than hard bounds.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
 
31
  | Metric | Unit | Definition | Bound | Quality |
32
  | --- | --- | --- | --- | --- |
 
38
 
39
  The DC threshold is the unique output=0.6 V crossing, not a scan endpoint. Delay is the worse input 50% to opposite output 50% delay. Transition is the worse output 10–90% rise or 90–10% fall. Guards reject missing or multiple DC/transition crossings; independent audits require the intended 10–15 ns and 20–25 ns windows and correct ordering. DC high/low output uses actual endpoint samples, with a minimum 0.6 V swing establishing a meaningful logic transition. This is nominal loaded characterization, not Liberty/PVT or ADC accuracy.
40
 
41
+ Static output bounds check the corresponding supply domain; nonnegative power/error conditions define the measurement domain; KCL checks reject inconsistent DC solutions. Every condition must be valid; upstream advertised performance is not a hard threshold. The metric table declares target scales and normalization floors; floors handle zero-error ratios, and neither scales nor floors are acceptance tolerances.
42
 
43
+ Each metric uses the worst source-paired quality over matching conditions. Target quality is `1/(1+abs(candidate-source)/scale)`, and minimizing ratio quality is `(source+scale)/(candidate+scale)`. Missing, nonfinite or invalid source/candidate measurements and tool failures make the score unknown; confirmed physical/functional rejection scores zero. Gates apply separately to every observation.
44
 
45
  Compact area anchor: 120 um2 = 20 um2 NMOS contact envelope + 30 um2 PMOS/well envelope + 20 um2 body-contact/isolation allowance + 50 um2 routing. These envelopes follow the fixed widths and contact/isolation needs, not the witness bounding box. Coefficient 1: a single logic stage with loaded transitions and connectivity. The circuit and these anchors are fixed before participant evaluation.
46
 
 
47
  ### Score weights
48
 
49
  Inverter threshold element: switching threshold 25.5%; delay 34%; transition 12.8%; power 12.8%; area 15%. Each objective's weight is divided equally among its metrics.
 
60
 
61
  Solve budget: **6 hours**.
62
 
63
+ Discover tools and feedback through the runtime task, protocol and reviewed resource bundle. Explicitly submit `/workspace/output/final.gds` through the protocol; writing a file alone does not submit it. Reference assets and maintainer source records are not solver inputs.
tasks/ihp-sg13g2/analog-db/cases/amp_001_5t/case.toml CHANGED
@@ -1,15 +1,15 @@
1
- in_core = false
2
  kind = "layout_case"
3
  id = "ihp-sg13g2.analog-db.amp_001_5t"
4
  title = "Five-Transistor OTA Core with Bias Mirror"
5
  status = "qualified"
 
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
- sha256 = "800b203d54fc6c904b885bb5d631d5ec235c17853708d454804c437846318e7d"
13
 
14
  [[assets]]
15
  path = "reference/amp_001_5t.gds"
@@ -28,13 +28,13 @@ environment = "ihp-sg13g2-analog-db-ota-rc-tt"
28
  [task.inputs.description]
29
  path = "problem.md"
30
  format = "text"
31
- sha256 = "7b9c7dd3c5f0ef19f55d3a9a7b9d18042f0ca74940ae76b01ee0c59e348df4ea"
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
35
  format = "spice"
36
- sha256 = "55016e668fdcbc3087c98af6d92f196225fd586da3a9a8e049200fd0419c119f"
37
  subcircuit = "amp_001_5t"
 
38
 
39
  [task.inputs.simulation]
40
  path = "materials/circuit.spice"
@@ -44,7 +44,7 @@ sha256 = "08afdd756d9a1bb7409ddee1ef5a525ec1a0f0261eda6a49db150c1618cb853c"
44
  [task.inputs.performance]
45
  path = "materials/testbench.spice"
46
  format = "spice"
47
- sha256 = "025c2e754a449b286cdb4b9487ae81c08d0cb2375b0ccb644e522f1720350c5b"
48
 
49
  [task.constraints]
50
  quality = [
@@ -404,7 +404,10 @@ baseline = [
404
  "source_nominal:unity_gain_bandwidth",
405
  ]
406
  normalization = "ratio"
 
 
407
  lower = 0
 
408
 
409
  [[task.evaluation.metrics]]
410
  id = "phase_margin"
@@ -421,8 +424,11 @@ baseline = [
421
  ]
422
  normalization = "target"
423
  scale = 180
 
 
424
  lower = 0
425
  upper = 180
 
426
 
427
  [[task.evaluation.metrics]]
428
  id = "output_bias"
@@ -439,8 +445,11 @@ baseline = [
439
  ]
440
  normalization = "target"
441
  scale = 1.5
 
 
442
  lower = 0
443
  upper = 1.5
 
444
 
445
  [[task.evaluation.metrics]]
446
  id = "bias_voltage"
@@ -457,8 +466,11 @@ baseline = [
457
  ]
458
  normalization = "target"
459
  scale = 1.5
 
 
460
  lower = 0
461
  upper = 1.5
 
462
 
463
  [[task.evaluation.metrics]]
464
  id = "supply_power"
@@ -474,14 +486,17 @@ baseline = [
474
  "source_nominal:supply_power",
475
  ]
476
  normalization = "ratio"
477
- lower = 0
478
  scale = 1e-12
479
 
 
 
 
 
480
  [task.evaluation.pre_layout]
481
- source_report_sha256 = "21eaa5a7e7fe46d4c3b669b3bf39685429a713f9d65cab336b463c8acb1077e4"
482
 
483
  [task.evaluation.pre_layout.backends]
484
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"ef9cb87fa27b849376472663b7362673979b89e012f161ba47bb5f6af6ede8eb\", \"compatibility\": null, \"execution_sha256\": \"5424b579002782bfddf0a729715b8fbf2a5f7f2b4cf14982d7616e352d5de9be\", \"image_id\": \"sha256:6562558774d43c085a289bbba696c55959eb8051a0996f96633451fbeb9c652d\", \"limits\": {\"cpus\": 4, \"memory_mb\": 4096, \"pids\": 256}, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"5c08f72e97102ca6b0061884b62f431130e119234364146718f1fbb2a5eeaefb\", \"timeout_seconds\": 600.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******\"}"
485
 
486
  [task.evaluation.pre_layout.jobs.source_nominal]
487
  operation = "circuit.simulate"
@@ -507,7 +522,7 @@ op = "ota-op.raw"
507
  ac = "ota-ac.raw"
508
 
509
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
510
- deck = "025c2e754a449b286cdb4b9487ae81c08d0cb2375b0ccb644e522f1720350c5b"
511
  dut = "08afdd756d9a1bb7409ddee1ef5a525ec1a0f0261eda6a49db150c1618cb853c"
512
 
513
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.bias_voltage]
@@ -534,6 +549,10 @@ unit = "W"
534
  value = 1211382.0
535
  unit = "Hz"
536
 
 
 
 
 
537
  [toolchain.bindings]
538
  "layout.artifact" = "artifact"
539
  "layout.drc" = "drc"
@@ -546,7 +565,7 @@ unit = "Hz"
546
  type = "klayout-docker"
547
 
548
  [toolchain.backends.artifact.settings]
549
- image = "iclayout-bench-tools:local"
550
  check = "artifact"
551
  timeout_seconds = 600
552
 
@@ -557,7 +576,7 @@ type = "klayout-docker"
557
  support = "klayout"
558
 
559
  [toolchain.backends.drc.settings]
560
- image = "iclayout-bench-tools:local"
561
  check = "drc"
562
  support = "build/support/analog-db-klayout"
563
  profile = "drc-upstream.json"
@@ -570,7 +589,7 @@ type = "klayout-docker"
570
  support = "klayout"
571
 
572
  [toolchain.backends.lvs.settings]
573
- image = "iclayout-bench-tools:local"
574
  check = "lvs"
575
  support = "build/support/analog-db-klayout"
576
  profile = "lvs-upstream.json"
@@ -583,7 +602,7 @@ type = "magic-rc-docker"
583
  support = "magic"
584
 
585
  [toolchain.backends.rc.settings]
586
- image = "iclayout-bench-tools:local"
587
  support = "build/support/analog-db-magic"
588
  technology = "magic/ihp-sg13g2.tech"
589
  tech_name = "ihp-sg13g2"
@@ -595,7 +614,7 @@ timeout_seconds = 600
595
  type = "klayout-geometry-docker"
596
 
597
  [toolchain.backends.geometry.settings]
598
- image = "iclayout-bench-tools:local"
599
  timeout_seconds = 120
600
 
601
  [toolchain.backends.simulation]
@@ -605,7 +624,10 @@ type = "ngspice-docker"
605
  support = "analog-models"
606
 
607
  [toolchain.backends.simulation.settings]
608
- image = "iclayout-bench-tools:local"
 
 
 
609
  support = "build/support/analog-db-analog-models"
610
  timeout_seconds = 600
611
 
 
 
1
  kind = "layout_case"
2
  id = "ihp-sg13g2.analog-db.amp_001_5t"
3
  title = "Five-Transistor OTA Core with Bias Mirror"
4
  status = "qualified"
5
+ in_core = false
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
+ sha256 = "c0bc0afe7c4392b11e3b1836cae47240e81826274c39c7d59ee00f9eb73a87c3"
13
 
14
  [[assets]]
15
  path = "reference/amp_001_5t.gds"
 
28
  [task.inputs.description]
29
  path = "problem.md"
30
  format = "text"
31
+ sha256 = "c2c99ac9c03e4a8d2a7271d9d3b40b607a0c847b8950f7122a684cc1597d3194"
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
35
  format = "spice"
 
36
  subcircuit = "amp_001_5t"
37
+ sha256 = "55016e668fdcbc3087c98af6d92f196225fd586da3a9a8e049200fd0419c119f"
38
 
39
  [task.inputs.simulation]
40
  path = "materials/circuit.spice"
 
44
  [task.inputs.performance]
45
  path = "materials/testbench.spice"
46
  format = "spice"
47
+ sha256 = "b661d0d87ce39aac3222d2378bf1e8353f985f6aac729965e318d99882f92a19"
48
 
49
  [task.constraints]
50
  quality = [
 
404
  "source_nominal:unity_gain_bandwidth",
405
  ]
406
  normalization = "ratio"
407
+
408
+ [task.evaluation.metrics.requirement]
409
  lower = 0
410
+ rationale = "The observed frequency or ordered-event interval has a nonnegative measurement domain, and its required crossing must exist for a usable observation."
411
 
412
  [[task.evaluation.metrics]]
413
  id = "phase_margin"
 
424
  ]
425
  normalization = "target"
426
  scale = 180
427
+
428
+ [task.evaluation.metrics.requirement]
429
  lower = 0
430
  upper = 180
431
+ rationale = "The declared negative-feedback loop must stay on the measured 0 to 180 degree stable-feedback branch at the required unity crossing; the amount of positive phase margin remains a scored objective."
432
 
433
  [[task.evaluation.metrics]]
434
  id = "output_bias"
 
445
  ]
446
  normalization = "target"
447
  scale = 1.5
448
+
449
+ [task.evaluation.metrics.requirement]
450
  lower = 0
451
  upper = 1.5
452
+ rationale = "The declared node voltage or voltage span must remain within its ground-to-supply operating envelope; precision relative to the source remains a scored objective."
453
 
454
  [[task.evaluation.metrics]]
455
  id = "bias_voltage"
 
466
  ]
467
  normalization = "target"
468
  scale = 1.5
469
+
470
+ [task.evaluation.metrics.requirement]
471
  lower = 0
472
  upper = 1.5
473
+ rationale = "The declared node voltage or voltage span must remain within its ground-to-supply operating envelope; precision relative to the source remains a scored objective."
474
 
475
  [[task.evaluation.metrics]]
476
  id = "supply_power"
 
486
  "source_nominal:supply_power",
487
  ]
488
  normalization = "ratio"
 
489
  scale = 1e-12
490
 
491
+ [task.evaluation.metrics.requirement]
492
+ lower = 0
493
+ rationale = "The declared powered circuit or driven switching network must consume nonnegative net supply/driver energy or quiescent current under the complete stated observation."
494
+
495
  [task.evaluation.pre_layout]
496
+ source_report_sha256 = "f6c01532c6ccb4619cbbb946b1b3d47c60d10ac5cecdb10269b087d38510cc19"
497
 
498
  [task.evaluation.pre_layout.backends]
499
+ "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\": \"dce84f0cb44c7192511c807348bb3852682b1b4ec71ee94055876cb79ccbbdb1\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 600.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******\"}"
500
 
501
  [task.evaluation.pre_layout.jobs.source_nominal]
502
  operation = "circuit.simulate"
 
522
  ac = "ota-ac.raw"
523
 
524
  [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
525
+ deck = "b661d0d87ce39aac3222d2378bf1e8353f985f6aac729965e318d99882f92a19"
526
  dut = "08afdd756d9a1bb7409ddee1ef5a525ec1a0f0261eda6a49db150c1618cb853c"
527
 
528
  [task.evaluation.pre_layout.jobs.source_nominal.measurements.bias_voltage]
 
549
  value = 1211382.0
550
  unit = "Hz"
551
 
552
+ [task.evaluation.pre_layout.jobs.source_nominal.output_sha256]
553
+ op = "14d323115c6673ed2d976e5136664f425e3db124dd99d6c50fe7cc0ffe3ec6ef"
554
+ ac = "072fc4ed3bbeccdc8d5ffa92ec56199d5dd6fc1f6270576aa70ca1a7197319b4"
555
+
556
  [toolchain.bindings]
557
  "layout.artifact" = "artifact"
558
  "layout.drc" = "drc"
 
565
  type = "klayout-docker"
566
 
567
  [toolchain.backends.artifact.settings]
568
+ image = "iclayout-eda-open:local"
569
  check = "artifact"
570
  timeout_seconds = 600
571
 
 
576
  support = "klayout"
577
 
578
  [toolchain.backends.drc.settings]
579
+ image = "iclayout-eda-open:local"
580
  check = "drc"
581
  support = "build/support/analog-db-klayout"
582
  profile = "drc-upstream.json"
 
589
  support = "klayout"
590
 
591
  [toolchain.backends.lvs.settings]
592
+ image = "iclayout-eda-open:local"
593
  check = "lvs"
594
  support = "build/support/analog-db-klayout"
595
  profile = "lvs-upstream.json"
 
602
  support = "magic"
603
 
604
  [toolchain.backends.rc.settings]
605
+ image = "iclayout-eda-open:local"
606
  support = "build/support/analog-db-magic"
607
  technology = "magic/ihp-sg13g2.tech"
608
  tech_name = "ihp-sg13g2"
 
614
  type = "klayout-geometry-docker"
615
 
616
  [toolchain.backends.geometry.settings]
617
+ image = "iclayout-eda-open:local"
618
  timeout_seconds = 120
619
 
620
  [toolchain.backends.simulation]
 
624
  support = "analog-models"
625
 
626
  [toolchain.backends.simulation.settings]
627
+ max_parallel_jobs = 8
628
+ threads = 1
629
+ cpu_budget = 8
630
+ image = "iclayout-eda-open:local"
631
  support = "build/support/analog-db-analog-models"
632
  timeout_seconds = 600
633
 
tasks/ihp-sg13g2/analog-db/cases/amp_001_5t/materials/schematic.svg CHANGED
tasks/ihp-sg13g2/analog-db/cases/amp_001_5t/materials/testbench.spice CHANGED
@@ -21,6 +21,7 @@ let bias_voltage = v(ibias)
21
  let supply_power = -v(vdd)*i(VDD)
22
  print output_bias bias_voltage supply_power
23
  write ota-op.raw all
 
24
  ac dec 100 1 100meg
25
  let transfer = v(vout)/(v(vinp)-v(vinn))
26
  let gain_db = db(transfer)
 
21
  let supply_power = -v(vdd)*i(VDD)
22
  print output_bias bias_voltage supply_power
23
  write ota-op.raw all
24
+ save i(vdd) v(ibias) v(vdd) v(vinn) v(vinp) v(vout)
25
  ac dec 100 1 100meg
26
  let transfer = v(vout)/(v(vinp)-v(vinn))
27
  let gain_db = db(transfer)
tasks/ihp-sg13g2/analog-db/cases/amp_001_5t/problem.md CHANGED
@@ -55,43 +55,19 @@ PVT, noise, distortion, transient settling, EM or manufacturing signoff.
55
 
56
  ## Electrical Requirements and Scoring
57
 
58
- Physical checks and declared functional bounds remain mandatory. Quality has no
59
- fixed allowed-degradation threshold. Each `source_*` job simulates the declared
60
- source circuit with exactly the same testbench, model resources, parameters,
61
- load and measurement window as its paired extracted-candidate job. A source
62
- observation is the 100-point electrical baseline; it is independent of the
63
- submitted GDS. All individual pairs are retained in the evaluation report.
64
-
65
- For a post-layout observation x and its source observation b:
66
-
67
- - Maximize: q = x/b; minimize: q = b/x. When a numerical scale s is declared,
68
- use (x+s)/(b+s) or its inverse. This handles zero-valued error measurements;
69
- s is a normalization floor, not an allowed degradation or pass threshold.
70
- - Amplitude dB: q = 10^((x-b)/20) for maximize, its inverse for minimize.
71
- - Target: q = 1/(1+abs(x-b)/s), with a declared physical scale s. Signed and
72
- zero-valued operating points are never divided directly.
73
-
74
- Scoring uses `layout`. A metric uses its worst paired quality q. The score is
75
- S = 100 * product(q_i ** w_i), including area quality
76
- q_area = area_reference / candidate_functional_area. The weights below sum to
77
- one. Dimensions describe measurements but do not determine their weights.
78
- Physical or functional rejection scores zero; missing or invalid measurements
79
- produce an unknown score, including measurements with zero weight.
80
- Source-equivalent performance at the area reference scores 100; improvements
81
- can exceed 100. A weight expresses a tradeoff, not a hard acceptance limit.
82
-
83
- Measurement definitions below use the supplied SPICE node/source names.
84
- `v(n)` is node voltage and `i(V)` is current into a voltage source; delivered
85
- power therefore uses a minus sign. `db(z)=20*log10(abs(z))`, `mag/abs`
86
- denote magnitude, and `cph` is continuous phase in radians. `find`, `when`,
87
- `from/to`, and `rise/fall` retain the deck's interpolation, window and
88
- crossing conventions; SPICE suffixes p/n/u/m/meg/g mean pico/nano/micro/
89
- milli/mega/giga. Nested `avg`, `min`, `max`, `vecmin/vecmax` and `deriv`
90
- mean the stated window average, extrema and sampled derivative. All
91
- declared conditions are measured separately and paired with the same
92
- source condition; a group uses its worst paired quality.
93
-
94
- | Metric | Definition / observations | Unit | Quality rule | Functional bounds | Scale | Dimension |
95
  | --- | --- | --- | --- | --- | --- | --- |
96
  | `low_frequency_gain` | AC: Value of `(db((v(vout)/(v(vinp)-v(vinn))))) at=1`. | dB | maximize / db20 | −∞ … +∞ | — | response |
97
  | `unity_gain_bandwidth` | AC: Crossing coordinate where `(db((v(vout)/(v(vinp)-v(vinn)))))=0 fall=1`. | Hz | maximize / ratio | 0 … +∞ | — | response |
@@ -100,15 +76,13 @@ source condition; a group uses its worst paired quality.
100
  | `bias_voltage` | DC operating point: `v(ibias)`. | V | target / target | 0 … 1.5 | 1.5 | bias |
101
  | `supply_power` | DC operating point: `-v(vdd)*i(VDD)`. | W | minimize / ratio | 0 … +∞ | 1e-12 | supply |
102
 
103
- Area reference: **1198.35 um2**. 8 expanded device instances; sum of device/contact envelopes 754.0020 um2, per-side envelope allowance 0.6 um, 50% routing allowance and total outer width/height allowance 1.2 um. Estimate = ceil(100 * (1.5 * envelope_sum + 2 * margin * sqrt(envelope_sum) + margin^2)) / 100. Here margin is the total allowance across two opposite sides; the envelope sum is displayed rounded to four decimals. MOS/passive envelopes use declared W/L (or resistor dimensions) and multiplicity; explicit tap areas and HBT emitter/contact envelopes are included. This is a frozen engineering estimate, not a foundry minimum or a feasibility claim.
104
-
105
- The capability coefficient remains **4**; it is independent of
106
- the reference-relative task score.
107
 
 
108
 
109
  ### Score weights
110
 
111
- Small-signal OTAs: gain 27%; bandwidth 22.5%; phase margin 22.5%; operating points 4.5%; power 13.5%; area 10%. Each objective's weight is divided equally among its metrics.
112
 
113
  | Metric | Weight |
114
  | --- | ---: |
 
55
 
56
  ## Electrical Requirements and Scoring
57
 
58
+ 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.
59
+
60
+ Let x be the post-layout measurement and b the source-circuit measurement under the same conditions:
61
+
62
+ - Ratio normalization: maximize with q = x/b and minimize with q = b/x. When a numerical scale s is declared, use (x+s)/(b+s) and its reciprocal, respectively. The scale handles zero values as a normalization floor; it is neither an allowed degradation nor an acceptance bound.
63
+ - Amplitude in dB: maximize with q = 10^((x-b)/20) and minimize with its reciprocal.
64
+ - Target normalization: q = 1/(1+abs(x-b)/s), where s is the declared physical scale. Signed or zero-valued operating points are not divided directly.
65
+
66
+ Use `layout` scoring. Each metric takes its worst paired quality q, and the total score is S = 100 * product(q_i ** w_i), with area quality q_area = area_reference / candidate_functional_area. The weights below sum to 1; metric dimensions describe measurements and do not determine weights. Physical or functional rejection scores zero; missing or invalid measurements leave the score unknown, and zero-weight observations must also be valid. Matching source-circuit performance at the reference area scores 100 points; better valid solutions may exceed 100. Weights express quality tradeoffs rather than hard bounds.
67
+
68
+ The measurements below use the supplied SPICE node and source names. `v(n)` is a node voltage; `i(V)` is current flowing into a voltage source, so delivered power uses a negative sign. `db(z)=20*log10(abs(z))`; `mag/abs` denote magnitude, and `cph` denotes continuous phase in radians. `find`, `when`, `from/to` and `rise/fall` follow the deck's interpolation, window and crossing conventions. SPICE suffixes p/n/u/m/meg/g mean pico/nano/micro/milli/mega/giga. Nested `avg`, `min`, `max`, `vecmin/vecmax` and `deriv` represent window averages, extrema and sampled derivatives. Measure each operating condition independently, pair it with the source result under that condition, and take the worst paired quality within each metric group.
69
+
70
+ | Metric | Definition / observation | Unit | Quality normalization | Functional range | Scale | Dimension |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  | --- | --- | --- | --- | --- | --- | --- |
72
  | `low_frequency_gain` | AC: Value of `(db((v(vout)/(v(vinp)-v(vinn))))) at=1`. | dB | maximize / db20 | −∞ … +∞ | — | response |
73
  | `unity_gain_bandwidth` | AC: Crossing coordinate where `(db((v(vout)/(v(vinp)-v(vinn)))))=0 fall=1`. | Hz | maximize / ratio | 0 … +∞ | — | response |
 
76
  | `bias_voltage` | DC operating point: `v(ibias)`. | V | target / target | 0 … 1.5 | 1.5 | bias |
77
  | `supply_power` | DC operating point: `-v(vdd)*i(VDD)`. | W | minimize / ratio | 0 … +∞ | 1e-12 | supply |
78
 
79
+ Area reference: **1198.35 um2**. The expanded circuit has 8 device instances, a sum of device/contact envelopes 754.0020 um2, a one-sided envelope margin of 0.6 um, a routing allowance of 50%, and a total outer width/height allowance 1.2 um. Estimate = ceil(100 * (1.5 * envelope_sum + 2 * margin * sqrt(envelope_sum) + margin^2)) / 100. Here margin is the total allowance across both sides, and the envelope sum is displayed to four decimal places. MOS/passive envelopes use W/L (or resistor dimensions) and multiplicity, including explicit contacts and HBT emitter/contact envelopes. This is a frozen engineering estimate, not a process minimum or a proven achievable area.
 
 
 
80
 
81
+ The capability coefficient is **4**, independent of this task's reference-normalized score.
82
 
83
  ### Score weights
84
 
85
+ Small-signal OTAs: gain 27%, bandwidth 22.5%, phase margin 22.5%, operating points 4.5%, power 13.5%, area 10%. Each objective's weight is divided equally among its metrics.
86
 
87
  | Metric | Weight |
88
  | --- | ---: |
tasks/ihp-sg13g2/analog-db/cases/amp_002_alfio_raffc/case.toml CHANGED
@@ -1,15 +1,15 @@
1
- in_core = false
2
  kind = "layout_case"
3
  id = "ihp-sg13g2.analog-db.amp_002_alfio_raffc"
4
  title = "Current-Buffer and Active-Feedforward OTA"
5
  status = "qualified"
 
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
- sha256 = "f0fd720849c6e636d0512d3866bf2dd20a72572547fb8228d44bef62cd8225c2"
13
 
14
  [[assets]]
15
  path = "reference/amp_002_alfio_raffc.gds"
@@ -28,18 +28,18 @@ environment = "ihp-sg13g2-amp_002_alfio_raffc-nominal-rc"
28
  [task.inputs.description]
29
  path = "problem.md"
30
  format = "text"
31
- sha256 = "6145ab39c56eddbedf31f06adcc32dec8468eebdc215eaf70974f47a50026e64"
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
35
  format = "spice"
36
- sha256 = "da8813082f4c6fb73b07d677efa730e1f1c250c9ebd438233f3f725346ac88f9"
37
  subcircuit = "amp_002_alfio_raffc"
 
38
 
39
  [task.inputs.performance]
40
  path = "materials/testbench.spice"
41
  format = "spice"
42
- sha256 = "736eb30bb88a695ddefced6b9b40651955709b5e0a1b16f76c345db9a9095a49"
43
 
44
  [task.inputs.simulation]
45
  path = "materials/circuit.spice"
@@ -483,8 +483,11 @@ baseline = [
483
  ]
484
  normalization = "target"
485
  scale = 1.2
 
 
486
  lower = 0
487
  upper = 1.2
 
488
 
489
  [[task.evaluation.metrics]]
490
  id = "bias_v"
@@ -505,8 +508,11 @@ baseline = [
505
  ]
506
  normalization = "target"
507
  scale = 1.2
 
 
508
  lower = 0
509
  upper = 1.2
 
510
 
511
  [[task.evaluation.metrics]]
512
  id = "power_w"
@@ -526,9 +532,12 @@ baseline = [
526
  "source_condition_2:power_w",
527
  ]
528
  normalization = "ratio"
529
- lower = 0
530
  scale = 1e-12
531
 
 
 
 
 
532
  [[task.evaluation.metrics]]
533
  id = "dc_gain_db"
534
  category = "performance"
@@ -566,7 +575,10 @@ baseline = [
566
  "source_condition_2:unity_hz",
567
  ]
568
  normalization = "ratio"
 
 
569
  lower = 0
 
570
 
571
  [[task.evaluation.metrics]]
572
  id = "phase_margin_deg"
@@ -587,8 +599,11 @@ baseline = [
587
  ]
588
  normalization = "target"
589
  scale = 180
 
 
590
  lower = 0
591
  upper = 180
 
592
 
593
  [[task.evaluation.metrics]]
594
  id = "recovery_up_v"
@@ -607,10 +622,13 @@ baseline = [
607
  "source_condition_1:recovery_up_v",
608
  "source_condition_2:recovery_up_v",
609
  ]
610
- normalization = "ratio"
611
- lower = 0
612
  scale = 1e-06
613
 
 
 
 
 
614
  [[task.evaluation.metrics]]
615
  id = "recovery_down_v"
616
  category = "performance"
@@ -628,10 +646,13 @@ baseline = [
628
  "source_condition_1:recovery_down_v",
629
  "source_condition_2:recovery_down_v",
630
  ]
631
- normalization = "ratio"
632
- lower = 0
633
  scale = 1e-06
634
 
 
 
 
 
635
  [[task.evaluation.metrics]]
636
  id = "step_gain"
637
  category = "performance"
@@ -670,9 +691,12 @@ baseline = [
670
  "source_condition_2:mean_power_w",
671
  ]
672
  normalization = "ratio"
673
- lower = 0
674
  scale = 1e-12
675
 
 
 
 
 
676
  [[task.evaluation.metrics]]
677
  id = "peak_v"
678
  category = "performance"
@@ -692,8 +716,11 @@ baseline = [
692
  ]
693
  normalization = "target"
694
  scale = 1.2
 
 
695
  lower = 0
696
  upper = 1.2
 
697
 
698
  [[task.evaluation.metrics]]
699
  id = "trough_v"
@@ -714,14 +741,17 @@ baseline = [
714
  ]
715
  normalization = "target"
716
  scale = 1.2
 
 
717
  lower = 0
718
  upper = 1.2
 
719
 
720
  [task.evaluation.pre_layout]
721
- source_report_sha256 = "8f642ed35e2d4df18b0a38307b75ca6865c3cd30d9340d2149f39d3e6a25f15c"
722
 
723
  [task.evaluation.pre_layout.backends]
724
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"ef9cb87fa27b849376472663b7362673979b89e012f161ba47bb5f6af6ede8eb\", \"compatibility\": null, \"execution_sha256\": \"5424b579002782bfddf0a729715b8fbf2a5f7f2b4cf14982d7616e352d5de9be\", \"image_id\": \"sha256:6562558774d43c085a289bbba696c55959eb8051a0996f96633451fbeb9c652d\", \"limits\": {\"cpus\": 4, \"memory_mb\": 4096, \"pids\": 256}, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"53371acbaa4d0ffa73dda7ad2e19190df1f6993be92a6fc17d97a1adc578e7ea\", \"timeout_seconds\": 600.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******\"}"
725
 
726
  [task.evaluation.pre_layout.jobs.source_condition_0]
727
  operation = "circuit.simulate"
@@ -758,7 +788,7 @@ ac = "ac.raw"
758
  transient = "transient.raw"
759
 
760
  [task.evaluation.pre_layout.jobs.source_condition_0.input_sha256]
761
- deck = "736eb30bb88a695ddefced6b9b40651955709b5e0a1b16f76c345db9a9095a49"
762
  dut = "101a8960de9230e887bc5e29cc5bb91b87749f88793a888baaa41529051c6469"
763
 
764
  [task.evaluation.pre_layout.jobs.source_condition_0.measurements.bias_v]
@@ -809,6 +839,11 @@ unit = "V"
809
  value = 1884332.0
810
  unit = "Hz"
811
 
 
 
 
 
 
812
  [task.evaluation.pre_layout.jobs.source_condition_1]
813
  operation = "circuit.simulate"
814
 
@@ -844,7 +879,7 @@ ac = "ac.raw"
844
  transient = "transient.raw"
845
 
846
  [task.evaluation.pre_layout.jobs.source_condition_1.input_sha256]
847
- deck = "736eb30bb88a695ddefced6b9b40651955709b5e0a1b16f76c345db9a9095a49"
848
  dut = "101a8960de9230e887bc5e29cc5bb91b87749f88793a888baaa41529051c6469"
849
 
850
  [task.evaluation.pre_layout.jobs.source_condition_1.measurements.bias_v]
@@ -895,6 +930,11 @@ unit = "V"
895
  value = 1894771.0
896
  unit = "Hz"
897
 
 
 
 
 
 
898
  [task.evaluation.pre_layout.jobs.source_condition_2]
899
  operation = "circuit.simulate"
900
 
@@ -930,7 +970,7 @@ ac = "ac.raw"
930
  transient = "transient.raw"
931
 
932
  [task.evaluation.pre_layout.jobs.source_condition_2.input_sha256]
933
- deck = "736eb30bb88a695ddefced6b9b40651955709b5e0a1b16f76c345db9a9095a49"
934
  dut = "101a8960de9230e887bc5e29cc5bb91b87749f88793a888baaa41529051c6469"
935
 
936
  [task.evaluation.pre_layout.jobs.source_condition_2.measurements.bias_v]
@@ -981,6 +1021,11 @@ unit = "V"
981
  value = 1910778.0
982
  unit = "Hz"
983
 
 
 
 
 
 
984
  [toolchain.bindings]
985
  "layout.artifact" = "artifact"
986
  "layout.drc" = "drc"
@@ -993,7 +1038,7 @@ unit = "Hz"
993
  type = "klayout-docker"
994
 
995
  [toolchain.backends.artifact.settings]
996
- image = "iclayout-bench-tools:local"
997
  check = "artifact"
998
  timeout_seconds = 600
999
 
@@ -1004,7 +1049,7 @@ type = "klayout-docker"
1004
  support = "klayout"
1005
 
1006
  [toolchain.backends.drc.settings]
1007
- image = "iclayout-bench-tools:local"
1008
  check = "drc"
1009
  support = "build/support/input-pair-klayout"
1010
  profile = "drc-upstream.json"
@@ -1017,7 +1062,7 @@ type = "klayout-docker"
1017
  support = "klayout"
1018
 
1019
  [toolchain.backends.lvs.settings]
1020
- image = "iclayout-bench-tools:local"
1021
  check = "lvs"
1022
  support = "build/support/input-pair-klayout"
1023
  profile = "lvs-upstream.json"
@@ -1030,7 +1075,7 @@ type = "magic-rc-docker"
1030
  support = "magic"
1031
 
1032
  [toolchain.backends.rc.settings]
1033
- image = "iclayout-bench-tools:local"
1034
  support = "build/support/input-pair-magic"
1035
  technology = "magic/ihp-sg13g2.tech"
1036
  tech_name = "ihp-sg13g2"
@@ -1044,7 +1089,7 @@ grid_subdivision = 2
1044
  type = "klayout-geometry-docker"
1045
 
1046
  [toolchain.backends.geometry.settings]
1047
- image = "iclayout-bench-tools:local"
1048
  timeout_seconds = 120
1049
 
1050
  [toolchain.backends.simulation]
@@ -1054,7 +1099,10 @@ type = "ngspice-docker"
1054
  support = "analog-res-models"
1055
 
1056
  [toolchain.backends.simulation.settings]
1057
- image = "iclayout-bench-tools:local"
 
 
 
1058
  support = "build/support/analog-res-models"
1059
  timeout_seconds = 600
1060
 
 
 
1
  kind = "layout_case"
2
  id = "ihp-sg13g2.analog-db.amp_002_alfio_raffc"
3
  title = "Current-Buffer and Active-Feedforward OTA"
4
  status = "qualified"
5
+ in_core = false
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
+ sha256 = "5b5d6437261a850f444341f917763ee4e626f0ca646d906169d2a6ff91b7bde6"
13
 
14
  [[assets]]
15
  path = "reference/amp_002_alfio_raffc.gds"
 
28
  [task.inputs.description]
29
  path = "problem.md"
30
  format = "text"
31
+ sha256 = "5a979111556195b899d02be1bac3aa2a7250038a526019e05717343558130580"
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
35
  format = "spice"
 
36
  subcircuit = "amp_002_alfio_raffc"
37
+ sha256 = "da8813082f4c6fb73b07d677efa730e1f1c250c9ebd438233f3f725346ac88f9"
38
 
39
  [task.inputs.performance]
40
  path = "materials/testbench.spice"
41
  format = "spice"
42
+ sha256 = "5d1f948c2dd4a670cdfe512beb0fc0902c9bc1fd02f56a1d8e8d62bbc8d7d0fe"
43
 
44
  [task.inputs.simulation]
45
  path = "materials/circuit.spice"
 
483
  ]
484
  normalization = "target"
485
  scale = 1.2
486
+
487
+ [task.evaluation.metrics.requirement]
488
  lower = 0
489
  upper = 1.2
490
+ rationale = "The declared node voltage or voltage span must remain within its ground-to-supply operating envelope; precision relative to the source remains a scored objective."
491
 
492
  [[task.evaluation.metrics]]
493
  id = "bias_v"
 
508
  ]
509
  normalization = "target"
510
  scale = 1.2
511
+
512
+ [task.evaluation.metrics.requirement]
513
  lower = 0
514
  upper = 1.2
515
+ rationale = "The declared node voltage or voltage span must remain within its ground-to-supply operating envelope; precision relative to the source remains a scored objective."
516
 
517
  [[task.evaluation.metrics]]
518
  id = "power_w"
 
532
  "source_condition_2:power_w",
533
  ]
534
  normalization = "ratio"
 
535
  scale = 1e-12
536
 
537
+ [task.evaluation.metrics.requirement]
538
+ lower = 0
539
+ rationale = "The declared powered circuit or driven switching network must consume nonnegative net supply/driver energy or quiescent current under the complete stated observation."
540
+
541
  [[task.evaluation.metrics]]
542
  id = "dc_gain_db"
543
  category = "performance"
 
575
  "source_condition_2:unity_hz",
576
  ]
577
  normalization = "ratio"
578
+
579
+ [task.evaluation.metrics.requirement]
580
  lower = 0
581
+ rationale = "The observed frequency or ordered-event interval has a nonnegative measurement domain, and its required crossing must exist for a usable observation."
582
 
583
  [[task.evaluation.metrics]]
584
  id = "phase_margin_deg"
 
599
  ]
600
  normalization = "target"
601
  scale = 180
602
+
603
+ [task.evaluation.metrics.requirement]
604
  lower = 0
605
  upper = 180
606
+ rationale = "The declared negative-feedback loop must stay on the measured 0 to 180 degree stable-feedback branch at the required unity crossing; the amount of positive phase margin remains a scored objective."
607
 
608
  [[task.evaluation.metrics]]
609
  id = "recovery_up_v"
 
622
  "source_condition_1:recovery_up_v",
623
  "source_condition_2:recovery_up_v",
624
  ]
625
+ normalization = "saturating_ratio"
 
626
  scale = 1e-06
627
 
628
+ [task.evaluation.metrics.requirement]
629
+ lower = 0
630
+ rationale = "The absolute error, voltage span, charge magnitude or recovery deviation has a nonnegative measurement domain; its positive value remains a continuously scored quality observation."
631
+
632
  [[task.evaluation.metrics]]
633
  id = "recovery_down_v"
634
  category = "performance"
 
646
  "source_condition_1:recovery_down_v",
647
  "source_condition_2:recovery_down_v",
648
  ]
649
+ normalization = "saturating_ratio"
 
650
  scale = 1e-06
651
 
652
+ [task.evaluation.metrics.requirement]
653
+ lower = 0
654
+ rationale = "The absolute error, voltage span, charge magnitude or recovery deviation has a nonnegative measurement domain; its positive value remains a continuously scored quality observation."
655
+
656
  [[task.evaluation.metrics]]
657
  id = "step_gain"
658
  category = "performance"
 
691
  "source_condition_2:mean_power_w",
692
  ]
693
  normalization = "ratio"
 
694
  scale = 1e-12
695
 
696
+ [task.evaluation.metrics.requirement]
697
+ lower = 0
698
+ rationale = "The declared powered circuit or driven switching network must consume nonnegative net supply/driver energy or quiescent current under the complete stated observation."
699
+
700
  [[task.evaluation.metrics]]
701
  id = "peak_v"
702
  category = "performance"
 
716
  ]
717
  normalization = "target"
718
  scale = 1.2
719
+
720
+ [task.evaluation.metrics.requirement]
721
  lower = 0
722
  upper = 1.2
723
+ rationale = "The declared node voltage or voltage span must remain within its ground-to-supply operating envelope; precision relative to the source remains a scored objective."
724
 
725
  [[task.evaluation.metrics]]
726
  id = "trough_v"
 
741
  ]
742
  normalization = "target"
743
  scale = 1.2
744
+
745
+ [task.evaluation.metrics.requirement]
746
  lower = 0
747
  upper = 1.2
748
+ rationale = "The declared node voltage or voltage span must remain within its ground-to-supply operating envelope; precision relative to the source remains a scored objective."
749
 
750
  [task.evaluation.pre_layout]
751
+ source_report_sha256 = "ea09a59573fa9e2630dfa568b51b32b02c3132b865d530d0fb8ab6f918c7da0e"
752
 
753
  [task.evaluation.pre_layout.backends]
754
+ "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\": \"a202c3d9d407fa71903be9db155aeb1eb3f9bccbb7ed18bfd0eaa1ea925dc151\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 600.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******\"}"
755
 
756
  [task.evaluation.pre_layout.jobs.source_condition_0]
757
  operation = "circuit.simulate"
 
788
  transient = "transient.raw"
789
 
790
  [task.evaluation.pre_layout.jobs.source_condition_0.input_sha256]
791
+ deck = "5d1f948c2dd4a670cdfe512beb0fc0902c9bc1fd02f56a1d8e8d62bbc8d7d0fe"
792
  dut = "101a8960de9230e887bc5e29cc5bb91b87749f88793a888baaa41529051c6469"
793
 
794
  [task.evaluation.pre_layout.jobs.source_condition_0.measurements.bias_v]
 
839
  value = 1884332.0
840
  unit = "Hz"
841
 
842
+ [task.evaluation.pre_layout.jobs.source_condition_0.output_sha256]
843
+ op = "2a1e40d283124bfbcc66e3224aa49aceea8e26ba300c76866dfbd35bdbc6492a"
844
+ ac = "d840ecdab6c7703a5878acfd41b8b095f717f86154416e53d9f5b2bc7f85e44d"
845
+ transient = "5d6bd5fb38e3fa67add5412258a1be1b4625dd407170623a06e15761f296f4fb"
846
+
847
  [task.evaluation.pre_layout.jobs.source_condition_1]
848
  operation = "circuit.simulate"
849
 
 
879
  transient = "transient.raw"
880
 
881
  [task.evaluation.pre_layout.jobs.source_condition_1.input_sha256]
882
+ deck = "5d1f948c2dd4a670cdfe512beb0fc0902c9bc1fd02f56a1d8e8d62bbc8d7d0fe"
883
  dut = "101a8960de9230e887bc5e29cc5bb91b87749f88793a888baaa41529051c6469"
884
 
885
  [task.evaluation.pre_layout.jobs.source_condition_1.measurements.bias_v]
 
930
  value = 1894771.0
931
  unit = "Hz"
932
 
933
+ [task.evaluation.pre_layout.jobs.source_condition_1.output_sha256]
934
+ op = "2a1e40d283124bfbcc66e3224aa49aceea8e26ba300c76866dfbd35bdbc6492a"
935
+ ac = "b5ff8c6188094211218eefad26cafcf13c2973e435a18ed9ba330b8006a7d77d"
936
+ transient = "1c58d57d3867b157ecc5d19026c2232aed77ab32fe6ff9b82660aee3e539ba39"
937
+
938
  [task.evaluation.pre_layout.jobs.source_condition_2]
939
  operation = "circuit.simulate"
940
 
 
970
  transient = "transient.raw"
971
 
972
  [task.evaluation.pre_layout.jobs.source_condition_2.input_sha256]
973
+ deck = "5d1f948c2dd4a670cdfe512beb0fc0902c9bc1fd02f56a1d8e8d62bbc8d7d0fe"
974
  dut = "101a8960de9230e887bc5e29cc5bb91b87749f88793a888baaa41529051c6469"
975
 
976
  [task.evaluation.pre_layout.jobs.source_condition_2.measurements.bias_v]
 
1021
  value = 1910778.0
1022
  unit = "Hz"
1023
 
1024
+ [task.evaluation.pre_layout.jobs.source_condition_2.output_sha256]
1025
+ op = "2a1e40d283124bfbcc66e3224aa49aceea8e26ba300c76866dfbd35bdbc6492a"
1026
+ ac = "4774f65e432dc5642f984a9006cc1dd6eb63ce8091b86db2a3deb79dd9c9dc64"
1027
+ transient = "1b7cb1f88eaf3f84652acbefbcca5dbfa29bfd2d3812b070ed53a0b921891781"
1028
+
1029
  [toolchain.bindings]
1030
  "layout.artifact" = "artifact"
1031
  "layout.drc" = "drc"
 
1038
  type = "klayout-docker"
1039
 
1040
  [toolchain.backends.artifact.settings]
1041
+ image = "iclayout-eda-open:local"
1042
  check = "artifact"
1043
  timeout_seconds = 600
1044
 
 
1049
  support = "klayout"
1050
 
1051
  [toolchain.backends.drc.settings]
1052
+ image = "iclayout-eda-open:local"
1053
  check = "drc"
1054
  support = "build/support/input-pair-klayout"
1055
  profile = "drc-upstream.json"
 
1062
  support = "klayout"
1063
 
1064
  [toolchain.backends.lvs.settings]
1065
+ image = "iclayout-eda-open:local"
1066
  check = "lvs"
1067
  support = "build/support/input-pair-klayout"
1068
  profile = "lvs-upstream.json"
 
1075
  support = "magic"
1076
 
1077
  [toolchain.backends.rc.settings]
1078
+ image = "iclayout-eda-open:local"
1079
  support = "build/support/input-pair-magic"
1080
  technology = "magic/ihp-sg13g2.tech"
1081
  tech_name = "ihp-sg13g2"
 
1089
  type = "klayout-geometry-docker"
1090
 
1091
  [toolchain.backends.geometry.settings]
1092
+ image = "iclayout-eda-open:local"
1093
  timeout_seconds = 120
1094
 
1095
  [toolchain.backends.simulation]
 
1099
  support = "analog-res-models"
1100
 
1101
  [toolchain.backends.simulation.settings]
1102
+ max_parallel_jobs = 8
1103
+ threads = 1
1104
+ cpu_budget = 8
1105
+ image = "iclayout-eda-open:local"
1106
  support = "build/support/analog-res-models"
1107
  timeout_seconds = 600
1108
 
tasks/ihp-sg13g2/analog-db/cases/amp_002_alfio_raffc/materials/schematic.svg CHANGED
tasks/ihp-sg13g2/analog-db/cases/amp_002_alfio_raffc/materials/testbench.spice CHANGED
@@ -21,6 +21,7 @@ let bias_v=v(net1)
21
  let power_w=-v(vdd)*i(VDD)
22
  print output_v bias_v power_w
23
  write op.raw v(vout) v(net1) i(VDD)
 
24
  ac dec 150 0.01 100meg
25
  let transfer=-v(vout)/v(vm)
26
  let gain_db=db(transfer)
 
21
  let power_w=-v(vdd)*i(VDD)
22
  print output_v bias_v power_w
23
  write op.raw v(vout) v(net1) i(VDD)
24
+ save i(vdd) v(net1) v(vdd) v(vm) v(vout) v(vp)
25
  ac dec 150 0.01 100meg
26
  let transfer=-v(vout)/v(vm)
27
  let gain_db=db(transfer)
tasks/ihp-sg13g2/analog-db/cases/amp_002_alfio_raffc/problem.md CHANGED
@@ -22,12 +22,11 @@ common source `net31`, electrically separate from the VDD well. No internal
22
  ideal bias source or output servo is introduced. Capacitor values are rounded
23
  to physical geometry; every branch remains internal to the DUT.
24
 
25
-
26
  ## Inputs and Interface
27
 
28
  - `materials/circuit.cdl`: authoritative native LVS circuit.
29
- - `materials/circuit.spice`: matching process-model circuit.
30
- - `materials/testbench.spice`: public bias, AC injection and transient deck.
31
 
32
  Ordered ports: `vss vdd vinn vinp vout net1`. VSS is return, VDD is supply,
33
  VINN/VINP are inverting/noninverting inputs, VOUT is output, and `net1`
@@ -38,30 +37,16 @@ all internal branches and total multiplicities in the authoritative netlist.
38
  Native equivalent parallel fingers are allowed only when LVS and electrical
39
  requirements pass. Do not short distinct ports or create extra driven monitors.
40
 
41
- Internal passives, distinct from the external load:
42
 
43
  - `c0`: `net063` → `vout`, 3 parallel `cap_cmim` unit(s), each 43.46 × 43.46 um; nominal total 8.520333 pF.
44
  - `c1`: `net050` → `net013`, 1 parallel `cap_cmim` unit(s), each 36.515 × 36.515 um; nominal total 2.0058602 pF.
45
 
46
-
47
  ## Operating Conditions
48
 
49
- Use typical MOS/MIM/poly models, 27 C, VDD=1.2 V and the stated external bias.
50
- All output loads 5/10/20 pF must pass. At DC, VINP=0.5 V and VOUT drives VINN
51
- through a zero-volt measurement source. AC injects 1 V in series with this
52
- feedback connection, with VINP AC=0. The return ratio is
53
- `T=-V(vout)/V(vm)` at this high-impedance MOS input boundary. Sweep 0.01 Hz
54
- to 100 MHz at 150 points/decade. Use continuous phase without an arbitrary
55
- low-frequency phase-offset correction; the first descending 0 dB crossing
56
- defines unity frequency and `180+phase(T)` there defines phase margin.
57
- A missing crossing is an evaluator error.
58
-
59
- VINP rises 0.5→0.7 V at 2–2.02 us and falls at 10.02–10.04 us, repeating
60
- every 16 us. Simulate 0–18 us with Gear order 2, 2 ns maximum step,
61
- `rshunt=1e12`, `reltol=1e-5`, `abstol=1e-14`, `vntol=1e-8`.
62
- The numerical shunt is not a manufactured bias or startup device.
63
- PVT, mismatch, noise, distortion, rail-to-rail operation, supply startup and
64
- arbitrary-load stability remain outside the contract.
65
 
66
  ## Physical Requirements
67
 
@@ -72,50 +57,25 @@ functional envelope. All functional device, contact and routing drawing layers
72
  listed in the runtime `outline` constraint contribute to bounding-box area;
73
  annotation and pin-purpose layers do not.
74
 
75
- Post-layout simulation consumes candidate-derived Magic RC with the physical
76
- MIM/poly devices and interconnect parasitics. Half-grid GDS import is explicit.
77
- Magic idealizes substrate/well taps; source simulation retains finite tap models.
78
- Distributed substrate resistance/noise and fabrication signoff are unqualified.
79
 
80
  ## Electrical Requirements and Scoring
81
 
82
- Physical checks and declared functional bounds remain mandatory. Quality has no
83
- fixed allowed-degradation threshold. Each `source_*` job simulates the declared
84
- source circuit with exactly the same testbench, model resources, parameters,
85
- load and measurement window as its paired extracted-candidate job. A source
86
- observation is the 100-point electrical baseline; it is independent of the
87
- submitted GDS. All individual pairs are retained in the evaluation report.
88
-
89
- For a post-layout observation x and its source observation b:
90
-
91
- - Maximize: q = x/b; minimize: q = b/x. When a numerical scale s is declared,
92
- use (x+s)/(b+s) or its inverse. This handles zero-valued error measurements;
93
- s is a normalization floor, not an allowed degradation or pass threshold.
94
- - Amplitude dB: q = 10^((x-b)/20) for maximize, its inverse for minimize.
95
- - Target: q = 1/(1+abs(x-b)/s), with a declared physical scale s. Signed and
96
- zero-valued operating points are never divided directly.
97
-
98
- Scoring uses `layout`. A metric uses its worst paired quality q. The score is
99
- S = 100 * product(q_i ** w_i), including area quality
100
- q_area = area_reference / candidate_functional_area. The weights below sum to
101
- one. Dimensions describe measurements but do not determine their weights.
102
- Physical or functional rejection scores zero; missing or invalid measurements
103
- produce an unknown score, including measurements with zero weight.
104
- Source-equivalent performance at the area reference scores 100; improvements
105
- can exceed 100. A weight expresses a tradeoff, not a hard acceptance limit.
106
-
107
- Measurement definitions below use the supplied SPICE node/source names.
108
- `v(n)` is node voltage and `i(V)` is current into a voltage source; delivered
109
- power therefore uses a minus sign. `db(z)=20*log10(abs(z))`, `mag/abs`
110
- denote magnitude, and `cph` is continuous phase in radians. `find`, `when`,
111
- `from/to`, and `rise/fall` retain the deck's interpolation, window and
112
- crossing conventions; SPICE suffixes p/n/u/m/meg/g mean pico/nano/micro/
113
- milli/mega/giga. Nested `avg`, `min`, `max`, `vecmin/vecmax` and `deriv`
114
- mean the stated window average, extrema and sampled derivative. All
115
- declared conditions are measured separately and paired with the same
116
- source condition; a group uses its worst paired quality.
117
-
118
- | Metric | Definition / observations | Unit | Quality rule | Functional bounds | Scale | Dimension |
119
  | --- | --- | --- | --- | --- | --- | --- |
120
  | `output_v` | DC operating point: `v(vout)`. | V | target / target | 0 … 1.2 | 1.2 | bias |
121
  | `bias_v` | DC operating point: `v(net1)`. | V | target / target | 0 … 1.2 | 1.2 | bias |
@@ -123,22 +83,20 @@ source condition; a group uses its worst paired quality.
123
  | `dc_gain_db` | AC: Value of `(db((-v(vout)/v(vm)))) at=0.01`. | dB | maximize / db20 | −∞ … +∞ | — | response |
124
  | `unity_hz` | AC: Crossing coordinate where `(db((-v(vout)/v(vm))))=0 fall=1`. | Hz | maximize / ratio | 0 … +∞ | — | response |
125
  | `phase_margin_deg` | AC: `180+(find (180*cph((-v(vout)/v(vm)))/pi) when (db((-v(vout)/v(vm))))=0 fall=1)`. | deg | target / target | 0 … 180 | 180 | response |
126
- | `recovery_up_v` | TRAN: Maximum of `(abs(v(vout)-v(vp))) from=5u to=9.5u`. | V | minimize / ratio | 0 … +∞ | 1e-06 | response |
127
- | `recovery_down_v` | TRAN: Maximum of `(abs(v(vout)-v(vp))) from=13u to=17.5u`. | V | minimize / ratio | 0 … +∞ | 1e-06 | response |
128
  | `step_gain` | Transient: `((avg v(vout) from=9u to=9.5u)-(avg v(vout) from=17u to=17.5u))/0.2`. | V/V | target / target | −∞ … +∞ | 1.0 | response |
129
  | `mean_power_w` | TRAN: Mean of `(-v(vdd)*i(VDD)) from=2u to=18u`. | W | minimize / ratio | 0 … +∞ | 1e-12 | supply |
130
  | `peak_v` | TRAN: Maximum of `v(vout) from=2u to=10u`. | V | target / target | 0 … 1.2 | 1.2 | response |
131
  | `trough_v` | TRAN: Minimum of `v(vout) from=10.04u to=18u`. | V | target / target | 0 … 1.2 | 1.2 | response |
132
 
133
- Area reference: **20690.01 um2**. 96 expanded device instances; sum of device/contact envelopes 13605.7469 um2, per-side envelope allowance 0.6 um, 50% routing allowance and total outer width/height allowance 1.2 um. Estimate = ceil(100 * (1.5 * envelope_sum + 2 * margin * sqrt(envelope_sum) + margin^2)) / 100. Here margin is the total allowance across two opposite sides; the envelope sum is displayed rounded to four decimals. MOS/passive envelopes use declared W/L (or resistor dimensions) and multiplicity; explicit tap areas and HBT emitter/contact envelopes are included. This is a frozen engineering estimate, not a foundry minimum or a feasibility claim.
134
-
135
- The capability coefficient remains **7**; it is independent of
136
- the reference-relative task score.
137
 
 
138
 
139
  ### Score weights
140
 
141
- Compensated feedback amplifiers: loaded recovery 28.6%; loop margin 20.5%; gain and bandwidth 16.4%; step transfer and extrema 8.18%; bias 4.09%; power 12.3%; area 10%. Each objective's weight is divided equally among its metrics.
142
 
143
  | Metric | Weight |
144
  | --- | ---: |
@@ -160,8 +118,4 @@ Compensated feedback amplifiers: loaded recovery 28.6%; loop margin 20.5%; gain
160
 
161
  Solve budget: **3 hours**.
162
 
163
- Discover inputs, resources and feedback through `/protocol/task.json`,
164
- `/protocol/resources.json` and `/protocol/harness.json`. Use the supplied IHP
165
- primitives with KLayout, Magic and ngspice. Write `/workspace/output/final.gds`
166
- and explicitly submit through the harness protocol. Host configuration, source
167
- records and reference layouts are outside the standard solver inputs.
 
22
  ideal bias source or output servo is introduced. Capacitor values are rounded
23
  to physical geometry; every branch remains internal to the DUT.
24
 
 
25
  ## Inputs and Interface
26
 
27
  - `materials/circuit.cdl`: authoritative native LVS circuit.
28
+ - `materials/circuit.spice`: simulation circuit bound to the process models.
29
+ - `materials/testbench.spice`: bias, AC injection and transient tests.
30
 
31
  Ordered ports: `vss vdd vinn vinp vout net1`. VSS is return, VDD is supply,
32
  VINN/VINP are inverting/noninverting inputs, VOUT is output, and `net1`
 
37
  Native equivalent parallel fingers are allowed only when LVS and electrical
38
  requirements pass. Do not short distinct ports or create extra driven monitors.
39
 
40
+ Internal passive devices are listed below; external loads are declared separately:
41
 
42
  - `c0`: `net063` → `vout`, 3 parallel `cap_cmim` unit(s), each 43.46 × 43.46 um; nominal total 8.520333 pF.
43
  - `c1`: `net050` → `net013`, 1 parallel `cap_cmim` unit(s), each 36.515 × 36.515 um; nominal total 2.0058602 pF.
44
 
 
45
  ## Operating Conditions
46
 
47
+ Use typical MOS/MIM/poly models at 27 C, VDD=1.2 V and the declared external bias. All three output loads, 5/10/20 pF, must pass. At DC, VINP=0.5 V and VOUT feeds back to VINN through a zero-volt measurement source. For AC, inject 1 V in series with the feedback connection and set VINP AC=0; the return ratio at the high-impedance MOS input boundary is `T=-V(vout)/V(vm)`. Sweep 150 points per decade from 0.01 Hz to 100 MHz with continuous phase, without arbitrary correction of the low-frequency phase offset. The first falling 0 dB crossing defines unity-gain frequency, and `180+phase(T)` at that crossing defines phase margin. A missing crossing is an evaluation error.
48
+
49
+ VINP rises from 0.5 V to 0.7 V during 2–2.02 us and falls during 10.02–10.04 us, repeating every 16 us. Simulate 0–18 us with second-order Gear, a maximum step of 2 ns, `rshunt=1e12`, `reltol=1e-5`, `abstol=1e-14` and `vntol=1e-8`. Numerical shunt branches are not physical bias or startup devices. PVT, mismatch, noise, distortion, rail-to-rail operation, power-up and stability under arbitrary loads are outside scope.
 
 
 
 
 
 
 
 
 
 
 
 
 
50
 
51
  ## Physical Requirements
52
 
 
57
  listed in the runtime `outline` constraint contribute to bounding-box area;
58
  annotation and pin-purpose layers do not.
59
 
60
+ Post-layout simulation uses the candidate's Magic RC netlist, including physical MIM/poly devices and interconnect parasitics, with explicit handling of half-grid GDS import. Magic idealizes substrate/well contacts; source simulation retains finite contact models. Distributed substrate resistance, substrate noise and manufacturing signoff are outside scope.
 
 
 
61
 
62
  ## Electrical Requirements and Scoring
63
 
64
+ 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.
65
+
66
+ Let x be the post-layout measurement and b the source-circuit measurement under the same conditions:
67
+
68
+ - Ratio normalization: maximize with q = x/b and minimize with q = b/x. When a numerical scale s is declared, use (x+s)/(b+s) and its reciprocal, respectively. The scale handles zero values as a normalization floor; it is neither an allowed degradation nor an acceptance bound.
69
+ - Amplitude in dB: maximize with q = 10^((x-b)/20) and minimize with its reciprocal.
70
+ - Target normalization: q = 1/(1+abs(x-b)/s), where s is the declared physical scale. Signed or zero-valued operating points are not divided directly.
71
+
72
+ Use `layout` scoring. Each metric takes its worst paired quality q, and the total score is S = 100 * product(q_i ** w_i), with area quality q_area = area_reference / candidate_functional_area. The weights below sum to 1; metric dimensions describe measurements and do not determine weights. Physical or functional rejection scores zero; missing or invalid measurements leave the score unknown, and zero-weight observations must also be valid. Matching source-circuit performance at the reference area scores 100 points; better valid solutions may exceed 100. Weights express quality tradeoffs rather than hard bounds.
73
+
74
+ The measurements below use the supplied SPICE node and source names. `v(n)` is a node voltage; `i(V)` is current flowing into a voltage source, so delivered power uses a negative sign. `db(z)=20*log10(abs(z))`; `mag/abs` denote magnitude, and `cph` denotes continuous phase in radians. `find`, `when`, `from/to` and `rise/fall` follow the deck's interpolation, window and crossing conventions. SPICE suffixes p/n/u/m/meg/g mean pico/nano/micro/milli/mega/giga. Nested `avg`, `min`, `max`, `vecmin/vecmax` and `deriv` represent window averages, extrema and sampled derivatives. Measure each operating condition independently, pair it with the source result under that condition, and take the worst paired quality within each metric group.
75
+
76
+ `recovery_up_v` and `recovery_down_v` use `saturating_ratio`. Candidate error x, paired source error b and the positive scale s below define q = 2(b+s)/(b+x+2s). Source-equivalent error gives q=1; decreasing error approaches the upper quality limit 2 with diminishing returns. The scale retains its declared unit and numerical-floor meaning. Normalize each operating condition before taking the worst paired quality; other metrics retain their own declared normalization and functional requirements.
77
+
78
+ | Metric | Definition / observation | Unit | Quality normalization | Functional range | Scale | Dimension |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  | --- | --- | --- | --- | --- | --- | --- |
80
  | `output_v` | DC operating point: `v(vout)`. | V | target / target | 0 … 1.2 | 1.2 | bias |
81
  | `bias_v` | DC operating point: `v(net1)`. | V | target / target | 0 … 1.2 | 1.2 | bias |
 
83
  | `dc_gain_db` | AC: Value of `(db((-v(vout)/v(vm)))) at=0.01`. | dB | maximize / db20 | −∞ … +∞ | — | response |
84
  | `unity_hz` | AC: Crossing coordinate where `(db((-v(vout)/v(vm))))=0 fall=1`. | Hz | maximize / ratio | 0 … +∞ | — | response |
85
  | `phase_margin_deg` | AC: `180+(find (180*cph((-v(vout)/v(vm)))/pi) when (db((-v(vout)/v(vm))))=0 fall=1)`. | deg | target / target | 0 … 180 | 180 | response |
86
+ | `recovery_up_v` | TRAN: Maximum of `(abs(v(vout)-v(vp))) from=5u to=9.5u`. | V | minimize / saturating_ratio | 0 … +∞ | 1e-06 | response |
87
+ | `recovery_down_v` | TRAN: Maximum of `(abs(v(vout)-v(vp))) from=13u to=17.5u`. | V | minimize / saturating_ratio | 0 … +∞ | 1e-06 | response |
88
  | `step_gain` | Transient: `((avg v(vout) from=9u to=9.5u)-(avg v(vout) from=17u to=17.5u))/0.2`. | V/V | target / target | −∞ … +∞ | 1.0 | response |
89
  | `mean_power_w` | TRAN: Mean of `(-v(vdd)*i(VDD)) from=2u to=18u`. | W | minimize / ratio | 0 … +∞ | 1e-12 | supply |
90
  | `peak_v` | TRAN: Maximum of `v(vout) from=2u to=10u`. | V | target / target | 0 … 1.2 | 1.2 | response |
91
  | `trough_v` | TRAN: Minimum of `v(vout) from=10.04u to=18u`. | V | target / target | 0 … 1.2 | 1.2 | response |
92
 
93
+ Area reference: **20690.01 um2**. The expanded circuit has 96 device instances, a sum of device/contact envelopes 13605.7469 um2, a one-sided envelope margin of 0.6 um, a routing allowance of 50%, and a total outer width/height allowance 1.2 um. Estimate = ceil(100 * (1.5 * envelope_sum + 2 * margin * sqrt(envelope_sum) + margin^2)) / 100. Here margin is the total allowance across both sides, and the envelope sum is displayed to four decimal places. MOS/passive envelopes use W/L (or resistor dimensions) and multiplicity, including explicit contacts and HBT emitter/contact envelopes. This is a frozen engineering estimate, not a process minimum or a proven achievable area.
 
 
 
94
 
95
+ The capability coefficient is **7**, independent of this task's reference-normalized score.
96
 
97
  ### Score weights
98
 
99
+ Compensated feedback amplifiers: loaded recovery 28.6%, loop margin 20.5%, gain and bandwidth 16.4%, step transfer and extrema 8.18%, bias 4.09%, power 12.3%, area 10%. Each objective's weight is divided equally among its metrics.
100
 
101
  | Metric | Weight |
102
  | --- | ---: |
 
118
 
119
  Solve budget: **3 hours**.
120
 
121
+ Discover inputs, resources and feedback through `/protocol/task.json`, `/protocol/resources.json` and `/protocol/harness.json`. Use the provided IHP primitives and KLayout, Magic and ngspice. Write `/workspace/output/final.gds`, then submit explicitly through the runtime protocol. Host configuration, source records and reference layouts are not standard solver inputs.
 
 
 
 
tasks/ihp-sg13g2/analog-db/cases/amp_003_fan_smc/case.toml CHANGED
@@ -1,15 +1,15 @@
1
- in_core = false
2
  kind = "layout_case"
3
  id = "ihp-sg13g2.analog-db.amp_003_fan_smc"
4
  title = "Single-Capacitor Three-Stage Feedforward OTA"
5
  status = "qualified"
 
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
- sha256 = "c46caa05f6be4613f60fdce588b46f5ac2a7ace7ff42f323ca6b1f8af1a2b232"
13
 
14
  [[assets]]
15
  path = "reference/amp_003_fan_smc.gds"
@@ -28,18 +28,18 @@ environment = "ihp-sg13g2-amp_003_fan_smc-nominal-rc"
28
  [task.inputs.description]
29
  path = "problem.md"
30
  format = "text"
31
- sha256 = "d4b1da37fa4b4f7b020340ea9296a4a9681c0bfd686cd90a98e46b8b885da830"
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
35
  format = "spice"
36
- sha256 = "5c0aa44f171b64424a7dc717a4d76f332bc9da6b39923f4ae527433622c43601"
37
  subcircuit = "amp_003_fan_smc"
 
38
 
39
  [task.inputs.performance]
40
  path = "materials/testbench.spice"
41
  format = "spice"
42
- sha256 = "cfe8a0580eaeb7b840697fbc99204ee9f6969015bcc1f4db6450899484c705cf"
43
 
44
  [task.inputs.simulation]
45
  path = "materials/circuit.spice"
@@ -483,8 +483,11 @@ baseline = [
483
  ]
484
  normalization = "target"
485
  scale = 1.2
 
 
486
  lower = 0
487
  upper = 1.2
 
488
 
489
  [[task.evaluation.metrics]]
490
  id = "bias_v"
@@ -505,8 +508,11 @@ baseline = [
505
  ]
506
  normalization = "target"
507
  scale = 1.2
 
 
508
  lower = 0
509
  upper = 1.2
 
510
 
511
  [[task.evaluation.metrics]]
512
  id = "power_w"
@@ -526,9 +532,12 @@ baseline = [
526
  "source_condition_2:power_w",
527
  ]
528
  normalization = "ratio"
529
- lower = 0
530
  scale = 1e-12
531
 
 
 
 
 
532
  [[task.evaluation.metrics]]
533
  id = "dc_gain_db"
534
  category = "performance"
@@ -566,7 +575,10 @@ baseline = [
566
  "source_condition_2:unity_hz",
567
  ]
568
  normalization = "ratio"
 
 
569
  lower = 0
 
570
 
571
  [[task.evaluation.metrics]]
572
  id = "phase_margin_deg"
@@ -587,8 +599,11 @@ baseline = [
587
  ]
588
  normalization = "target"
589
  scale = 180
 
 
590
  lower = 0
591
  upper = 180
 
592
 
593
  [[task.evaluation.metrics]]
594
  id = "recovery_up_v"
@@ -607,10 +622,13 @@ baseline = [
607
  "source_condition_1:recovery_up_v",
608
  "source_condition_2:recovery_up_v",
609
  ]
610
- normalization = "ratio"
611
- lower = 0
612
  scale = 1e-06
613
 
 
 
 
 
614
  [[task.evaluation.metrics]]
615
  id = "recovery_down_v"
616
  category = "performance"
@@ -628,10 +646,13 @@ baseline = [
628
  "source_condition_1:recovery_down_v",
629
  "source_condition_2:recovery_down_v",
630
  ]
631
- normalization = "ratio"
632
- lower = 0
633
  scale = 1e-06
634
 
 
 
 
 
635
  [[task.evaluation.metrics]]
636
  id = "step_gain"
637
  category = "performance"
@@ -670,9 +691,12 @@ baseline = [
670
  "source_condition_2:mean_power_w",
671
  ]
672
  normalization = "ratio"
673
- lower = 0
674
  scale = 1e-12
675
 
 
 
 
 
676
  [[task.evaluation.metrics]]
677
  id = "peak_v"
678
  category = "performance"
@@ -692,8 +716,11 @@ baseline = [
692
  ]
693
  normalization = "target"
694
  scale = 1.2
 
 
695
  lower = 0
696
  upper = 1.2
 
697
 
698
  [[task.evaluation.metrics]]
699
  id = "trough_v"
@@ -714,14 +741,17 @@ baseline = [
714
  ]
715
  normalization = "target"
716
  scale = 1.2
 
 
717
  lower = 0
718
  upper = 1.2
 
719
 
720
  [task.evaluation.pre_layout]
721
- source_report_sha256 = "4feeaa4d4aaf3bb42bfede25114adf0c3c6040b90f25e897a55d96b2972a5812"
722
 
723
  [task.evaluation.pre_layout.backends]
724
- "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"ef9cb87fa27b849376472663b7362673979b89e012f161ba47bb5f6af6ede8eb\", \"compatibility\": null, \"execution_sha256\": \"5424b579002782bfddf0a729715b8fbf2a5f7f2b4cf14982d7616e352d5de9be\", \"image_id\": \"sha256:6562558774d43c085a289bbba696c55959eb8051a0996f96633451fbeb9c652d\", \"limits\": {\"cpus\": 4, \"memory_mb\": 4096, \"pids\": 256}, \"resistor_formulation\": \"conductance\", \"support_sha256\": \"3ed768d4ffb7f23f3607c41ecc3ea827c17cb3311d178014ef532319353417d7\", \"timeout_seconds\": 600.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******\"}"
725
 
726
  [task.evaluation.pre_layout.jobs.source_condition_0]
727
  operation = "circuit.simulate"
@@ -758,7 +788,7 @@ ac = "ac.raw"
758
  transient = "transient.raw"
759
 
760
  [task.evaluation.pre_layout.jobs.source_condition_0.input_sha256]
761
- deck = "cfe8a0580eaeb7b840697fbc99204ee9f6969015bcc1f4db6450899484c705cf"
762
  dut = "2d129c21487a4415c752ba2bc08b7d102d8684cb55dc89915576a913c88ddf3d"
763
 
764
  [task.evaluation.pre_layout.jobs.source_condition_0.measurements.bias_v]
@@ -809,6 +839,11 @@ unit = "V"
809
  value = 1369789.0
810
  unit = "Hz"
811
 
 
 
 
 
 
812
  [task.evaluation.pre_layout.jobs.source_condition_1]
813
  operation = "circuit.simulate"
814
 
@@ -844,7 +879,7 @@ ac = "ac.raw"
844
  transient = "transient.raw"
845
 
846
  [task.evaluation.pre_layout.jobs.source_condition_1.input_sha256]
847
- deck = "cfe8a0580eaeb7b840697fbc99204ee9f6969015bcc1f4db6450899484c705cf"
848
  dut = "2d129c21487a4415c752ba2bc08b7d102d8684cb55dc89915576a913c88ddf3d"
849
 
850
  [task.evaluation.pre_layout.jobs.source_condition_1.measurements.bias_v]
@@ -895,6 +930,11 @@ unit = "V"
895
  value = 1374443.0
896
  unit = "Hz"
897
 
 
 
 
 
 
898
  [task.evaluation.pre_layout.jobs.source_condition_2]
899
  operation = "circuit.simulate"
900
 
@@ -930,7 +970,7 @@ ac = "ac.raw"
930
  transient = "transient.raw"
931
 
932
  [task.evaluation.pre_layout.jobs.source_condition_2.input_sha256]
933
- deck = "cfe8a0580eaeb7b840697fbc99204ee9f6969015bcc1f4db6450899484c705cf"
934
  dut = "2d129c21487a4415c752ba2bc08b7d102d8684cb55dc89915576a913c88ddf3d"
935
 
936
  [task.evaluation.pre_layout.jobs.source_condition_2.measurements.bias_v]
@@ -981,6 +1021,11 @@ unit = "V"
981
  value = 1383658.0
982
  unit = "Hz"
983
 
 
 
 
 
 
984
  [toolchain.bindings]
985
  "layout.artifact" = "artifact"
986
  "layout.drc" = "drc"
@@ -993,7 +1038,7 @@ unit = "Hz"
993
  type = "klayout-docker"
994
 
995
  [toolchain.backends.artifact.settings]
996
- image = "iclayout-bench-tools:local"
997
  check = "artifact"
998
  timeout_seconds = 600
999
 
@@ -1004,7 +1049,7 @@ type = "klayout-docker"
1004
  support = "klayout"
1005
 
1006
  [toolchain.backends.drc.settings]
1007
- image = "iclayout-bench-tools:local"
1008
  check = "drc"
1009
  support = "build/support/input-pair-klayout"
1010
  profile = "drc-upstream.json"
@@ -1017,7 +1062,7 @@ type = "klayout-docker"
1017
  support = "klayout"
1018
 
1019
  [toolchain.backends.lvs.settings]
1020
- image = "iclayout-bench-tools:local"
1021
  check = "lvs"
1022
  support = "build/support/input-pair-klayout"
1023
  profile = "lvs-upstream.json"
@@ -1030,7 +1075,7 @@ type = "magic-rc-docker"
1030
  support = "magic"
1031
 
1032
  [toolchain.backends.rc.settings]
1033
- image = "iclayout-bench-tools:local"
1034
  support = "build/support/input-pair-magic"
1035
  technology = "magic/ihp-sg13g2.tech"
1036
  tech_name = "ihp-sg13g2"
@@ -1044,7 +1089,7 @@ grid_subdivision = 2
1044
  type = "klayout-geometry-docker"
1045
 
1046
  [toolchain.backends.geometry.settings]
1047
- image = "iclayout-bench-tools:local"
1048
  timeout_seconds = 120
1049
 
1050
  [toolchain.backends.simulation]
@@ -1054,7 +1099,10 @@ type = "ngspice-docker"
1054
  support = "analog-res-models"
1055
 
1056
  [toolchain.backends.simulation.settings]
1057
- image = "iclayout-bench-tools:local"
 
 
 
1058
  support = "build/support/analog-res-models"
1059
  timeout_seconds = 600
1060
 
 
 
1
  kind = "layout_case"
2
  id = "ihp-sg13g2.analog-db.amp_003_fan_smc"
3
  title = "Single-Capacitor Three-Stage Feedforward OTA"
4
  status = "qualified"
5
+ in_core = false
6
 
7
  [[assets]]
8
  path = "materials/schematic.svg"
9
  role = "schematic"
10
  visibility = "maintainer"
11
  format = "svg"
12
+ sha256 = "d4387977bdd4e3bb1da3ac1cfc994e720dad199e2a58444823c6db30bbf65ed0"
13
 
14
  [[assets]]
15
  path = "reference/amp_003_fan_smc.gds"
 
28
  [task.inputs.description]
29
  path = "problem.md"
30
  format = "text"
31
+ sha256 = "e9d25003e087f344dd7c41a4f93178f342027f563e4a9c6ee8896df04113d107"
32
 
33
  [task.inputs.netlist]
34
  path = "materials/circuit.cdl"
35
  format = "spice"
 
36
  subcircuit = "amp_003_fan_smc"
37
+ sha256 = "5c0aa44f171b64424a7dc717a4d76f332bc9da6b39923f4ae527433622c43601"
38
 
39
  [task.inputs.performance]
40
  path = "materials/testbench.spice"
41
  format = "spice"
42
+ sha256 = "e6d4c2a9874f561b9380ff84f9273879d3d81fc1f6c23e9df84c2d26bba9d15d"
43
 
44
  [task.inputs.simulation]
45
  path = "materials/circuit.spice"
 
483
  ]
484
  normalization = "target"
485
  scale = 1.2
486
+
487
+ [task.evaluation.metrics.requirement]
488
  lower = 0
489
  upper = 1.2
490
+ rationale = "The declared node voltage or voltage span must remain within its ground-to-supply operating envelope; precision relative to the source remains a scored objective."
491
 
492
  [[task.evaluation.metrics]]
493
  id = "bias_v"
 
508
  ]
509
  normalization = "target"
510
  scale = 1.2
511
+
512
+ [task.evaluation.metrics.requirement]
513
  lower = 0
514
  upper = 1.2
515
+ rationale = "The declared node voltage or voltage span must remain within its ground-to-supply operating envelope; precision relative to the source remains a scored objective."
516
 
517
  [[task.evaluation.metrics]]
518
  id = "power_w"
 
532
  "source_condition_2:power_w",
533
  ]
534
  normalization = "ratio"
 
535
  scale = 1e-12
536
 
537
+ [task.evaluation.metrics.requirement]
538
+ lower = 0
539
+ rationale = "The declared powered circuit or driven switching network must consume nonnegative net supply/driver energy or quiescent current under the complete stated observation."
540
+
541
  [[task.evaluation.metrics]]
542
  id = "dc_gain_db"
543
  category = "performance"
 
575
  "source_condition_2:unity_hz",
576
  ]
577
  normalization = "ratio"
578
+
579
+ [task.evaluation.metrics.requirement]
580
  lower = 0
581
+ rationale = "The observed frequency or ordered-event interval has a nonnegative measurement domain, and its required crossing must exist for a usable observation."
582
 
583
  [[task.evaluation.metrics]]
584
  id = "phase_margin_deg"
 
599
  ]
600
  normalization = "target"
601
  scale = 180
602
+
603
+ [task.evaluation.metrics.requirement]
604
  lower = 0
605
  upper = 180
606
+ rationale = "The declared negative-feedback loop must stay on the measured 0 to 180 degree stable-feedback branch at the required unity crossing; the amount of positive phase margin remains a scored objective."
607
 
608
  [[task.evaluation.metrics]]
609
  id = "recovery_up_v"
 
622
  "source_condition_1:recovery_up_v",
623
  "source_condition_2:recovery_up_v",
624
  ]
625
+ normalization = "saturating_ratio"
 
626
  scale = 1e-06
627
 
628
+ [task.evaluation.metrics.requirement]
629
+ lower = 0
630
+ rationale = "The absolute error, voltage span, charge magnitude or recovery deviation has a nonnegative measurement domain; its positive value remains a continuously scored quality observation."
631
+
632
  [[task.evaluation.metrics]]
633
  id = "recovery_down_v"
634
  category = "performance"
 
646
  "source_condition_1:recovery_down_v",
647
  "source_condition_2:recovery_down_v",
648
  ]
649
+ normalization = "saturating_ratio"
 
650
  scale = 1e-06
651
 
652
+ [task.evaluation.metrics.requirement]
653
+ lower = 0
654
+ rationale = "The absolute error, voltage span, charge magnitude or recovery deviation has a nonnegative measurement domain; its positive value remains a continuously scored quality observation."
655
+
656
  [[task.evaluation.metrics]]
657
  id = "step_gain"
658
  category = "performance"
 
691
  "source_condition_2:mean_power_w",
692
  ]
693
  normalization = "ratio"
 
694
  scale = 1e-12
695
 
696
+ [task.evaluation.metrics.requirement]
697
+ lower = 0
698
+ rationale = "The declared powered circuit or driven switching network must consume nonnegative net supply/driver energy or quiescent current under the complete stated observation."
699
+
700
  [[task.evaluation.metrics]]
701
  id = "peak_v"
702
  category = "performance"
 
716
  ]
717
  normalization = "target"
718
  scale = 1.2
719
+
720
+ [task.evaluation.metrics.requirement]
721
  lower = 0
722
  upper = 1.2
723
+ rationale = "The declared node voltage or voltage span must remain within its ground-to-supply operating envelope; precision relative to the source remains a scored objective."
724
 
725
  [[task.evaluation.metrics]]
726
  id = "trough_v"
 
741
  ]
742
  normalization = "target"
743
  scale = 1.2
744
+
745
+ [task.evaluation.metrics.requirement]
746
  lower = 0
747
  upper = 1.2
748
+ rationale = "The declared node voltage or voltage span must remain within its ground-to-supply operating envelope; precision relative to the source remains a scored objective."
749
 
750
  [task.evaluation.pre_layout]
751
+ source_report_sha256 = "c278d8c22a2b0519f195736b5004a6f30122a79680a944e6720355f81e5bea2e"
752
 
753
  [task.evaluation.pre_layout.backends]
754
+ "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\": \"a202c3d9d407fa71903be9db155aeb1eb3f9bccbb7ed18bfd0eaa1ea925dc151\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 600.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******\"}"
755
 
756
  [task.evaluation.pre_layout.jobs.source_condition_0]
757
  operation = "circuit.simulate"
 
788
  transient = "transient.raw"
789
 
790
  [task.evaluation.pre_layout.jobs.source_condition_0.input_sha256]
791
+ deck = "e6d4c2a9874f561b9380ff84f9273879d3d81fc1f6c23e9df84c2d26bba9d15d"
792
  dut = "2d129c21487a4415c752ba2bc08b7d102d8684cb55dc89915576a913c88ddf3d"
793
 
794
  [task.evaluation.pre_layout.jobs.source_condition_0.measurements.bias_v]
 
839
  value = 1369789.0
840
  unit = "Hz"
841
 
842
+ [task.evaluation.pre_layout.jobs.source_condition_0.output_sha256]
843
+ op = "9d98fe0a95f86915678043de0b3f81ede7a5521ce3ded7f7370c253fde04f74f"
844
+ ac = "3287978d96766b2bbedc13d2a7920390e0c40955cb22a515377e6eff54cab8a5"
845
+ transient = "7668884835969d36c948502ef01c15786ccdccd2b83c7bab794ef5baeb13b7b3"
846
+
847
  [task.evaluation.pre_layout.jobs.source_condition_1]
848
  operation = "circuit.simulate"
849
 
 
879
  transient = "transient.raw"
880
 
881
  [task.evaluation.pre_layout.jobs.source_condition_1.input_sha256]
882
+ deck = "e6d4c2a9874f561b9380ff84f9273879d3d81fc1f6c23e9df84c2d26bba9d15d"
883
  dut = "2d129c21487a4415c752ba2bc08b7d102d8684cb55dc89915576a913c88ddf3d"
884
 
885
  [task.evaluation.pre_layout.jobs.source_condition_1.measurements.bias_v]
 
930
  value = 1374443.0
931
  unit = "Hz"
932
 
933
+ [task.evaluation.pre_layout.jobs.source_condition_1.output_sha256]
934
+ op = "9d98fe0a95f86915678043de0b3f81ede7a5521ce3ded7f7370c253fde04f74f"
935
+ ac = "05bed7249233232ed391f6eb06b79e2b74c019f19319554d0acc0473568790fd"
936
+ transient = "0201de800dacd10c50705e24172b5ea394d8c55108c1aa14e624aee910acfd02"
937
+
938
  [task.evaluation.pre_layout.jobs.source_condition_2]
939
  operation = "circuit.simulate"
940
 
 
970
  transient = "transient.raw"
971
 
972
  [task.evaluation.pre_layout.jobs.source_condition_2.input_sha256]
973
+ deck = "e6d4c2a9874f561b9380ff84f9273879d3d81fc1f6c23e9df84c2d26bba9d15d"
974
  dut = "2d129c21487a4415c752ba2bc08b7d102d8684cb55dc89915576a913c88ddf3d"
975
 
976
  [task.evaluation.pre_layout.jobs.source_condition_2.measurements.bias_v]
 
1021
  value = 1383658.0
1022
  unit = "Hz"
1023
 
1024
+ [task.evaluation.pre_layout.jobs.source_condition_2.output_sha256]
1025
+ op = "9d98fe0a95f86915678043de0b3f81ede7a5521ce3ded7f7370c253fde04f74f"
1026
+ ac = "bd4d5e77e9f501a5d6542925b4f41c1597ebe85f51299675f5245c704559e5b4"
1027
+ transient = "12f1303847522a85163ce11d987916477cd41d85468c1b130daf062bec490d7c"
1028
+
1029
  [toolchain.bindings]
1030
  "layout.artifact" = "artifact"
1031
  "layout.drc" = "drc"
 
1038
  type = "klayout-docker"
1039
 
1040
  [toolchain.backends.artifact.settings]
1041
+ image = "iclayout-eda-open:local"
1042
  check = "artifact"
1043
  timeout_seconds = 600
1044
 
 
1049
  support = "klayout"
1050
 
1051
  [toolchain.backends.drc.settings]
1052
+ image = "iclayout-eda-open:local"
1053
  check = "drc"
1054
  support = "build/support/input-pair-klayout"
1055
  profile = "drc-upstream.json"
 
1062
  support = "klayout"
1063
 
1064
  [toolchain.backends.lvs.settings]
1065
+ image = "iclayout-eda-open:local"
1066
  check = "lvs"
1067
  support = "build/support/input-pair-klayout"
1068
  profile = "lvs-upstream.json"
 
1075
  support = "magic"
1076
 
1077
  [toolchain.backends.rc.settings]
1078
+ image = "iclayout-eda-open:local"
1079
  support = "build/support/input-pair-magic"
1080
  technology = "magic/ihp-sg13g2.tech"
1081
  tech_name = "ihp-sg13g2"
 
1089
  type = "klayout-geometry-docker"
1090
 
1091
  [toolchain.backends.geometry.settings]
1092
+ image = "iclayout-eda-open:local"
1093
  timeout_seconds = 120
1094
 
1095
  [toolchain.backends.simulation]
 
1099
  support = "analog-res-models"
1100
 
1101
  [toolchain.backends.simulation.settings]
1102
+ max_parallel_jobs = 8
1103
+ threads = 1
1104
+ cpu_budget = 8
1105
+ image = "iclayout-eda-open:local"
1106
  support = "build/support/analog-res-models"
1107
  timeout_seconds = 600
1108
 
tasks/ihp-sg13g2/analog-db/cases/amp_003_fan_smc/materials/schematic.svg CHANGED
tasks/ihp-sg13g2/analog-db/cases/amp_003_fan_smc/materials/testbench.spice CHANGED
@@ -21,6 +21,7 @@ let bias_v=v(net013)
21
  let power_w=-v(vdd)*i(VDD)
22
  print output_v bias_v power_w
23
  write op.raw v(vout) v(net013) i(VDD)
 
24
  ac dec 150 0.01 100meg
25
  let transfer=-v(vout)/v(vm)
26
  let gain_db=db(transfer)
 
21
  let power_w=-v(vdd)*i(VDD)
22
  print output_v bias_v power_w
23
  write op.raw v(vout) v(net013) i(VDD)
24
+ save i(vdd) v(net013) v(vdd) v(vm) v(vout) v(vp)
25
  ac dec 150 0.01 100meg
26
  let transfer=-v(vout)/v(vm)
27
  let gain_db=db(transfer)