MAI716 commited on
Commit
4376ca8
·
verified ·
1 Parent(s): d885c4b

Publish all 81 ICLayout-Bench tasks with core membership

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +18 -0
  2. LICENSE +21 -0
  3. README.md +204 -0
  4. data.jsonl +0 -0
  5. tasks/freepdk45/OpenRAM/LICENSE +674 -0
  6. tasks/freepdk45/OpenRAM/NOTICE +28 -0
  7. tasks/freepdk45/OpenRAM/cases/cell_6t/case.toml +592 -0
  8. tasks/freepdk45/OpenRAM/cases/cell_6t/materials/circuit.spice +10 -0
  9. tasks/freepdk45/OpenRAM/cases/cell_6t/materials/schematic.svg +1 -0
  10. tasks/freepdk45/OpenRAM/cases/cell_6t/materials/testbench.spice +41 -0
  11. tasks/freepdk45/OpenRAM/cases/cell_6t/problem.md +85 -0
  12. tasks/freepdk45/OpenRAM/cases/cell_6t/reference/cell_6t.gds +0 -0
  13. tasks/freepdk45/OpenRAM/cases/sense_amp/case.toml +535 -0
  14. tasks/freepdk45/OpenRAM/cases/sense_amp/materials/circuit.spice +11 -0
  15. tasks/freepdk45/OpenRAM/cases/sense_amp/materials/schematic.svg +1 -0
  16. tasks/freepdk45/OpenRAM/cases/sense_amp/materials/testbench.spice +24 -0
  17. tasks/freepdk45/OpenRAM/cases/sense_amp/problem.md +87 -0
  18. tasks/freepdk45/OpenRAM/cases/sense_amp/reference/sense_amp.gds +0 -0
  19. tasks/freepdk45/OpenRAM/cases/write_driver/case.toml +613 -0
  20. tasks/freepdk45/OpenRAM/cases/write_driver/materials/circuit.spice +21 -0
  21. tasks/freepdk45/OpenRAM/cases/write_driver/materials/schematic.svg +1 -0
  22. tasks/freepdk45/OpenRAM/cases/write_driver/materials/testbench.spice +32 -0
  23. tasks/freepdk45/OpenRAM/cases/write_driver/problem.md +87 -0
  24. tasks/freepdk45/OpenRAM/cases/write_driver/reference/write_driver.gds +0 -0
  25. tasks/freepdk45/README.md +58 -0
  26. tasks/freepdk45/nangate45-pdk/LICENSE +177 -0
  27. tasks/freepdk45/nangate45-pdk/NOTICE +39 -0
  28. tasks/freepdk45/nangate45-pdk/cases/AOI21_X1/case.toml +1073 -0
  29. tasks/freepdk45/nangate45-pdk/cases/AOI21_X1/materials/circuit.spice +58 -0
  30. tasks/freepdk45/nangate45-pdk/cases/AOI21_X1/materials/schematic.svg +1 -0
  31. tasks/freepdk45/nangate45-pdk/cases/AOI21_X1/materials/testbench.spice +52 -0
  32. tasks/freepdk45/nangate45-pdk/cases/AOI21_X1/problem.md +126 -0
  33. tasks/freepdk45/nangate45-pdk/cases/AOI21_X1/reference/AOI21_X1.gds +0 -0
  34. tasks/freepdk45/nangate45-pdk/cases/NAND2_X1/case.toml +872 -0
  35. tasks/freepdk45/nangate45-pdk/cases/NAND2_X1/materials/circuit.spice +56 -0
  36. tasks/freepdk45/nangate45-pdk/cases/NAND2_X1/materials/schematic.svg +1 -0
  37. tasks/freepdk45/nangate45-pdk/cases/NAND2_X1/materials/testbench.spice +35 -0
  38. tasks/freepdk45/nangate45-pdk/cases/NAND2_X1/problem.md +118 -0
  39. tasks/freepdk45/nangate45-pdk/cases/NAND2_X1/reference/NAND2_X1.gds +0 -0
  40. tasks/freepdk45/pdk.toml +353 -0
  41. tasks/gf180mcuD/2AMLogic-sar-adc/LICENSE +202 -0
  42. tasks/gf180mcuD/2AMLogic-sar-adc/cases/track_switch/case.toml +775 -0
  43. tasks/gf180mcuD/2AMLogic-sar-adc/cases/track_switch/materials/circuit.spice +7 -0
  44. tasks/gf180mcuD/2AMLogic-sar-adc/cases/track_switch/materials/schematic.svg +1 -0
  45. tasks/gf180mcuD/2AMLogic-sar-adc/cases/track_switch/materials/testbench.spice +24 -0
  46. tasks/gf180mcuD/2AMLogic-sar-adc/cases/track_switch/problem.md +97 -0
  47. tasks/gf180mcuD/2AMLogic-sar-adc/cases/track_switch/reference/adc_tgate_dum.gds +0 -0
  48. tasks/gf180mcuD/Chipathon2023_ADC/LICENSE +231 -0
  49. tasks/gf180mcuD/Chipathon2023_ADC/cases/comparator/case.toml +815 -0
  50. tasks/gf180mcuD/Chipathon2023_ADC/cases/comparator/materials/circuit.spice +41 -0
.gitattributes CHANGED
@@ -58,3 +58,21 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ tasks/gf180mcuD/analog-db/cases/amp_004_folded_cascode/reference/amp_004_folded_cascode.gds filter=lfs diff=lfs merge=lfs -text
62
+ tasks/gf180mcuD/analog-db/cases/amp_017_tan_clia/reference/amp_017_tan_clia.gds filter=lfs diff=lfs merge=lfs -text
63
+ tasks/gf180mcuD/analog-db/cases/amp_019_ti_ldo_error/reference/amp_019_ti_ldo_error.gds filter=lfs diff=lfs merge=lfs -text
64
+ tasks/gf180mcuD/analog-db/cases/amp_032_ti_ldo_error_selfbias/reference/amp_032_ti_ldo_error_selfbias.gds filter=lfs diff=lfs merge=lfs -text
65
+ tasks/gf180mcuD/analog-db/cases/amp_033_ti_ldo_ref_selfbias/reference/amp_033_ti_ldo_ref_selfbias.gds filter=lfs diff=lfs merge=lfs -text
66
+ tasks/gf180mcuD/analog-db/cases/cmfb_003_5t_nmos_input/reference/cmfb_003_5t_nmos_input.gds filter=lfs diff=lfs merge=lfs -text
67
+ tasks/gf180mcuD/analog-db/cases/cmp_001_hyst_diffpair/reference/cmp_001_hyst_diffpair.gds filter=lfs diff=lfs merge=lfs -text
68
+ tasks/gf180mcuD/analog-db/cases/cmp_002_strongarm/reference/cmp_002_strongarm.gds filter=lfs diff=lfs merge=lfs -text
69
+ tasks/gf180mcuD/analog-db/cases/ldo_002_analoggym_folded_cascode/reference/ldo_002_analoggym_folded_cascode.gds filter=lfs diff=lfs merge=lfs -text
70
+ tasks/gf180mcuD/analog-db/cases/ldo_003_analoggym_simple/reference/ldo_003_analoggym_simple.gds filter=lfs diff=lfs merge=lfs -text
71
+ tasks/gf180mcuD/analog-db/cases/ldo_004_basic_pmos/reference/ldo_004_basic_pmos.gds filter=lfs diff=lfs merge=lfs -text
72
+ tasks/gf180mcuD/analog-db/cases/ldo_005_buffered_ref/reference/ldo_005_buffered_ref.gds filter=lfs diff=lfs merge=lfs -text
73
+ tasks/gf180mcuD/analog-db/cases/ldo_007_pmos/reference/ldo_007_pmos.gds filter=lfs diff=lfs merge=lfs -text
74
+ tasks/gf180mcuD/analog-db/cases/sup_001_vcm_detector/reference/sup_001_vcm_detector.gds filter=lfs diff=lfs merge=lfs -text
75
+ tasks/gf180mcuD/analog-db/cases/tsn_001_ptat_2t/reference/tsn_001_ptat_2t.gds filter=lfs diff=lfs merge=lfs -text
76
+ tasks/gf180mcuD/tt_tnt_gf_vco/cases/vco/reference/vco.gds filter=lfs diff=lfs merge=lfs -text
77
+ tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/comparator/reference/DIFF_COMPARATOR.gds filter=lfs diff=lfs merge=lfs -text
78
+ tasks/ihp-sg13g2/IHP-AnalogAcademy/cases/full_OTA/reference/two_stage_OTA_layout.gds filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Layout-Bench contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
README.md ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ tags:
5
+ - integrated-circuits
6
+ - electronic-design-automation
7
+ - benchmark
8
+ license: other
9
+ license_name: component-specific
10
+ license_link: https://huggingface.co/datasets/MAI716/ICLayout-Bench/blob/main/README.md#licensing
11
+ configs:
12
+ - config_name: default
13
+ data_files:
14
+ - split: test
15
+ path: data.jsonl
16
+ ---
17
+
18
+ # ICLayout-Bench Dataset
19
+
20
+ 81 circuit-layout tasks across FreePDK45, GF180MCU and IHP SG13G2, for the
21
+ [ICLayout-Bench evaluator](https://github.com/lizhangmai/ICLayout-Bench).
22
+ Each task supplies a netlist, layout requirements, test stimuli, scoring contract
23
+ and a reference layout. Available on [Hugging Face](https://huggingface.co/datasets/MAI716/ICLayout-Bench).
24
+
25
+ ## Load and select
26
+
27
+ ```python
28
+ from datasets import load_dataset
29
+
30
+ repo_id = "MAI716/ICLayout-Bench"
31
+ tasks = load_dataset(repo_id, split="test") # Complete corpus.
32
+ core = tasks.filter(lambda task: task["in_core"]) # Current 16-task benchmark.
33
+ print(tasks[0]["problem"])
34
+ ```
35
+
36
+ `data.jsonl` contains every task, sorted by stable ID. The boolean `in_core`
37
+ field is generated from the same field in each `case.toml`;
38
+ changing this selection never removes tasks from the corpus. See the
39
+ [selection rationale](#core-selection-rationale). Participant experiments can choose
40
+ `name = "all"` and a `tasks` filter without changing core.
41
+
42
+ Rows contain `id`, `in_core`, `title`, `category`, `summary`, `pdk`, `collection`, `task_kind`,
43
+ `status`, `source_url`, `problem`, and relative paths/digests for task files,
44
+ netlists, process declarations and licenses. The JSONL table is a generated view;
45
+ `case.toml` owns task metadata and requirements.
46
+
47
+ For assets, use a local checkout or `huggingface_hub.snapshot_download` with
48
+ `repo_type="dataset"`. Pin the table and assets to the same repository commit
49
+ using `revision` in both loading calls. A local checkout is also supported. When reloading an edited local checkout directly through
50
+ `datasets`, pass `download_mode="reuse_cache_if_exists"` to refresh cached tables.
51
+
52
+ ## Contents
53
+
54
+ ```text
55
+ tasks/<pdk>/
56
+ pdk.toml # Pinned process resources and profiles
57
+ README.md # Process scope and limitations, where documented
58
+ <collection>/
59
+ LICENSE # Collection terms
60
+ NOTICE # Required attribution, where applicable
61
+ cases/<case>/
62
+ case.toml # Metadata, input identities and evaluation contract
63
+ problem.md # Complete participant-facing requirements
64
+ materials/ # Netlist, test stimuli and declared presentation assets
65
+ reference/ # Reference layout; excluded from standard solver inputs
66
+ data.jsonl # Complete corpus with generated in_core membership
67
+ ```
68
+
69
+ Source attribution is in `case.toml`; process and collection follow the directory
70
+ hierarchy.
71
+
72
+ ## Licensing
73
+
74
+ The root [LICENSE](LICENSE) covers original project metadata and documentation.
75
+ Task materials retain the terms in each `tasks/<pdk>/<collection>/LICENSE` and,
76
+ where present, `NOTICE`; the table exposes the corresponding license paths.
77
+ Terms vary by collection, including noncommercial restrictions for analog-db
78
+ materials. Retain applicable licenses, notices, source attribution and modification
79
+ notices when redistributing materials. External PDKs and EDA tools have their own
80
+ licenses. Technical qualification does not establish redistribution permission.
81
+
82
+ ## Scope and validation
83
+
84
+ The problem and contract specify each task's operating points, physical checks,
85
+ measurement definitions and score. Process scope for [GF180MCU](tasks/gf180mcuD/README.md) and
86
+ [FreePDK45](tasks/freepdk45/README.md) describes resource assumptions and limitations. These are block-level benchmarks, not
87
+ manufacturing signoff or evidence of model performance.
88
+
89
+ The current core has passed direct reference evaluation, participant checking,
90
+ final submission and numerical repeatability checks. The remaining corpus retains
91
+ historical reference observations; these do not claim fresh three-path checks
92
+ against the current evaluator. Full reports and acceptance records stay with the
93
+ author. References are available for independent verification and are excluded
94
+ from standard solver inputs.
95
+
96
+ Install the evaluator separately to run a reference:
97
+
98
+ ```bash
99
+ python -m benchmarking.engine.preview --dataset . run \
100
+ --case freepdk45.nangate45-pdk.NAND2_X1 --output build/reference-check
101
+ ```
102
+
103
+ The command creates local reports under the requested output directory. Setup,
104
+ index generation and publication checks are documented in the evaluator's
105
+ [tools guide](https://github.com/lizhangmai/ICLayout-Bench/blob/main/docs/tools.md)
106
+ and [task qualification guide](https://github.com/lizhangmai/ICLayout-Bench/blob/main/docs/tasks.md#qualification).
107
+
108
+ ## Core selection rationale
109
+
110
+ The core is a secondary selection of the complete corpus, chosen for capability
111
+ coverage. Its size is not a limit on the available tasks.
112
+
113
+ <details>
114
+ <summary>Detailed capabilities, alternatives and selection methodology</summary>
115
+
116
+
117
+ Case-level `in_core` flags and scoring contracts own membership and weights. This document
118
+ records the rationale for the secondary core selection from the full Dataset,
119
+ independently of engine releases. All accepted tasks remain available in the default `test` table;
120
+ being outside core does not mean a task is unfinished or excluded from Dataset.
121
+
122
+ ### Selected capabilities
123
+
124
+ The current set contains 16 cases across three PDKs. Each link gives the full
125
+ requirements and coefficient rationale.
126
+ Coefficients below are the existing case coefficients, not new selection weights.
127
+
128
+ | PDK | Selected case | Coefficient | Distinct contribution |
129
+ | --- | --- | ---: | --- |
130
+ | FreePDK45 | [NAND2](tasks/freepdk45/nangate45-pdk/cases/NAND2_X1/problem.md) | 1 | Basic connectivity, loaded logic levels and timing; an entry-level anchor. |
131
+ | FreePDK45 | [SRAM write driver](tasks/freepdk45/OpenRAM/cases/write_driver/problem.md) | 3 | Complementary loaded outputs and enabled/disabled drive states. |
132
+ | FreePDK45 | [6T SRAM cell](tasks/freepdk45/OpenRAM/cases/cell_6t/problem.md) | 6 | Storage integrity coupled to read and write access. |
133
+ | GF180MCU | [Five-transistor OTA](tasks/gf180mcuD/Jianxun-OTA/cases/ota_5t/problem.md) | 4 | Compact differential gain and bias, with the declared dummy-device connectivity. |
134
+ | GF180MCU | [Scan DFF](tasks/gf180mcuD/voidwalkers-scandff/cases/scan_dff/problem.md) | 5 | Clocked digital state and scan/data selection. |
135
+ | GF180MCU | [R-2R DAC](tasks/gf180mcuD/gf-r2r-dac/cases/r2r/problem.md) | 4 | A physical resistor ladder: weighted conversion under zero, one-hot and full-scale codes. |
136
+ | GF180MCU | [StrongARM comparator](tasks/gf180mcuD/analog-db/cases/cmp_002_strongarm/problem.md) | 6 | Regenerative decisions in both polarities at two input common modes, with precharge, delay and slew measurements. |
137
+ | GF180MCU | [Classic PTAT](tasks/gf180mcuD/analog-db/cases/tsn_002_ptat_classic/problem.md) | 6 | Temperature-dependent bias, isolated body connections and a coupled startup branch. |
138
+ | GF180MCU | [Basic PMOS LDO](tasks/gf180mcuD/analog-db/cases/ldo_004_basic_pmos/problem.md) | 7 | Intermediate regulation: PSRR, output impedance, dropout and recovery under changing load. |
139
+ | GF180MCU | [Four-phase VCO](tasks/gf180mcuD/tt_tnt_gf_vco/cases/vco/problem.md) | 8 | Self-oscillation, tuning and relative output phases at two control voltages. |
140
+ | IHP SG13G2 | [NMOS track-and-hold](tasks/ihp-sg13g2/analog-db/cases/smp_001_nmos_th/problem.md) | 5 | Physical charge storage, pedestal, drift, feedthrough and reacquisition across input/temperature conditions. |
141
+ | IHP SG13G2 | [Binary capacitor bank](tasks/ihp-sg13g2/analog-db/cases/sw_003_binary_capbank/problem.md) | 5 | Physical 1:1:2:4 MIM weighting, eight fixed codes and parasitic-dependent gain/step accuracy. |
142
+ | IHP SG13G2 | [SiGe PAM4 driver](tasks/ihp-sg13g2/analog-db/cases/drv_001_pam4_sige_dac/problem.md) | 4 | Weighted HBT current steering with gain and port-reflection observations extending to 50 GHz. |
143
+ | IHP SG13G2 | [Fully differential two-stage OTA](tasks/ihp-sg13g2/analog-db/cases/amp_023_fer_fd2s/problem.md) | 9 | Coupled differential and common-mode control with compensation and transient response. |
144
+ | IHP SG13G2 | [Mirror-OTA LDO](tasks/ihp-sg13g2/analog-db/cases/ldo_008_fer_mirror_ota/problem.md) | 9 | Complex regulation combining return-ratio crossings, startup, line/load response and recovery. |
145
+ | IHP SG13G2 | [Chopper IA with CMFB](tasks/ihp-sg13g2/analog-db/cases/ia_006_fan_chopper_cmfb/problem.md) | 10 | Clock modulation, signal feedback and actual common-mode feedback operating together. |
146
+
147
+ The coefficient bands 1–4, 5–7 and 8–10 contain five, seven and four cases,
148
+ respectively. Their coefficient sums are 16, 40 and 36. This gives a compact
149
+ foundation, substantial intermediate coverage and a smaller demanding tail.
150
+ The RF driver remains coefficient 4 because its contract covers a compact
151
+ feedforward circuit; its specialized devices and extraction flow do not make
152
+ the coefficient an estimate of participant effort. Coefficients are capability
153
+ categories, not a measured difficulty scale.
154
+
155
+ ### Boundaries and alternatives
156
+
157
+ The five-transistor OTA and the fully differential OTA form a deliberate
158
+ progression from compact gain/bias to interacting signal and common-mode loops.
159
+ The two LDOs similarly distinguish intermediate regulation from a broader
160
+ startup/return-ratio/recovery contract. Multiple compensated OTA variants and
161
+ same-PDK LDO alternatives remain available in the full Dataset: topology diversity alone
162
+ does not justify repeatedly weighting similar control objectives in the total.
163
+
164
+ NAND2 supplies the basic logic anchor; AOI21 adds less incremental coverage than
165
+ controlled drive, scan state and SRAM access. The separate SRAM sense amplifier
166
+ overlaps the regenerative-decision capability represented by the StrongARM
167
+ comparator. StrongARM is preferred over the other comparator cases for its
168
+ explicit precharge, slew and two-common-mode measurements. The standalone
169
+ chopper switch overlaps clock modulation in the complete chopper IA; the
170
+ track-and-hold remains because retention and reacquisition are different goals.
171
+
172
+ The resistor ladder and MIM bank exercise different passive networks. The MIM
173
+ bank measures all eight fixed codes but does not evaluate live code switching
174
+ or a complete SAR ADC. The resistor ladder samples ten codes, not a full
175
+ 256-code linearity sweep. Small gain stages, bias/reference cells, variable
176
+ resistors, standalone CMFB blocks and simpler temperature cells remain useful
177
+ focused exercises; their incremental coverage has lower priority in this core
178
+ set than the selected complete circuits and their coupled requirements.
179
+
180
+ The SiGe driver supplies explicitly measured high-frequency behavior. In
181
+ particular, the case named `DC_to_130_GHz_TIA.design_1` currently measures AC
182
+ behavior only through 100 MHz, so its name is not evidence of 130 GHz benchmark
183
+ coverage. The selected driver uses KLayout-PEX capacitance extraction; it does
184
+ not establish distributed interconnect resistance/inductance, eye quality or
185
+ complete RF signoff. Likewise, the VCO contract does not measure phase noise or
186
+ jitter. These limits apply when describing benchmark coverage.
187
+
188
+ ### Evidence and revision
189
+
190
+ This selection is a structural coverage judgment grounded in published case
191
+ contracts and validation associations. It does not yet establish empirical
192
+ participant discrimination. Validate that separately with complete runs from
193
+ multiple participants and repeated trials: compare per-case success rates,
194
+ score spread, completion cost and correlations between related cases. Separate
195
+ tool errors from physical/electrical failures; do not treat unknown scores as
196
+ zero. A universally easy or hard case can still serve as an anchor, but it
197
+ should not dominate the suite through redundant companions.
198
+
199
+ Revisit membership when evidence shows redundant outcomes or a missing
200
+ capability. Configuration and task-contract digests identify changes automatically; retain
201
+ archived definitions and avoid tuning case coefficients to obtain a preferred
202
+ ranking.
203
+
204
+ </details>
data.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
tasks/freepdk45/OpenRAM/LICENSE ADDED
@@ -0,0 +1,674 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+ Preamble
9
+
10
+ The GNU General Public License is a free, copyleft license for
11
+ software and other kinds of works.
12
+
13
+ The licenses for most software and other practical works are designed
14
+ to take away your freedom to share and change the works. By contrast,
15
+ the GNU General Public License is intended to guarantee your freedom to
16
+ share and change all versions of a program--to make sure it remains free
17
+ software for all its users. We, the Free Software Foundation, use the
18
+ GNU General Public License for most of our software; it applies also to
19
+ any other work released this way by its authors. You can apply it to
20
+ your programs, too.
21
+
22
+ When we speak of free software, we are referring to freedom, not
23
+ price. Our General Public Licenses are designed to make sure that you
24
+ have the freedom to distribute copies of free software (and charge for
25
+ them if you wish), that you receive source code or can get it if you
26
+ want it, that you can change the software or use pieces of it in new
27
+ free programs, and that you know you can do these things.
28
+
29
+ To protect your rights, we need to prevent others from denying you
30
+ these rights or asking you to surrender the rights. Therefore, you have
31
+ certain responsibilities if you distribute copies of the software, or if
32
+ you modify it: responsibilities to respect the freedom of others.
33
+
34
+ For example, if you distribute copies of such a program, whether
35
+ gratis or for a fee, you must pass on to the recipients the same
36
+ freedoms that you received. You must make sure that they, too, receive
37
+ or can get the source code. And you must show them these terms so they
38
+ know their rights.
39
+
40
+ Developers that use the GNU GPL protect your rights with two steps:
41
+ (1) assert copyright on the software, and (2) offer you this License
42
+ giving you legal permission to copy, distribute and/or modify it.
43
+
44
+ For the developers' and authors' protection, the GPL clearly explains
45
+ that there is no warranty for this free software. For both users' and
46
+ authors' sake, the GPL requires that modified versions be marked as
47
+ changed, so that their problems will not be attributed erroneously to
48
+ authors of previous versions.
49
+
50
+ Some devices are designed to deny users access to install or run
51
+ modified versions of the software inside them, although the manufacturer
52
+ can do so. This is fundamentally incompatible with the aim of
53
+ protecting users' freedom to change the software. The systematic
54
+ pattern of such abuse occurs in the area of products for individuals to
55
+ use, which is precisely where it is most unacceptable. Therefore, we
56
+ have designed this version of the GPL to prohibit the practice for those
57
+ products. If such problems arise substantially in other domains, we
58
+ stand ready to extend this provision to those domains in future versions
59
+ of the GPL, as needed to protect the freedom of users.
60
+
61
+ Finally, every program is threatened constantly by software patents.
62
+ States should not allow patents to restrict development and use of
63
+ software on general-purpose computers, but in those that do, we wish to
64
+ avoid the special danger that patents applied to a free program could
65
+ make it effectively proprietary. To prevent this, the GPL assures that
66
+ patents cannot be used to render the program non-free.
67
+
68
+ The precise terms and conditions for copying, distribution and
69
+ modification follow.
70
+
71
+ TERMS AND CONDITIONS
72
+
73
+ 0. Definitions.
74
+
75
+ "This License" refers to version 3 of the GNU General Public License.
76
+
77
+ "Copyright" also means copyright-like laws that apply to other kinds of
78
+ works, such as semiconductor masks.
79
+
80
+ "The Program" refers to any copyrightable work licensed under this
81
+ License. Each licensee is addressed as "you". "Licensees" and
82
+ "recipients" may be individuals or organizations.
83
+
84
+ To "modify" a work means to copy from or adapt all or part of the work
85
+ in a fashion requiring copyright permission, other than the making of an
86
+ exact copy. The resulting work is called a "modified version" of the
87
+ earlier work or a work "based on" the earlier work.
88
+
89
+ A "covered work" means either the unmodified Program or a work based
90
+ on the Program.
91
+
92
+ To "propagate" a work means to do anything with it that, without
93
+ permission, would make you directly or secondarily liable for
94
+ infringement under applicable copyright law, except executing it on a
95
+ computer or modifying a private copy. Propagation includes copying,
96
+ distribution (with or without modification), making available to the
97
+ public, and in some countries other activities as well.
98
+
99
+ To "convey" a work means any kind of propagation that enables other
100
+ parties to make or receive copies. Mere interaction with a user through
101
+ a computer network, with no transfer of a copy, is not conveying.
102
+
103
+ An interactive user interface displays "Appropriate Legal Notices"
104
+ to the extent that it includes a convenient and prominently visible
105
+ feature that (1) displays an appropriate copyright notice, and (2)
106
+ tells the user that there is no warranty for the work (except to the
107
+ extent that warranties are provided), that licensees may convey the
108
+ work under this License, and how to view a copy of this License. If
109
+ the interface presents a list of user commands or options, such as a
110
+ menu, a prominent item in the list meets this criterion.
111
+
112
+ 1. Source Code.
113
+
114
+ The "source code" for a work means the preferred form of the work
115
+ for making modifications to it. "Object code" means any non-source
116
+ form of a work.
117
+
118
+ A "Standard Interface" means an interface that either is an official
119
+ standard defined by a recognized standards body, or, in the case of
120
+ interfaces specified for a particular programming language, one that
121
+ is widely used among developers working in that language.
122
+
123
+ The "System Libraries" of an executable work include anything, other
124
+ than the work as a whole, that (a) is included in the normal form of
125
+ packaging a Major Component, but which is not part of that Major
126
+ Component, and (b) serves only to enable use of the work with that
127
+ Major Component, or to implement a Standard Interface for which an
128
+ implementation is available to the public in source code form. A
129
+ "Major Component", in this context, means a major essential component
130
+ (kernel, window system, and so on) of the specific operating system
131
+ (if any) on which the executable work runs, or a compiler used to
132
+ produce the work, or an object code interpreter used to run it.
133
+
134
+ The "Corresponding Source" for a work in object code form means all
135
+ the source code needed to generate, install, and (for an executable
136
+ work) run the object code and to modify the work, including scripts to
137
+ control those activities. However, it does not include the work's
138
+ System Libraries, or general-purpose tools or generally available free
139
+ programs which are used unmodified in performing those activities but
140
+ which are not part of the work. For example, Corresponding Source
141
+ includes interface definition files associated with source files for
142
+ the work, and the source code for shared libraries and dynamically
143
+ linked subprograms that the work is specifically designed to require,
144
+ such as by intimate data communication or control flow between those
145
+ subprograms and other parts of the work.
146
+
147
+ The Corresponding Source need not include anything that users
148
+ can regenerate automatically from other parts of the Corresponding
149
+ Source.
150
+
151
+ The Corresponding Source for a work in source code form is that
152
+ same work.
153
+
154
+ 2. Basic Permissions.
155
+
156
+ All rights granted under this License are granted for the term of
157
+ copyright on the Program, and are irrevocable provided the stated
158
+ conditions are met. This License explicitly affirms your unlimited
159
+ permission to run the unmodified Program. The output from running a
160
+ covered work is covered by this License only if the output, given its
161
+ content, constitutes a covered work. This License acknowledges your
162
+ rights of fair use or other equivalent, as provided by copyright law.
163
+
164
+ You may make, run and propagate covered works that you do not
165
+ convey, without conditions so long as your license otherwise remains
166
+ in force. You may convey covered works to others for the sole purpose
167
+ of having them make modifications exclusively for you, or provide you
168
+ with facilities for running those works, provided that you comply with
169
+ the terms of this License in conveying all material for which you do
170
+ not control copyright. Those thus making or running the covered works
171
+ for you must do so exclusively on your behalf, under your direction
172
+ and control, on terms that prohibit them from making any copies of
173
+ your copyrighted material outside their relationship with you.
174
+
175
+ Conveying under any other circumstances is permitted solely under
176
+ the conditions stated below. Sublicensing is not allowed; section 10
177
+ makes it unnecessary.
178
+
179
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180
+
181
+ No covered work shall be deemed part of an effective technological
182
+ measure under any applicable law fulfilling obligations under article
183
+ 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184
+ similar laws prohibiting or restricting circumvention of such
185
+ measures.
186
+
187
+ When you convey a covered work, you waive any legal power to forbid
188
+ circumvention of technological measures to the extent such circumvention
189
+ is effected by exercising rights under this License with respect to
190
+ the covered work, and you disclaim any intention to limit operation or
191
+ modification of the work as a means of enforcing, against the work's
192
+ users, your or third parties' legal rights to forbid circumvention of
193
+ technological measures.
194
+
195
+ 4. Conveying Verbatim Copies.
196
+
197
+ You may convey verbatim copies of the Program's source code as you
198
+ receive it, in any medium, provided that you conspicuously and
199
+ appropriately publish on each copy an appropriate copyright notice;
200
+ keep intact all notices stating that this License and any
201
+ non-permissive terms added in accord with section 7 apply to the code;
202
+ keep intact all notices of the absence of any warranty; and give all
203
+ recipients a copy of this License along with the Program.
204
+
205
+ You may charge any price or no price for each copy that you convey,
206
+ and you may offer support or warranty protection for a fee.
207
+
208
+ 5. Conveying Modified Source Versions.
209
+
210
+ You may convey a work based on the Program, or the modifications to
211
+ produce it from the Program, in the form of source code under the
212
+ terms of section 4, provided that you also meet all of these conditions:
213
+
214
+ a) The work must carry prominent notices stating that you modified
215
+ it, and giving a relevant date.
216
+
217
+ b) The work must carry prominent notices stating that it is
218
+ released under this License and any conditions added under section
219
+ 7. This requirement modifies the requirement in section 4 to
220
+ "keep intact all notices".
221
+
222
+ c) You must license the entire work, as a whole, under this
223
+ License to anyone who comes into possession of a copy. This
224
+ License will therefore apply, along with any applicable section 7
225
+ additional terms, to the whole of the work, and all its parts,
226
+ regardless of how they are packaged. This License gives no
227
+ permission to license the work in any other way, but it does not
228
+ invalidate such permission if you have separately received it.
229
+
230
+ d) If the work has interactive user interfaces, each must display
231
+ Appropriate Legal Notices; however, if the Program has interactive
232
+ interfaces that do not display Appropriate Legal Notices, your
233
+ work need not make them do so.
234
+
235
+ A compilation of a covered work with other separate and independent
236
+ works, which are not by their nature extensions of the covered work,
237
+ and which are not combined with it such as to form a larger program,
238
+ in or on a volume of a storage or distribution medium, is called an
239
+ "aggregate" if the compilation and its resulting copyright are not
240
+ used to limit the access or legal rights of the compilation's users
241
+ beyond what the individual works permit. Inclusion of a covered work
242
+ in an aggregate does not cause this License to apply to the other
243
+ parts of the aggregate.
244
+
245
+ 6. Conveying Non-Source Forms.
246
+
247
+ You may convey a covered work in object code form under the terms
248
+ of sections 4 and 5, provided that you also convey the
249
+ machine-readable Corresponding Source under the terms of this License,
250
+ in one of these ways:
251
+
252
+ a) Convey the object code in, or embodied in, a physical product
253
+ (including a physical distribution medium), accompanied by the
254
+ Corresponding Source fixed on a durable physical medium
255
+ customarily used for software interchange.
256
+
257
+ b) Convey the object code in, or embodied in, a physical product
258
+ (including a physical distribution medium), accompanied by a
259
+ written offer, valid for at least three years and valid for as
260
+ long as you offer spare parts or customer support for that product
261
+ model, to give anyone who possesses the object code either (1) a
262
+ copy of the Corresponding Source for all the software in the
263
+ product that is covered by this License, on a durable physical
264
+ medium customarily used for software interchange, for a price no
265
+ more than your reasonable cost of physically performing this
266
+ conveying of source, or (2) access to copy the
267
+ Corresponding Source from a network server at no charge.
268
+
269
+ c) Convey individual copies of the object code with a copy of the
270
+ written offer to provide the Corresponding Source. This
271
+ alternative is allowed only occasionally and noncommercially, and
272
+ only if you received the object code with such an offer, in accord
273
+ with subsection 6b.
274
+
275
+ d) Convey the object code by offering access from a designated
276
+ place (gratis or for a charge), and offer equivalent access to the
277
+ Corresponding Source in the same way through the same place at no
278
+ further charge. You need not require recipients to copy the
279
+ Corresponding Source along with the object code. If the place to
280
+ copy the object code is a network server, the Corresponding Source
281
+ may be on a different server (operated by you or a third party)
282
+ that supports equivalent copying facilities, provided you maintain
283
+ clear directions next to the object code saying where to find the
284
+ Corresponding Source. Regardless of what server hosts the
285
+ Corresponding Source, you remain obligated to ensure that it is
286
+ available for as long as needed to satisfy these requirements.
287
+
288
+ e) Convey the object code using peer-to-peer transmission, provided
289
+ you inform other peers where the object code and Corresponding
290
+ Source of the work are being offered to the general public at no
291
+ charge under subsection 6d.
292
+
293
+ A separable portion of the object code, whose source code is excluded
294
+ from the Corresponding Source as a System Library, need not be
295
+ included in conveying the object code work.
296
+
297
+ A "User Product" is either (1) a "consumer product", which means any
298
+ tangible personal property which is normally used for personal, family,
299
+ or household purposes, or (2) anything designed or sold for incorporation
300
+ into a dwelling. In determining whether a product is a consumer product,
301
+ doubtful cases shall be resolved in favor of coverage. For a particular
302
+ product received by a particular user, "normally used" refers to a
303
+ typical or common use of that class of product, regardless of the status
304
+ of the particular user or of the way in which the particular user
305
+ actually uses, or expects or is expected to use, the product. A product
306
+ is a consumer product regardless of whether the product has substantial
307
+ commercial, industrial or non-consumer uses, unless such uses represent
308
+ the only significant mode of use of the product.
309
+
310
+ "Installation Information" for a User Product means any methods,
311
+ procedures, authorization keys, or other information required to install
312
+ and execute modified versions of a covered work in that User Product from
313
+ a modified version of its Corresponding Source. The information must
314
+ suffice to ensure that the continued functioning of the modified object
315
+ code is in no case prevented or interfered with solely because
316
+ modification has been made.
317
+
318
+ If you convey an object code work under this section in, or with, or
319
+ specifically for use in, a User Product, and the conveying occurs as
320
+ part of a transaction in which the right of possession and use of the
321
+ User Product is transferred to the recipient in perpetuity or for a
322
+ fixed term (regardless of how the transaction is characterized), the
323
+ Corresponding Source conveyed under this section must be accompanied
324
+ by the Installation Information. But this requirement does not apply
325
+ if neither you nor any third party retains the ability to install
326
+ modified object code on the User Product (for example, the work has
327
+ been installed in ROM).
328
+
329
+ The requirement to provide Installation Information does not include a
330
+ requirement to continue to provide support service, warranty, or updates
331
+ for a work that has been modified or installed by the recipient, or for
332
+ the User Product in which it has been modified or installed. Access to a
333
+ network may be denied when the modification itself materially and
334
+ adversely affects the operation of the network or violates the rules and
335
+ protocols for communication across the network.
336
+
337
+ Corresponding Source conveyed, and Installation Information provided,
338
+ in accord with this section must be in a format that is publicly
339
+ documented (and with an implementation available to the public in
340
+ source code form), and must require no special password or key for
341
+ unpacking, reading or copying.
342
+
343
+ 7. Additional Terms.
344
+
345
+ "Additional permissions" are terms that supplement the terms of this
346
+ License by making exceptions from one or more of its conditions.
347
+ Additional permissions that are applicable to the entire Program shall
348
+ be treated as though they were included in this License, to the extent
349
+ that they are valid under applicable law. If additional permissions
350
+ apply only to part of the Program, that part may be used separately
351
+ under those permissions, but the entire Program remains governed by
352
+ this License without regard to the additional permissions.
353
+
354
+ When you convey a copy of a covered work, you may at your option
355
+ remove any additional permissions from that copy, or from any part of
356
+ it. (Additional permissions may be written to require their own
357
+ removal in certain cases when you modify the work.) You may place
358
+ additional permissions on material, added by you to a covered work,
359
+ for which you have or can give appropriate copyright permission.
360
+
361
+ Notwithstanding any other provision of this License, for material you
362
+ add to a covered work, you may (if authorized by the copyright holders of
363
+ that material) supplement the terms of this License with terms:
364
+
365
+ a) Disclaiming warranty or limiting liability differently from the
366
+ terms of sections 15 and 16 of this License; or
367
+
368
+ b) Requiring preservation of specified reasonable legal notices or
369
+ author attributions in that material or in the Appropriate Legal
370
+ Notices displayed by works containing it; or
371
+
372
+ c) Prohibiting misrepresentation of the origin of that material, or
373
+ requiring that modified versions of such material be marked in
374
+ reasonable ways as different from the original version; or
375
+
376
+ d) Limiting the use for publicity purposes of names of licensors or
377
+ authors of the material; or
378
+
379
+ e) Declining to grant rights under trademark law for use of some
380
+ trade names, trademarks, or service marks; or
381
+
382
+ f) Requiring indemnification of licensors and authors of that
383
+ material by anyone who conveys the material (or modified versions of
384
+ it) with contractual assumptions of liability to the recipient, for
385
+ any liability that these contractual assumptions directly impose on
386
+ those licensors and authors.
387
+
388
+ All other non-permissive additional terms are considered "further
389
+ restrictions" within the meaning of section 10. If the Program as you
390
+ received it, or any part of it, contains a notice stating that it is
391
+ governed by this License along with a term that is a further
392
+ restriction, you may remove that term. If a license document contains
393
+ a further restriction but permits relicensing or conveying under this
394
+ License, you may add to a covered work material governed by the terms
395
+ of that license document, provided that the further restriction does
396
+ not survive such relicensing or conveying.
397
+
398
+ If you add terms to a covered work in accord with this section, you
399
+ must place, in the relevant source files, a statement of the
400
+ additional terms that apply to those files, or a notice indicating
401
+ where to find the applicable terms.
402
+
403
+ Additional terms, permissive or non-permissive, may be stated in the
404
+ form of a separately written license, or stated as exceptions;
405
+ the above requirements apply either way.
406
+
407
+ 8. Termination.
408
+
409
+ You may not propagate or modify a covered work except as expressly
410
+ provided under this License. Any attempt otherwise to propagate or
411
+ modify it is void, and will automatically terminate your rights under
412
+ this License (including any patent licenses granted under the third
413
+ paragraph of section 11).
414
+
415
+ However, if you cease all violation of this License, then your
416
+ license from a particular copyright holder is reinstated (a)
417
+ provisionally, unless and until the copyright holder explicitly and
418
+ finally terminates your license, and (b) permanently, if the copyright
419
+ holder fails to notify you of the violation by some reasonable means
420
+ prior to 60 days after the cessation.
421
+
422
+ Moreover, your license from a particular copyright holder is
423
+ reinstated permanently if the copyright holder notifies you of the
424
+ violation by some reasonable means, this is the first time you have
425
+ received notice of violation of this License (for any work) from that
426
+ copyright holder, and you cure the violation prior to 30 days after
427
+ your receipt of the notice.
428
+
429
+ Termination of your rights under this section does not terminate the
430
+ licenses of parties who have received copies or rights from you under
431
+ this License. If your rights have been terminated and not permanently
432
+ reinstated, you do not qualify to receive new licenses for the same
433
+ material under section 10.
434
+
435
+ 9. Acceptance Not Required for Having Copies.
436
+
437
+ You are not required to accept this License in order to receive or
438
+ run a copy of the Program. Ancillary propagation of a covered work
439
+ occurring solely as a consequence of using peer-to-peer transmission
440
+ to receive a copy likewise does not require acceptance. However,
441
+ nothing other than this License grants you permission to propagate or
442
+ modify any covered work. These actions infringe copyright if you do
443
+ not accept this License. Therefore, by modifying or propagating a
444
+ covered work, you indicate your acceptance of this License to do so.
445
+
446
+ 10. Automatic Licensing of Downstream Recipients.
447
+
448
+ Each time you convey a covered work, the recipient automatically
449
+ receives a license from the original licensors, to run, modify and
450
+ propagate that work, subject to this License. You are not responsible
451
+ for enforcing compliance by third parties with this License.
452
+
453
+ An "entity transaction" is a transaction transferring control of an
454
+ organization, or substantially all assets of one, or subdividing an
455
+ organization, or merging organizations. If propagation of a covered
456
+ work results from an entity transaction, each party to that
457
+ transaction who receives a copy of the work also receives whatever
458
+ licenses to the work the party's predecessor in interest had or could
459
+ give under the previous paragraph, plus a right to possession of the
460
+ Corresponding Source of the work from the predecessor in interest, if
461
+ the predecessor has it or can get it with reasonable efforts.
462
+
463
+ You may not impose any further restrictions on the exercise of the
464
+ rights granted or affirmed under this License. For example, you may
465
+ not impose a license fee, royalty, or other charge for exercise of
466
+ rights granted under this License, and you may not initiate litigation
467
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
468
+ any patent claim is infringed by making, using, selling, offering for
469
+ sale, or importing the Program or any portion of it.
470
+
471
+ 11. Patents.
472
+
473
+ A "contributor" is a copyright holder who authorizes use under this
474
+ License of the Program or a work on which the Program is based. The
475
+ work thus licensed is called the contributor's "contributor version".
476
+
477
+ A contributor's "essential patent claims" are all patent claims
478
+ owned or controlled by the contributor, whether already acquired or
479
+ hereafter acquired, that would be infringed by some manner, permitted
480
+ by this License, of making, using, or selling its contributor version,
481
+ but do not include claims that would be infringed only as a
482
+ consequence of further modification of the contributor version. For
483
+ purposes of this definition, "control" includes the right to grant
484
+ patent sublicenses in a manner consistent with the requirements of
485
+ this License.
486
+
487
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
488
+ patent license under the contributor's essential patent claims, to
489
+ make, use, sell, offer for sale, import and otherwise run, modify and
490
+ propagate the contents of its contributor version.
491
+
492
+ In the following three paragraphs, a "patent license" is any express
493
+ agreement or commitment, however denominated, not to enforce a patent
494
+ (such as an express permission to practice a patent or covenant not to
495
+ sue for patent infringement). To "grant" such a patent license to a
496
+ party means to make such an agreement or commitment not to enforce a
497
+ patent against the party.
498
+
499
+ If you convey a covered work, knowingly relying on a patent license,
500
+ and the Corresponding Source of the work is not available for anyone
501
+ to copy, free of charge and under the terms of this License, through a
502
+ publicly available network server or other readily accessible means,
503
+ then you must either (1) cause the Corresponding Source to be so
504
+ available, or (2) arrange to deprive yourself of the benefit of the
505
+ patent license for this particular work, or (3) arrange, in a manner
506
+ consistent with the requirements of this License, to extend the patent
507
+ license to downstream recipients. "Knowingly relying" means you have
508
+ actual knowledge that, but for the patent license, your conveying the
509
+ covered work in a country, or your recipient's use of the covered work
510
+ in a country, would infringe one or more identifiable patents in that
511
+ country that you have reason to believe are valid.
512
+
513
+ If, pursuant to or in connection with a single transaction or
514
+ arrangement, you convey, or propagate by procuring conveyance of, a
515
+ covered work, and grant a patent license to some of the parties
516
+ receiving the covered work authorizing them to use, propagate, modify
517
+ or convey a specific copy of the covered work, then the patent license
518
+ you grant is automatically extended to all recipients of the covered
519
+ work and works based on it.
520
+
521
+ A patent license is "discriminatory" if it does not include within
522
+ the scope of its coverage, prohibits the exercise of, or is
523
+ conditioned on the non-exercise of one or more of the rights that are
524
+ specifically granted under this License. You may not convey a covered
525
+ work if you are a party to an arrangement with a third party that is
526
+ in the business of distributing software, under which you make payment
527
+ to the third party based on the extent of your activity of conveying
528
+ the work, and under which the third party grants, to any of the
529
+ parties who would receive the covered work from you, a discriminatory
530
+ patent license (a) in connection with copies of the covered work
531
+ conveyed by you (or copies made from those copies), or (b) primarily
532
+ for and in connection with specific products or compilations that
533
+ contain the covered work, unless you entered into that arrangement,
534
+ or that patent license was granted, prior to 28 March 2007.
535
+
536
+ Nothing in this License shall be construed as excluding or limiting
537
+ any implied license or other defenses to infringement that may
538
+ otherwise be available to you under applicable patent law.
539
+
540
+ 12. No Surrender of Others' Freedom.
541
+
542
+ If conditions are imposed on you (whether by court order, agreement or
543
+ otherwise) that contradict the conditions of this License, they do not
544
+ excuse you from the conditions of this License. If you cannot convey a
545
+ covered work so as to satisfy simultaneously your obligations under this
546
+ License and any other pertinent obligations, then as a consequence you may
547
+ not convey it at all. For example, if you agree to terms that obligate you
548
+ to collect a royalty for further conveying from those to whom you convey
549
+ the Program, the only way you could satisfy both those terms and this
550
+ License would be to refrain entirely from conveying the Program.
551
+
552
+ 13. Use with the GNU Affero General Public License.
553
+
554
+ Notwithstanding any other provision of this License, you have
555
+ permission to link or combine any covered work with a work licensed
556
+ under version 3 of the GNU Affero General Public License into a single
557
+ combined work, and to convey the resulting work. The terms of this
558
+ License will continue to apply to the part which is the covered work,
559
+ but the special requirements of the GNU Affero General Public License,
560
+ section 13, concerning interaction through a network will apply to the
561
+ combination as such.
562
+
563
+ 14. Revised Versions of this License.
564
+
565
+ The Free Software Foundation may publish revised and/or new versions of
566
+ the GNU General Public License from time to time. Such new versions will
567
+ be similar in spirit to the present version, but may differ in detail to
568
+ address new problems or concerns.
569
+
570
+ Each version is given a distinguishing version number. If the
571
+ Program specifies that a certain numbered version of the GNU General
572
+ Public License "or any later version" applies to it, you have the
573
+ option of following the terms and conditions either of that numbered
574
+ version or of any later version published by the Free Software
575
+ Foundation. If the Program does not specify a version number of the
576
+ GNU General Public License, you may choose any version ever published
577
+ by the Free Software Foundation.
578
+
579
+ If the Program specifies that a proxy can decide which future
580
+ versions of the GNU General Public License can be used, that proxy's
581
+ public statement of acceptance of a version permanently authorizes you
582
+ to choose that version for the Program.
583
+
584
+ Later license versions may give you additional or different
585
+ permissions. However, no additional obligations are imposed on any
586
+ author or copyright holder as a result of your choosing to follow a
587
+ later version.
588
+
589
+ 15. Disclaimer of Warranty.
590
+
591
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592
+ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594
+ OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597
+ IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598
+ ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599
+
600
+ 16. Limitation of Liability.
601
+
602
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604
+ THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605
+ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606
+ USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607
+ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608
+ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609
+ EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610
+ SUCH DAMAGES.
611
+
612
+ 17. Interpretation of Sections 15 and 16.
613
+
614
+ If the disclaimer of warranty and limitation of liability provided
615
+ above cannot be given local legal effect according to their terms,
616
+ reviewing courts shall apply local law that most closely approximates
617
+ an absolute waiver of all civil liability in connection with the
618
+ Program, unless a warranty or assumption of liability accompanies a
619
+ copy of the Program in return for a fee.
620
+
621
+ END OF TERMS AND CONDITIONS
622
+
623
+ How to Apply These Terms to Your New Programs
624
+
625
+ If you develop a new program, and you want it to be of the greatest
626
+ possible use to the public, the best way to achieve this is to make it
627
+ free software which everyone can redistribute and change under these terms.
628
+
629
+ To do so, attach the following notices to the program. It is safest
630
+ to attach them to the start of each source file to most effectively
631
+ state the exclusion of warranty; and each file should have at least
632
+ the "copyright" line and a pointer to where the full notice is found.
633
+
634
+ <one line to give the program's name and a brief idea of what it does.>
635
+ Copyright (C) <year> <name of author>
636
+
637
+ This program is free software: you can redistribute it and/or modify
638
+ it under the terms of the GNU General Public License as published by
639
+ the Free Software Foundation, either version 3 of the License, or
640
+ (at your option) any later version.
641
+
642
+ This program is distributed in the hope that it will be useful,
643
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
644
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645
+ GNU General Public License for more details.
646
+
647
+ You should have received a copy of the GNU General Public License
648
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
649
+
650
+ Also add information on how to contact you by electronic and paper mail.
651
+
652
+ If the program does terminal interaction, make it output a short
653
+ notice like this when it starts in an interactive mode:
654
+
655
+ <program> Copyright (C) <year> <name of author>
656
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657
+ This is free software, and you are welcome to redistribute it
658
+ under certain conditions; type `show c' for details.
659
+
660
+ The hypothetical commands `show w' and `show c' should show the appropriate
661
+ parts of the General Public License. Of course, your program's commands
662
+ might be different; for a GUI interface, you would use an "about box".
663
+
664
+ You should also get your employer (if you work as a programmer) or school,
665
+ if any, to sign a "copyright disclaimer" for the program, if necessary.
666
+ For more information on this, and how to apply and follow the GNU GPL, see
667
+ <http://www.gnu.org/licenses/>.
668
+
669
+ The GNU General Public License does not permit incorporating your program
670
+ into proprietary programs. If your program is a subroutine library, you
671
+ may consider it more useful to permit linking proprietary applications with
672
+ the library. If this is what you want to do, use the GNU Lesser General
673
+ Public License instead of this License. But first, please read
674
+ <http://www.gnu.org/philosophy/why-not-lgpl.html>.
tasks/freepdk45/OpenRAM/NOTICE ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ OpenRAM FreePDK45 circuit notices
2
+
3
+ Source: https://github.com/ferdous313/OpenRAM/tree/420a33e731d7d80bf9c7cd54ffbeec3603259847
4
+ Selected circuit: technology/freepdk45/sp_lib/cell_6t.sp (cell_6t)
5
+ The accompanying LICENSE is the source repository's GPL-3.0 license.
6
+ Layout-Bench netlist modification: none to the SPICE bytes.
7
+ The candidate reference GDS is a selected-cell export of technology/freepdk45/gds_lib/cell_6t.gds; Geometry and netlist are unchanged.
8
+ No model files, Cadence technology files or Calibre SVRF are distributed here.
9
+ FreePDK45 process collateral has separate upstream terms; the repository license
10
+ must not be treated as a license grant for separately sourced PDK assets.
11
+
12
+ Source: https://github.com/ferdous313/OpenRAM/tree/420a33e731d7d80bf9c7cd54ffbeec3603259847
13
+ Selected circuit: technology/freepdk45/sp_lib/sense_amp.sp (sense_amp)
14
+ The accompanying LICENSE is the source repository's GPL-3.0 license.
15
+ Layout-Bench netlist modification: none to the SPICE bytes.
16
+ The candidate reference GDS is a selected-cell export of technology/freepdk45/gds_lib/sense_amp.gds; Six overlapping duplicate contacts are removed; transistor geometry and circuit parameters are unchanged.
17
+ No model files, Cadence technology files or Calibre SVRF are distributed here.
18
+ FreePDK45 process collateral has separate upstream terms; the repository license
19
+ must not be treated as a license grant for separately sourced PDK assets.
20
+
21
+ Source: https://github.com/ferdous313/OpenRAM/tree/420a33e731d7d80bf9c7cd54ffbeec3603259847
22
+ Selected circuit: technology/freepdk45/sp_lib/write_driver.sp (write_driver)
23
+ The accompanying LICENSE is the source repository's GPL-3.0 license.
24
+ Layout-Bench netlist modification: none to the SPICE bytes.
25
+ The candidate reference GDS is a selected-cell export of technology/freepdk45/gds_lib/write_driver.gds; The enable label is wen, matching the authoritative SPICE port; conductor and transistor geometry are unchanged.
26
+ No model files, Cadence technology files or Calibre SVRF are distributed here.
27
+ FreePDK45 process collateral has separate upstream terms; the repository license
28
+ must not be treated as a license grant for separately sourced PDK assets.
tasks/freepdk45/OpenRAM/cases/cell_6t/case.toml ADDED
@@ -0,0 +1,592 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ in_core = true
2
+ kind = "layout_case"
3
+ id = "freepdk45.OpenRAM.cell_6t"
4
+ title = "Six-Transistor SRAM Bitcell"
5
+ status = "qualified"
6
+
7
+ [[assets]]
8
+ path = "materials/schematic.svg"
9
+ role = "schematic"
10
+ visibility = "maintainer"
11
+ format = "svg"
12
+ sha256 = "38ce484f184eaac9f1ec0de9455efc1e4ef2b6ef27cd0e8a9176cebb9bc47329"
13
+
14
+ [[assets]]
15
+ path = "reference/cell_6t.gds"
16
+ role = "reference"
17
+ visibility = "maintainer"
18
+ format = "gds"
19
+ sha256 = "400d0f5640f07266e4b17b4d3d765ca04ffbabe03dd1122195f277e5ea558fdc"
20
+
21
+ [task]
22
+ hours = 3
23
+ kind = "netlist_to_gds"
24
+ family = "freepdk45_cell_6t"
25
+ coefficient = 6
26
+ environment = "freepdk45-nominal-predictive-rc"
27
+
28
+ [task.inputs.description]
29
+ path = "problem.md"
30
+ sha256 = "89d9934e6f3bca7303ae3d06d6bd78f4aaf5791e9cf28be79888e6ffc4050e02"
31
+ format = "text"
32
+
33
+ [task.inputs.netlist]
34
+ path = "materials/circuit.spice"
35
+ sha256 = "18518f33516076c2bdca25c7036319734470c7757e3b1a2ab5c8e93b21fb4488"
36
+ format = "spice"
37
+ subcircuit = "cell_6t"
38
+
39
+ [task.inputs.performance]
40
+ path = "materials/testbench.spice"
41
+ format = "spice"
42
+ sha256 = "bc0034d4bde558134f21b5ad453623f4cd93862d8fe7761a1a8752ba21051006"
43
+
44
+ [task.constraints]
45
+ quality = [
46
+ { id = "area", type = "functional_bbox_area", layers_from = "outline" },
47
+ ]
48
+
49
+ [[task.constraints.hard]]
50
+ id = "outline"
51
+ type = "bbox_max"
52
+ functional_layers = [
53
+ [
54
+ 1,
55
+ 0,
56
+ ],
57
+ [
58
+ 2,
59
+ 0,
60
+ ],
61
+ [
62
+ 3,
63
+ 0,
64
+ ],
65
+ [
66
+ 4,
67
+ 0,
68
+ ],
69
+ [
70
+ 5,
71
+ 0,
72
+ ],
73
+ [
74
+ 6,
75
+ 0,
76
+ ],
77
+ [
78
+ 7,
79
+ 0,
80
+ ],
81
+ [
82
+ 8,
83
+ 0,
84
+ ],
85
+ [
86
+ 9,
87
+ 0,
88
+ ],
89
+ [
90
+ 10,
91
+ 0,
92
+ ],
93
+ [
94
+ 11,
95
+ 0,
96
+ ],
97
+ [
98
+ 12,
99
+ 0,
100
+ ],
101
+ [
102
+ 13,
103
+ 0,
104
+ ],
105
+ [
106
+ 14,
107
+ 0,
108
+ ],
109
+ [
110
+ 15,
111
+ 0,
112
+ ],
113
+ [
114
+ 16,
115
+ 0,
116
+ ],
117
+ [
118
+ 17,
119
+ 0,
120
+ ],
121
+ [
122
+ 18,
123
+ 0,
124
+ ],
125
+ [
126
+ 19,
127
+ 0,
128
+ ],
129
+ [
130
+ 20,
131
+ 0,
132
+ ],
133
+ [
134
+ 21,
135
+ 0,
136
+ ],
137
+ [
138
+ 22,
139
+ 0,
140
+ ],
141
+ [
142
+ 23,
143
+ 0,
144
+ ],
145
+ [
146
+ 24,
147
+ 0,
148
+ ],
149
+ [
150
+ 25,
151
+ 0,
152
+ ],
153
+ [
154
+ 26,
155
+ 0,
156
+ ],
157
+ [
158
+ 27,
159
+ 0,
160
+ ],
161
+ [
162
+ 28,
163
+ 0,
164
+ ],
165
+ [
166
+ 29,
167
+ 0,
168
+ ],
169
+ ]
170
+ max_width_um = 100
171
+ max_height_um = 100
172
+
173
+ [task.output]
174
+ path = "output/final.gds"
175
+ format = "gds"
176
+ top_cell = "cell_6t"
177
+ max_bytes = 10485760
178
+
179
+ [task.evaluation]
180
+ mode = "post_layout"
181
+
182
+ [[task.evaluation.jobs]]
183
+ id = "artifact"
184
+ stage = "check"
185
+ operation = "layout.artifact"
186
+ gate = "artifact"
187
+
188
+ [task.evaluation.jobs.inputs]
189
+ layout = "candidate"
190
+ task = "task"
191
+
192
+ [[task.evaluation.jobs]]
193
+ id = "drc"
194
+ stage = "check"
195
+ operation = "layout.drc"
196
+ gate = "drc"
197
+
198
+ [task.evaluation.jobs.inputs]
199
+ layout = "candidate"
200
+ task = "task"
201
+
202
+ [[task.evaluation.jobs]]
203
+ id = "lvs"
204
+ stage = "check"
205
+ operation = "layout.lvs"
206
+ gate = "lvs"
207
+
208
+ [task.evaluation.jobs.inputs]
209
+ layout = "candidate"
210
+ task = "task"
211
+ netlist = "input:netlist"
212
+
213
+ [task.evaluation.jobs.outputs]
214
+ database = "klayout-lvs"
215
+ binding = "json"
216
+
217
+ [[task.evaluation.jobs]]
218
+ id = "geometry"
219
+ stage = "check"
220
+ operation = "layout.geometry"
221
+ gate = "constraint"
222
+ requires = [
223
+ "artifact",
224
+ "drc",
225
+ "lvs",
226
+ ]
227
+
228
+ [task.evaluation.jobs.inputs]
229
+ layout = "candidate"
230
+ task = "task"
231
+ constraints = "input:constraints"
232
+ database = "job:lvs:database"
233
+ binding = "job:lvs:binding"
234
+
235
+ [[task.evaluation.jobs]]
236
+ id = "parasitics"
237
+ stage = "extract"
238
+ operation = "layout.extract_rc"
239
+ requires = [
240
+ "artifact",
241
+ "drc",
242
+ "lvs",
243
+ "geometry",
244
+ ]
245
+
246
+ [task.evaluation.jobs.inputs]
247
+ layout = "candidate"
248
+ task = "task"
249
+
250
+ [task.evaluation.jobs.outputs]
251
+ netlist = "spice"
252
+
253
+ [task.evaluation.jobs.parameters]
254
+ ports = [
255
+ "bl",
256
+ "br",
257
+ "wl",
258
+ "vdd",
259
+ "gnd",
260
+ ]
261
+
262
+ [[task.evaluation.jobs]]
263
+ id = "nominal"
264
+ stage = "simulate"
265
+ operation = "circuit.simulate"
266
+
267
+ [task.evaluation.jobs.inputs]
268
+ deck = "input:performance"
269
+ dut = "job:parasitics:netlist"
270
+
271
+ [task.evaluation.jobs.outputs]
272
+ waveform = "ngspice-raw"
273
+
274
+ [task.evaluation.jobs.parameters.exports]
275
+ waveform = "waveform.raw"
276
+
277
+ [task.evaluation.jobs.parameters.measurements]
278
+ read0 = "V"
279
+ repeat0 = "V"
280
+ read1 = "V"
281
+ repeat1 = "V"
282
+ supply = "W"
283
+ read_delay_0_1 = "s"
284
+ read_delay_0_2 = "s"
285
+ read_delay_1_5 = "s"
286
+ read_delay_1_6 = "s"
287
+
288
+ [[task.evaluation.metrics]]
289
+ id = "functional_area"
290
+ category = "physical"
291
+ observations = [
292
+ "geometry:area",
293
+ ]
294
+ unit = "um2"
295
+ direction = "minimize"
296
+ aggregation = "max"
297
+
298
+ [[task.evaluation.metrics]]
299
+ id = "read0"
300
+ category = "performance"
301
+ observations = [
302
+ "nominal:read0",
303
+ ]
304
+ unit = "V"
305
+ direction = "maximize"
306
+ aggregation = "min"
307
+ lower = 0.3
308
+
309
+ [[task.evaluation.metrics]]
310
+ id = "repeat0"
311
+ category = "performance"
312
+ observations = [
313
+ "nominal:repeat0",
314
+ ]
315
+ unit = "V"
316
+ direction = "maximize"
317
+ aggregation = "min"
318
+ lower = 0.3
319
+
320
+ [[task.evaluation.metrics]]
321
+ id = "read1"
322
+ category = "performance"
323
+ observations = [
324
+ "nominal:read1",
325
+ ]
326
+ unit = "V"
327
+ direction = "maximize"
328
+ aggregation = "min"
329
+ lower = 0.3
330
+
331
+ [[task.evaluation.metrics]]
332
+ id = "repeat1"
333
+ category = "performance"
334
+ observations = [
335
+ "nominal:repeat1",
336
+ ]
337
+ unit = "V"
338
+ direction = "maximize"
339
+ aggregation = "min"
340
+ lower = 0.3
341
+
342
+ [[task.evaluation.metrics]]
343
+ id = "supply"
344
+ category = "performance"
345
+ observations = [
346
+ "nominal:supply",
347
+ ]
348
+ unit = "W"
349
+ direction = "minimize"
350
+ aggregation = "max"
351
+ dimension = "supply"
352
+ baseline = [
353
+ "source_nominal:supply",
354
+ ]
355
+ normalization = "ratio"
356
+ lower = 0
357
+ scale = 1e-12
358
+
359
+ [[task.evaluation.metrics]]
360
+ id = "read_delay"
361
+ category = "performance"
362
+ observations = [
363
+ "nominal:read_delay_0_1",
364
+ "nominal:read_delay_0_2",
365
+ "nominal:read_delay_1_5",
366
+ "nominal:read_delay_1_6",
367
+ ]
368
+ baseline = [
369
+ "source_nominal:read_delay_0_1",
370
+ "source_nominal:read_delay_0_2",
371
+ "source_nominal:read_delay_1_5",
372
+ "source_nominal:read_delay_1_6",
373
+ ]
374
+ unit = "s"
375
+ direction = "minimize"
376
+ aggregation = "max"
377
+ dimension = "response"
378
+ normalization = "ratio"
379
+ lower = 0.0
380
+
381
+ [task.evaluation.scoring]
382
+ method = "layout"
383
+ area_metric = "functional_area"
384
+ area_target = 1.46
385
+ rationale = "SRAM cell: read delay 64%; supply power 16%; area 20%. Each objective's weight is divided equally among its metrics."
386
+
387
+ [task.evaluation.scoring.weights]
388
+ functional_area = 0.2
389
+ read_delay = 0.64
390
+ supply = 0.16
391
+
392
+ [task.evaluation.pre_layout]
393
+ source_report_sha256 = "6910725e38dfe44770306a9966be0dd2bf875ecba4f0800cc29753c831e398d2"
394
+
395
+ [task.evaluation.pre_layout.backends]
396
+ "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\": \"7fc8a0cde0f7d722e87c34a1115c13986b3db8fecba4b7dadb0a1edf171df62b\", \"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******\"}"
397
+
398
+ [task.evaluation.pre_layout.jobs.source_nominal]
399
+ operation = "circuit.simulate"
400
+
401
+ [task.evaluation.pre_layout.jobs.source_nominal.inputs]
402
+ deck = "input:performance"
403
+ dut = "input:netlist"
404
+
405
+ [task.evaluation.pre_layout.jobs.source_nominal.outputs]
406
+ waveform = "ngspice-raw"
407
+
408
+ [task.evaluation.pre_layout.jobs.source_nominal.parameters.exports]
409
+ waveform = "waveform.raw"
410
+
411
+ [task.evaluation.pre_layout.jobs.source_nominal.parameters.measurements]
412
+ read0 = "V"
413
+ repeat0 = "V"
414
+ read1 = "V"
415
+ repeat1 = "V"
416
+ supply = "W"
417
+ read_delay_0_1 = "s"
418
+ read_delay_0_2 = "s"
419
+ read_delay_1_5 = "s"
420
+ read_delay_1_6 = "s"
421
+
422
+ [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
423
+ deck = "bc0034d4bde558134f21b5ad453623f4cd93862d8fe7761a1a8752ba21051006"
424
+ dut = "18518f33516076c2bdca25c7036319734470c7757e3b1a2ab5c8e93b21fb4488"
425
+
426
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.read0]
427
+ value = 0.7858571
428
+ unit = "V"
429
+
430
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.read1]
431
+ value = 0.7858571
432
+ unit = "V"
433
+
434
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.read_delay_0_1]
435
+ value = 1.317565e-11
436
+ unit = "s"
437
+
438
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.read_delay_0_2]
439
+ value = 1.317565e-11
440
+ unit = "s"
441
+
442
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.read_delay_1_5]
443
+ value = 1.317565e-11
444
+ unit = "s"
445
+
446
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.read_delay_1_6]
447
+ value = 1.317565e-11
448
+ unit = "s"
449
+
450
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.repeat0]
451
+ value = 0.7858571
452
+ unit = "V"
453
+
454
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.repeat1]
455
+ value = 0.7858571
456
+ unit = "V"
457
+
458
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.supply]
459
+ value = 5.942012e-06
460
+ unit = "W"
461
+
462
+ [toolchain.backends.artifact]
463
+ type = "klayout-docker"
464
+
465
+ [toolchain.backends.artifact.settings]
466
+ image = "iclayout-bench-tools:local"
467
+ check = "artifact"
468
+ timeout_seconds = 120
469
+
470
+ [toolchain.backends.drc]
471
+ type = "klayout-docker"
472
+
473
+ [toolchain.backends.drc.settings]
474
+ image = "iclayout-bench-tools:local"
475
+ check = "drc"
476
+ timeout_seconds = 120
477
+ support = "build/support/freepdk45-klayout"
478
+ profile = "drc.json"
479
+
480
+ [toolchain.backends.drc.support_profiles]
481
+ support = "klayout"
482
+
483
+ [toolchain.backends.lvs]
484
+ type = "klayout-docker"
485
+
486
+ [toolchain.backends.lvs.settings]
487
+ image = "iclayout-bench-tools:local"
488
+ check = "lvs"
489
+ timeout_seconds = 120
490
+ support = "build/support/freepdk45-klayout"
491
+ profile = "strict-lvs.json"
492
+
493
+ [toolchain.backends.lvs.support_profiles]
494
+ support = "klayout"
495
+
496
+ [toolchain.backends.geometry]
497
+ type = "klayout-geometry-docker"
498
+
499
+ [toolchain.backends.geometry.settings]
500
+ image = "iclayout-bench-tools:local"
501
+ timeout_seconds = 60
502
+
503
+ [toolchain.backends.rc]
504
+ type = "magic-rc-docker"
505
+
506
+ [toolchain.backends.rc.settings]
507
+ image = "iclayout-bench-tools:local"
508
+ support = "build/support/freepdk45-magic-vtg"
509
+ technology = "freepdk45.tech"
510
+ tech_name = "freepdk45"
511
+ style = "spice3(sim)"
512
+ gds_readonly = false
513
+ case_insensitive_ports = true
514
+ label_layers = [
515
+ [
516
+ 9,
517
+ 0,
518
+ ],
519
+ [
520
+ 11,
521
+ 0,
522
+ ],
523
+ [
524
+ 13,
525
+ 0,
526
+ ],
527
+ [
528
+ 15,
529
+ 0,
530
+ ],
531
+ [
532
+ 17,
533
+ 0,
534
+ ],
535
+ [
536
+ 19,
537
+ 0,
538
+ ],
539
+ [
540
+ 21,
541
+ 0,
542
+ ],
543
+ [
544
+ 23,
545
+ 0,
546
+ ],
547
+ [
548
+ 25,
549
+ 0,
550
+ ],
551
+ [
552
+ 27,
553
+ 0,
554
+ ],
555
+ [
556
+ 29,
557
+ 0,
558
+ ],
559
+ ]
560
+ timeout_seconds = 120
561
+
562
+ [toolchain.backends.rc.support_profiles]
563
+ support = "magic-vtg"
564
+
565
+ [toolchain.backends.ngspice]
566
+ type = "ngspice-docker"
567
+
568
+ [toolchain.backends.ngspice.settings]
569
+ image = "iclayout-bench-tools:local"
570
+ support = "build/support/freepdk45-models"
571
+ timeout_seconds = 120
572
+
573
+ [toolchain.backends.ngspice.support_profiles]
574
+ support = "models"
575
+
576
+ [toolchain.bindings]
577
+ "layout.artifact" = "artifact"
578
+ "layout.drc" = "drc"
579
+ "layout.lvs" = "lvs"
580
+ "layout.geometry" = "geometry"
581
+ "layout.extract_rc" = "rc"
582
+ "circuit.simulate" = "ngspice"
583
+
584
+ [qualification]
585
+ reference = "reference/cell_6t.gds"
586
+
587
+ [origin]
588
+ url = "https://github.com/ferdous313/OpenRAM/blob/420a33e731d7d80bf9c7cd54ffbeec3603259847/technology/freepdk45/sp_lib/cell_6t.sp"
589
+
590
+ [presentation]
591
+ category = "Logic & memory"
592
+ summary = "Stores one bit using cross-coupled inverters and wordline-controlled access transistors."
tasks/freepdk45/OpenRAM/cases/cell_6t/materials/circuit.spice ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ .SUBCKT cell_6t bl br wl vdd gnd
3
+ MM3 bl wl net10 gnd NMOS_VTG W=135.00n L=50n
4
+ MM2 br wl net4 gnd NMOS_VTG W=135.00n L=50n
5
+ MM1 net10 net4 gnd gnd NMOS_VTG W=205.00n L=50n
6
+ MM0 net4 net10 gnd gnd NMOS_VTG W=205.00n L=50n
7
+ MM5 net10 net4 vdd vdd PMOS_VTG W=90n L=50n
8
+ MM4 net4 net10 vdd vdd PMOS_VTG W=90n L=50n
9
+ .ENDS cell_6t
10
+
tasks/freepdk45/OpenRAM/cases/cell_6t/materials/schematic.svg ADDED
tasks/freepdk45/OpenRAM/cases/cell_6t/materials/testbench.spice ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ * cell_6t nominal characterization
2
+ .include /workspace/support/models.spice
3
+ .include dut.spice
4
+ .temp 27
5
+ Vdd vdd 0 1
6
+ Xdut BL BR WL vdd gnd cell_6t
7
+ .model sw SW(Ron=10 Roff=1e12 Vt=.5 Vh=0)
8
+ Cbl bl 0 10f
9
+ Cbr br 0 10f
10
+ Vdata data 0 PWL(0 0 4n 0 4.01n 1)
11
+ Bbar bar 0 v=1-v(data)
12
+ Vwrite wr 0 PWL(0 1 500p 1 510p 0 4n 0 4.01n 1 4.5n 1 4.51n 0)
13
+ Swl bl data wr 0 sw
14
+ Swr br bar wr 0 sw
15
+ Vpre pre 0 PWL(0 0 600p 0 610p 1 990p 1 1n 0 1.5n 0 1.51n 1 1.99n 1 2n 0 4.6n 0 4.61n 1 4.99n 1 5n 0 5.5n 0 5.51n 1 5.99n 1 6n 0)
16
+ Spl bl vdd pre 0 sw
17
+ Spr br vdd pre 0 sw
18
+ Vwl wl 0 PWL(0 1 490p 1 500p 0 1n 0 1.01n 1 1.3n 1 1.31n 0 2n 0 2.01n 1 2.3n 1 2.31n 0 4n 0 4.02n 1 4.49n 1 4.5n 0 5n 0 5.01n 1 5.3n 1 5.31n 0 6n 0 6.01n 1 6.3n 1 6.31n 0)
19
+ Bdiff0 diff0 0 v=v(br)-v(bl)
20
+ Bdiff1 diff1 0 v=v(bl)-v(br)
21
+ .tran 1p 7n
22
+ .meas tran read0 find par('v(br)-v(bl)') at=1110p
23
+ .meas tran repeat0 find par('v(br)-v(bl)') at=2110p
24
+ .meas tran read1 find par('v(bl)-v(br)') at=5110p
25
+ .meas tran repeat1 find par('v(bl)-v(br)') at=6110p
26
+ .meas tran supply avg par('-v(vdd)*i(Vdd)') from=0 to=7n
27
+
28
+ .meas tran read_delay_0_1 trig v(wl) val=.5 rise=1 td=1n targ v(diff0) val=.1 rise=1 td=1n
29
+
30
+ .meas tran read_delay_0_2 trig v(wl) val=.5 rise=1 td=2n targ v(diff0) val=.1 rise=1 td=2n
31
+
32
+ .meas tran read_delay_1_5 trig v(wl) val=.5 rise=1 td=5n targ v(diff1) val=.1 rise=1 td=5n
33
+
34
+ .meas tran read_delay_1_6 trig v(wl) val=.5 rise=1 td=6n targ v(diff1) val=.1 rise=1 td=6n
35
+
36
+ .control
37
+ run
38
+ write waveform.raw v(bl) v(br) v(wl) v(vdd) i(Vdd)
39
+ quit
40
+ .endc
41
+ .end
tasks/freepdk45/OpenRAM/cases/cell_6t/problem.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Six-Transistor SRAM Bitcell Layout Task
2
+
3
+ ## Objective
4
+
5
+ Implement the supplied six-transistor SRAM bitcell, including cross-coupled storage, complementary bitlines and a common wordline. Preserve the authoritative netlist's model classes, W/L, interface and connectivity. Submit top cell `cell_6t`.
6
+
7
+ ## Inputs and Interface
8
+
9
+ Ordered SPICE ports: `bl br wl vdd gnd`. Names are case-insensitive; different names are not interchangeable. The delivered inputs are this problem, `materials/circuit.spice`, and `materials/testbench.spice`. The model and extraction resources are supplied as reviewed support bundles. Reference geometry and qualification evidence are maintainer materials, excluded from solver inputs.
10
+
11
+ ## Operating Conditions
12
+
13
+ Use the nominal FreePDK45 BSIM4 models at **1.0 V and 27 C**, with ground at 0 V. All transistor lengths are 50 nm; widths and model classes come from the netlist.
14
+
15
+ Each bitline has 10 fF. Ideal external switches (10 ohm on, 1e12 ohm off) implement write and precharge. Write BL=0/BR=1 during 0–500 ps, then precharge and read at 1 ns and 2 ns; write the opposite value at 4–4.5 ns, then read at 5 ns and 6 ns. Sample differential bitline voltage 110 ps after each read starts. Wordline transitions take 10 ps; read pulses last 300 ps. The second read checks retention after a nondestructive read and idle interval. The supplied deck gives every switch edge. Power includes DUT supply current and the precharge supply over 0–7 ns.
16
+
17
+ The deck defines stimuli and observation times exactly. Tests use only external ports. Qualification covers these nominal conditions, not PVT, mismatch, array abutment, substrate noise or manufacturing signoff.
18
+
19
+ ## Physical Requirements
20
+
21
+ Submit a nonempty GDSII of at most 10 MiB. Enable all checks present in the supplied KLayout DRC deck, including grid and antenna checks, with no waivers. Strict LVS checks named ports, models, W/L and actual well/tap connectivity; library-specific implicit or global rail connections are disabled. The upstream deck does not implement its documented different-potential well-spacing rule; it is not a complete foundry signoff deck.
22
+
23
+ The hard functional envelope is 100 um by 100 um. Its bounding rectangle includes every drawing layer 1/0 through 29/0: active, wells, implants, threshold markers, poly, contacts, all ten metals and all nine vias. It supplies the scored footprint in um2. Put functional geometry on these layers; pin-purpose and annotation geometry is excluded. Electrical labels use poly or metal drawing layers (9/0 and 11/0, 13/0, ..., 29/0). Non-electrical annotation text is ignored by extraction.
24
+
25
+ Translation, equivalent hierarchy and internal instance renaming are allowed. LVS permits source/drain exchange and equivalent parallel devices; any such layout must also pass the same RC-based electrical requirements. Preserve top-level port identities and explicit body connections.
26
+
27
+ ## Electrical Requirements and Scoring
28
+
29
+ Artifact, DRC, LVS and geometry gates precede candidate GDS extraction. Simulation consumes the candidate's Magic RC netlist unchanged; source simulation supplies the independent scoring baseline. VTG/VTL device classes are checked by independent LVS before the matching extraction profile is used. Extraction includes poly/metal sheet resistance, contacts/vias, geometry-dependent coupling and ground capacitance, and device junction area/perimeter. Wells are lumped connections; BSIM4 supplies device/junction behavior. Interconnect resistance and capacitance use the pinned community FreePDK45 Magic technology's estimated coefficients and native capacitance placement. The extraction adapter binds VTG/VTL models, preserves annotation layers and corrects the technology's dimensional unit conversion. This is a predictive approximation without field-solver signoff accuracy.
30
+
31
+ Physical checks and declared functional bounds remain mandatory. Quality has no
32
+ fixed allowed-degradation threshold. Each `source_*` job simulates the declared
33
+ source circuit with exactly the same testbench, model resources, parameters,
34
+ load and measurement window as its paired extracted-candidate job. A source
35
+ observation is the 100-point electrical baseline; it is independent of the
36
+ submitted GDS. All individual pairs are retained in the evaluation report.
37
+
38
+ For a post-layout observation x and its source observation b:
39
+
40
+ - Maximize: q = x/b; minimize: q = b/x. When a numerical scale s is declared,
41
+ use (x+s)/(b+s) or its inverse. This handles zero-valued error measurements;
42
+ s is a normalization floor, not an allowed degradation or pass threshold.
43
+ - Amplitude dB: q = 10^((x-b)/20) for maximize, its inverse for minimize.
44
+ - Target: q = 1/(1+abs(x-b)/s), with a declared physical scale s. Signed and
45
+ zero-valued operating points are never divided directly.
46
+
47
+ Scoring uses `layout`. A metric uses its worst paired quality q. The score is
48
+ S = 100 * product(q_i ** w_i), including area quality
49
+ q_area = area_reference / candidate_functional_area. The weights below sum to
50
+ one. Dimensions describe measurements but do not determine their weights.
51
+ Physical or functional rejection scores zero; missing or invalid measurements
52
+ produce an unknown score, including measurements with zero weight.
53
+ Source-equivalent performance at the area reference scores 100; improvements
54
+ can exceed 100. A weight expresses a tradeoff, not a hard acceptance limit.
55
+
56
+ | Metric | Definition / observations | Unit | Quality rule | Functional bounds | Scale |
57
+ | --- | --- | --- | --- | --- | --- |
58
+ | `read0` | `find par('v(br)-v(bl)') at=1110p` | V | functional check | 0.3 … +∞ | — |
59
+ | `repeat0` | `find par('v(br)-v(bl)') at=2110p` | V | functional check | 0.3 … +∞ | — |
60
+ | `read1` | `find par('v(bl)-v(br)') at=5110p` | V | functional check | 0.3 … +∞ | — |
61
+ | `repeat1` | `find par('v(bl)-v(br)') at=6110p` | V | functional check | 0.3 … +∞ | — |
62
+ | `supply` | `avg par('-v(vdd)*i(Vdd)') from=0 to=7n` | W | minimize / ratio | 0 … +∞ | 1e-12 |
63
+ | `read_delay` | WL rising through 0.5 V to signed bitline difference reaching 0.1 V, for read edges at 1, 2, 5 and 6 ns (distinct from the 0.3 V sampled-level requirement). | s | minimize / ratio | 0 … +∞ | — |
64
+
65
+ Area reference: **1.46 um2**. 6 expanded device instances; sum of device/contact envelopes 0.6670 um2, per-side envelope allowance 0.12 um, 50% routing allowance and total outer width/height allowance 0.24 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.
66
+
67
+ The capability coefficient remains **6**; it is independent of
68
+ the reference-relative task score.
69
+
70
+
71
+ ### Score weights
72
+
73
+ SRAM cell: read delay 64%; supply power 16%; area 20%. Each objective's weight is divided equally among its metrics.
74
+
75
+ | Metric | Weight |
76
+ | --- | ---: |
77
+ | `functional_area` | 0.2 |
78
+ | `read_delay` | 0.640000000000 |
79
+ | `supply` | 0.160000000000 |
80
+
81
+ ## Tools and Submission
82
+
83
+ Solve budget: **3 hours**.
84
+
85
+ Use the reviewed FreePDK45 KLayout, Magic and ngspice resources from `/protocol/resources.json`. For Magic RC extraction, use `/resources/support/magic-vtg/freepdk45.tech`, which includes the required model and unit adaptations. Runtime `/protocol/task.json` publishes the same constraints, measurements and scoring. Only declared inputs appear under `/task`. Write `/workspace/output/final.gds`, then explicitly submit with `python -I /protocol/submit.py`. A harness that declares `process-feedback` uses the same frozen plan and backend identities for process checks; those snapshots do not count as final submissions.
tasks/freepdk45/OpenRAM/cases/cell_6t/reference/cell_6t.gds ADDED
Binary file (20.4 kB). View file
 
tasks/freepdk45/OpenRAM/cases/sense_amp/case.toml ADDED
@@ -0,0 +1,535 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ in_core = false
2
+ kind = "layout_case"
3
+ id = "freepdk45.OpenRAM.sense_amp"
4
+ title = "Clocked SRAM Sense Amplifier"
5
+ status = "qualified"
6
+
7
+ [[assets]]
8
+ path = "materials/schematic.svg"
9
+ role = "schematic"
10
+ visibility = "maintainer"
11
+ format = "svg"
12
+ sha256 = "a1d1470e1bc4f21f8e205ff75a416e5aaedd678159f003c35e9fdc10a098ce4e"
13
+
14
+ [[assets]]
15
+ path = "reference/sense_amp.gds"
16
+ role = "reference"
17
+ visibility = "maintainer"
18
+ format = "gds"
19
+ sha256 = "07b246b1f11d26f2bb268c6f60f2f93b90b91228d479c7af3fa831431df8ffaa"
20
+
21
+ [task]
22
+ hours = 3
23
+ kind = "netlist_to_gds"
24
+ family = "freepdk45_sense_amp"
25
+ coefficient = 5
26
+ environment = "freepdk45-nominal-predictive-rc"
27
+
28
+ [task.inputs.description]
29
+ path = "problem.md"
30
+ sha256 = "4d05195bfe1882c03fd03769b23822a985e73985f95227f93e213a6887980ac4"
31
+ format = "text"
32
+
33
+ [task.inputs.netlist]
34
+ path = "materials/circuit.spice"
35
+ sha256 = "f5a25305dc9184f778cad474f697091f37bfc8b30cf045e46306ce0927c5565f"
36
+ format = "spice"
37
+ subcircuit = "sense_amp"
38
+
39
+ [task.inputs.performance]
40
+ path = "materials/testbench.spice"
41
+ format = "spice"
42
+ sha256 = "1d96a4f3ff79ab3e154911210b637de1419e5572e31aabe6e98550f381edb761"
43
+
44
+ [task.constraints]
45
+ quality = [
46
+ { id = "area", type = "functional_bbox_area", layers_from = "outline" },
47
+ ]
48
+
49
+ [[task.constraints.hard]]
50
+ id = "outline"
51
+ type = "bbox_max"
52
+ functional_layers = [
53
+ [
54
+ 1,
55
+ 0,
56
+ ],
57
+ [
58
+ 2,
59
+ 0,
60
+ ],
61
+ [
62
+ 3,
63
+ 0,
64
+ ],
65
+ [
66
+ 4,
67
+ 0,
68
+ ],
69
+ [
70
+ 5,
71
+ 0,
72
+ ],
73
+ [
74
+ 6,
75
+ 0,
76
+ ],
77
+ [
78
+ 7,
79
+ 0,
80
+ ],
81
+ [
82
+ 8,
83
+ 0,
84
+ ],
85
+ [
86
+ 9,
87
+ 0,
88
+ ],
89
+ [
90
+ 10,
91
+ 0,
92
+ ],
93
+ [
94
+ 11,
95
+ 0,
96
+ ],
97
+ [
98
+ 12,
99
+ 0,
100
+ ],
101
+ [
102
+ 13,
103
+ 0,
104
+ ],
105
+ [
106
+ 14,
107
+ 0,
108
+ ],
109
+ [
110
+ 15,
111
+ 0,
112
+ ],
113
+ [
114
+ 16,
115
+ 0,
116
+ ],
117
+ [
118
+ 17,
119
+ 0,
120
+ ],
121
+ [
122
+ 18,
123
+ 0,
124
+ ],
125
+ [
126
+ 19,
127
+ 0,
128
+ ],
129
+ [
130
+ 20,
131
+ 0,
132
+ ],
133
+ [
134
+ 21,
135
+ 0,
136
+ ],
137
+ [
138
+ 22,
139
+ 0,
140
+ ],
141
+ [
142
+ 23,
143
+ 0,
144
+ ],
145
+ [
146
+ 24,
147
+ 0,
148
+ ],
149
+ [
150
+ 25,
151
+ 0,
152
+ ],
153
+ [
154
+ 26,
155
+ 0,
156
+ ],
157
+ [
158
+ 27,
159
+ 0,
160
+ ],
161
+ [
162
+ 28,
163
+ 0,
164
+ ],
165
+ [
166
+ 29,
167
+ 0,
168
+ ],
169
+ ]
170
+ max_width_um = 100
171
+ max_height_um = 100
172
+
173
+ [task.output]
174
+ path = "output/final.gds"
175
+ format = "gds"
176
+ top_cell = "sense_amp"
177
+ max_bytes = 10485760
178
+
179
+ [task.evaluation]
180
+ mode = "post_layout"
181
+
182
+ [[task.evaluation.jobs]]
183
+ id = "artifact"
184
+ stage = "check"
185
+ operation = "layout.artifact"
186
+ gate = "artifact"
187
+
188
+ [task.evaluation.jobs.inputs]
189
+ layout = "candidate"
190
+ task = "task"
191
+
192
+ [[task.evaluation.jobs]]
193
+ id = "drc"
194
+ stage = "check"
195
+ operation = "layout.drc"
196
+ gate = "drc"
197
+
198
+ [task.evaluation.jobs.inputs]
199
+ layout = "candidate"
200
+ task = "task"
201
+
202
+ [[task.evaluation.jobs]]
203
+ id = "lvs"
204
+ stage = "check"
205
+ operation = "layout.lvs"
206
+ gate = "lvs"
207
+
208
+ [task.evaluation.jobs.inputs]
209
+ layout = "candidate"
210
+ task = "task"
211
+ netlist = "input:netlist"
212
+
213
+ [task.evaluation.jobs.outputs]
214
+ database = "klayout-lvs"
215
+ binding = "json"
216
+
217
+ [[task.evaluation.jobs]]
218
+ id = "geometry"
219
+ stage = "check"
220
+ operation = "layout.geometry"
221
+ gate = "constraint"
222
+ requires = [
223
+ "artifact",
224
+ "drc",
225
+ "lvs",
226
+ ]
227
+
228
+ [task.evaluation.jobs.inputs]
229
+ layout = "candidate"
230
+ task = "task"
231
+ constraints = "input:constraints"
232
+ database = "job:lvs:database"
233
+ binding = "job:lvs:binding"
234
+
235
+ [[task.evaluation.jobs]]
236
+ id = "parasitics"
237
+ stage = "extract"
238
+ operation = "layout.extract_rc"
239
+ requires = [
240
+ "artifact",
241
+ "drc",
242
+ "lvs",
243
+ "geometry",
244
+ ]
245
+
246
+ [task.evaluation.jobs.inputs]
247
+ layout = "candidate"
248
+ task = "task"
249
+
250
+ [task.evaluation.jobs.outputs]
251
+ netlist = "spice"
252
+
253
+ [task.evaluation.jobs.parameters]
254
+ ports = [
255
+ "bl",
256
+ "br",
257
+ "dout",
258
+ "sclk",
259
+ "vdd",
260
+ "gnd",
261
+ ]
262
+
263
+ [[task.evaluation.jobs]]
264
+ id = "nominal"
265
+ stage = "simulate"
266
+ operation = "circuit.simulate"
267
+
268
+ [task.evaluation.jobs.inputs]
269
+ deck = "input:performance"
270
+ dut = "job:parasitics:netlist"
271
+
272
+ [task.evaluation.jobs.outputs]
273
+ waveform = "ngspice-raw"
274
+
275
+ [task.evaluation.jobs.parameters.exports]
276
+ waveform = "waveform.raw"
277
+
278
+ [task.evaluation.jobs.parameters.measurements]
279
+ low = "V"
280
+ high = "V"
281
+ supply = "W"
282
+ decision_delay_fall = "s"
283
+
284
+ [[task.evaluation.metrics]]
285
+ id = "functional_area"
286
+ category = "physical"
287
+ observations = [
288
+ "geometry:area",
289
+ ]
290
+ unit = "um2"
291
+ direction = "minimize"
292
+ aggregation = "max"
293
+
294
+ [[task.evaluation.metrics]]
295
+ id = "low"
296
+ category = "performance"
297
+ observations = [
298
+ "nominal:low",
299
+ ]
300
+ unit = "V"
301
+ direction = "minimize"
302
+ aggregation = "max"
303
+ upper = 0.1
304
+
305
+ [[task.evaluation.metrics]]
306
+ id = "high"
307
+ category = "performance"
308
+ observations = [
309
+ "nominal:high",
310
+ ]
311
+ unit = "V"
312
+ direction = "maximize"
313
+ aggregation = "min"
314
+ lower = 0.9
315
+
316
+ [[task.evaluation.metrics]]
317
+ id = "supply"
318
+ category = "performance"
319
+ observations = [
320
+ "nominal:supply",
321
+ ]
322
+ unit = "W"
323
+ direction = "minimize"
324
+ aggregation = "max"
325
+ dimension = "supply"
326
+ baseline = [
327
+ "source_nominal:supply",
328
+ ]
329
+ normalization = "ratio"
330
+ lower = 0
331
+ scale = 1e-12
332
+
333
+ [[task.evaluation.metrics]]
334
+ id = "decision_delay_fall"
335
+ category = "performance"
336
+ observations = [
337
+ "nominal:decision_delay_fall",
338
+ ]
339
+ baseline = [
340
+ "source_nominal:decision_delay_fall",
341
+ ]
342
+ unit = "s"
343
+ direction = "minimize"
344
+ aggregation = "max"
345
+ dimension = "response"
346
+ normalization = "ratio"
347
+ lower = 0.0
348
+
349
+ [task.evaluation.scoring]
350
+ method = "layout"
351
+ area_metric = "functional_area"
352
+ area_target = 2.82
353
+ rationale = "SRAM periphery: peripheral delay 68%; supply power 17%; area 15%. Each objective's weight is divided equally among its metrics."
354
+
355
+ [task.evaluation.scoring.weights]
356
+ functional_area = 0.15
357
+ decision_delay_fall = 0.68
358
+ supply = 0.17
359
+
360
+ [task.evaluation.pre_layout]
361
+ source_report_sha256 = "092e85048c56d9acc523fdb6eb8b64acff106fcd5fb777345c691b5dede84ef7"
362
+
363
+ [task.evaluation.pre_layout.backends]
364
+ "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\": \"7fc8a0cde0f7d722e87c34a1115c13986b3db8fecba4b7dadb0a1edf171df62b\", \"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******\"}"
365
+
366
+ [task.evaluation.pre_layout.jobs.source_nominal]
367
+ operation = "circuit.simulate"
368
+
369
+ [task.evaluation.pre_layout.jobs.source_nominal.inputs]
370
+ deck = "input:performance"
371
+ dut = "input:netlist"
372
+
373
+ [task.evaluation.pre_layout.jobs.source_nominal.outputs]
374
+ waveform = "ngspice-raw"
375
+
376
+ [task.evaluation.pre_layout.jobs.source_nominal.parameters.exports]
377
+ waveform = "waveform.raw"
378
+
379
+ [task.evaluation.pre_layout.jobs.source_nominal.parameters.measurements]
380
+ low = "V"
381
+ high = "V"
382
+ supply = "W"
383
+ decision_delay_fall = "s"
384
+
385
+ [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
386
+ deck = "1d96a4f3ff79ab3e154911210b637de1419e5572e31aabe6e98550f381edb761"
387
+ dut = "f5a25305dc9184f778cad474f697091f37bfc8b30cf045e46306ce0927c5565f"
388
+
389
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.decision_delay_fall]
390
+ value = 1.248627e-11
391
+ unit = "s"
392
+
393
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.high]
394
+ value = 0.999996
395
+ unit = "V"
396
+
397
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.low]
398
+ value = 2.338873e-05
399
+ unit = "V"
400
+
401
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.supply]
402
+ value = 1.395456e-06
403
+ unit = "W"
404
+
405
+ [toolchain.backends.artifact]
406
+ type = "klayout-docker"
407
+
408
+ [toolchain.backends.artifact.settings]
409
+ image = "iclayout-bench-tools:local"
410
+ check = "artifact"
411
+ timeout_seconds = 120
412
+
413
+ [toolchain.backends.drc]
414
+ type = "klayout-docker"
415
+
416
+ [toolchain.backends.drc.settings]
417
+ image = "iclayout-bench-tools:local"
418
+ check = "drc"
419
+ timeout_seconds = 120
420
+ support = "build/support/freepdk45-klayout"
421
+ profile = "drc.json"
422
+
423
+ [toolchain.backends.drc.support_profiles]
424
+ support = "klayout"
425
+
426
+ [toolchain.backends.lvs]
427
+ type = "klayout-docker"
428
+
429
+ [toolchain.backends.lvs.settings]
430
+ image = "iclayout-bench-tools:local"
431
+ check = "lvs"
432
+ timeout_seconds = 120
433
+ support = "build/support/freepdk45-klayout"
434
+ profile = "strict-lvs.json"
435
+
436
+ [toolchain.backends.lvs.support_profiles]
437
+ support = "klayout"
438
+
439
+ [toolchain.backends.geometry]
440
+ type = "klayout-geometry-docker"
441
+
442
+ [toolchain.backends.geometry.settings]
443
+ image = "iclayout-bench-tools:local"
444
+ timeout_seconds = 60
445
+
446
+ [toolchain.backends.rc]
447
+ type = "magic-rc-docker"
448
+
449
+ [toolchain.backends.rc.settings]
450
+ image = "iclayout-bench-tools:local"
451
+ support = "build/support/freepdk45-magic-vtg"
452
+ technology = "freepdk45.tech"
453
+ tech_name = "freepdk45"
454
+ style = "spice3(sim)"
455
+ gds_readonly = false
456
+ case_insensitive_ports = true
457
+ label_layers = [
458
+ [
459
+ 9,
460
+ 0,
461
+ ],
462
+ [
463
+ 11,
464
+ 0,
465
+ ],
466
+ [
467
+ 13,
468
+ 0,
469
+ ],
470
+ [
471
+ 15,
472
+ 0,
473
+ ],
474
+ [
475
+ 17,
476
+ 0,
477
+ ],
478
+ [
479
+ 19,
480
+ 0,
481
+ ],
482
+ [
483
+ 21,
484
+ 0,
485
+ ],
486
+ [
487
+ 23,
488
+ 0,
489
+ ],
490
+ [
491
+ 25,
492
+ 0,
493
+ ],
494
+ [
495
+ 27,
496
+ 0,
497
+ ],
498
+ [
499
+ 29,
500
+ 0,
501
+ ],
502
+ ]
503
+ timeout_seconds = 120
504
+
505
+ [toolchain.backends.rc.support_profiles]
506
+ support = "magic-vtg"
507
+
508
+ [toolchain.backends.ngspice]
509
+ type = "ngspice-docker"
510
+
511
+ [toolchain.backends.ngspice.settings]
512
+ image = "iclayout-bench-tools:local"
513
+ support = "build/support/freepdk45-models"
514
+ timeout_seconds = 120
515
+
516
+ [toolchain.backends.ngspice.support_profiles]
517
+ support = "models"
518
+
519
+ [toolchain.bindings]
520
+ "layout.artifact" = "artifact"
521
+ "layout.drc" = "drc"
522
+ "layout.lvs" = "lvs"
523
+ "layout.geometry" = "geometry"
524
+ "layout.extract_rc" = "rc"
525
+ "circuit.simulate" = "ngspice"
526
+
527
+ [qualification]
528
+ reference = "reference/sense_amp.gds"
529
+
530
+ [origin]
531
+ url = "https://github.com/ferdous313/OpenRAM/blob/420a33e731d7d80bf9c7cd54ffbeec3603259847/technology/freepdk45/sp_lib/sense_amp.sp"
532
+
533
+ [presentation]
534
+ category = "Logic & memory"
535
+ summary = "Resolves a small bitline voltage difference into a clocked digital decision."
tasks/freepdk45/OpenRAM/cases/sense_amp/materials/circuit.spice ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ .SUBCKT sense_amp bl br dout sclk vdd gnd
3
+ M_1 dout net_1 vdd vdd pmos_vtg w=540.0n l=50.0n
4
+ M_3 net_1 dout vdd vdd pmos_vtg w=540.0n l=50.0n
5
+ M_2 dout net_1 net_2 gnd nmos_vtg w=270.0n l=50.0n
6
+ M_8 net_1 dout net_2 gnd nmos_vtg w=270.0n l=50.0n
7
+ M_5 bl sclk dout vdd pmos_vtg w=720.0n l=50.0n
8
+ M_6 br sclk net_1 vdd pmos_vtg w=720.0n l=50.0n
9
+ M_7 net_2 sclk gnd gnd nmos_vtg w=270.0n l=50.0n
10
+ .ENDS sense_amp
11
+
tasks/freepdk45/OpenRAM/cases/sense_amp/materials/schematic.svg ADDED
tasks/freepdk45/OpenRAM/cases/sense_amp/materials/testbench.spice ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ * sense_amp nominal characterization
2
+ .include /workspace/support/models.spice
3
+ .include dut.spice
4
+ .temp 27
5
+ Vdd vdd 0 1
6
+ Xdut BL BR Dout SCLK vdd gnd sense_amp
7
+ Vbl bl 0 PWL(0 .8 1n .8 1.01n 1)
8
+ Vbr br 0 PWL(0 1 1n 1 1.01n .8)
9
+ Vs sclk 0 PULSE(0 1 500p 10p 10p 480p 1n)
10
+ Cl dout 0 .5f
11
+ .tran 0.5p 2n
12
+ .meas tran low find v(dout) at=610p
13
+ .meas tran high find v(dout) at=1610p
14
+ .meas tran supply avg par('-v(vdd)*i(Vdd)') from=0 to=2n
15
+
16
+ .meas tran decision_delay_fall trig v(sclk) val=.5 rise=1 td=0.5n targ v(dout) val=.5 fall=1 td=0.5n
17
+
18
+
19
+ .control
20
+ run
21
+ write waveform.raw v(bl) v(br) v(dout) v(sclk) v(vdd) i(Vdd)
22
+ quit
23
+ .endc
24
+ .end
tasks/freepdk45/OpenRAM/cases/sense_amp/problem.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Clocked SRAM Sense Amplifier Layout Task
2
+
3
+ ## Objective
4
+
5
+ Implement the supplied clocked regenerative sense amplifier. A lower sampled BL than BR must produce a low Dout; the opposite differential must produce a high Dout. Preserve the authoritative netlist's model classes, W/L, interface and connectivity. Submit top cell `sense_amp`.
6
+
7
+ ## Inputs and Interface
8
+
9
+ Ordered SPICE ports: `bl br dout sclk vdd gnd`. Names are case-insensitive; different names are not interchangeable. The delivered inputs are this problem, `materials/circuit.spice`, and `materials/testbench.spice`. The model and extraction resources are supplied as reviewed support bundles. Reference geometry and qualification evidence are maintainer materials, excluded from solver inputs.
10
+
11
+ ## Operating Conditions
12
+
13
+ Use the nominal FreePDK45 BSIM4 models at **1.0 V and 27 C**, with ground at 0 V. All transistor lengths are 50 nm; widths and model classes come from the netlist.
14
+
15
+ BL/BR are 0.8/1.0 V for the first decision and 1.0/0.8 V for the second. SCLK is low while sampling and rises at 500 ps and 1500 ps with 10 ps edges; it stays high for 480 ps. Dout drives 0.5 fF. Sample Dout at 610 ps and 1610 ps. Average supply power over 0–2 ns. This is a 200 mV differential, loaded decision task; 50 mV sensitivity is not specified.
16
+
17
+ The deck defines stimuli and observation times exactly. Tests use only external ports. Qualification covers these nominal conditions, not PVT, mismatch, array abutment, substrate noise or manufacturing signoff.
18
+
19
+ ## Physical Requirements
20
+
21
+ Submit a nonempty GDSII of at most 10 MiB. Enable all checks present in the supplied KLayout DRC deck, including grid and antenna checks, with no waivers. Strict LVS checks named ports, models, W/L and actual well/tap connectivity; library-specific implicit or global rail connections are disabled. The upstream deck does not implement its documented different-potential well-spacing rule; it is not a complete foundry signoff deck.
22
+
23
+ The hard functional envelope is 100 um by 100 um. Its bounding rectangle includes every drawing layer 1/0 through 29/0: active, wells, implants, threshold markers, poly, contacts, all ten metals and all nine vias. It supplies the scored footprint in um2. Put functional geometry on these layers; pin-purpose and annotation geometry is excluded. Electrical labels use poly or metal drawing layers (9/0 and 11/0, 13/0, ..., 29/0). Non-electrical annotation text is ignored by extraction.
24
+
25
+ Translation, equivalent hierarchy and internal instance renaming are allowed. LVS permits source/drain exchange and equivalent parallel devices; any such layout must also pass the same RC-based electrical requirements. Preserve top-level port identities and explicit body connections.
26
+
27
+ ## Electrical Requirements and Scoring
28
+
29
+ Artifact, DRC, LVS and geometry gates precede candidate GDS extraction. Simulation consumes the candidate's Magic RC netlist unchanged; source simulation supplies the independent scoring baseline. VTG/VTL device classes are checked by independent LVS before the matching extraction profile is used. Extraction includes poly/metal sheet resistance, contacts/vias, geometry-dependent coupling and ground capacitance, and device junction area/perimeter. Wells are lumped connections; BSIM4 supplies device/junction behavior. Interconnect resistance and capacitance use the pinned community FreePDK45 Magic technology's estimated coefficients and native capacitance placement. The extraction adapter binds VTG/VTL models, preserves annotation layers and corrects the technology's dimensional unit conversion. This is a predictive approximation without field-solver signoff accuracy.
30
+
31
+ Physical checks and declared functional bounds remain mandatory. Quality has no
32
+ fixed allowed-degradation threshold. Each `source_*` job simulates the declared
33
+ source circuit with exactly the same testbench, model resources, parameters,
34
+ load and measurement window as its paired extracted-candidate job. A source
35
+ observation is the 100-point electrical baseline; it is independent of the
36
+ submitted GDS. All individual pairs are retained in the evaluation report.
37
+
38
+ For a post-layout observation x and its source observation b:
39
+
40
+ - Maximize: q = x/b; minimize: q = b/x. When a numerical scale s is declared,
41
+ use (x+s)/(b+s) or its inverse. This handles zero-valued error measurements;
42
+ s is a normalization floor, not an allowed degradation or pass threshold.
43
+ - Amplitude dB: q = 10^((x-b)/20) for maximize, its inverse for minimize.
44
+ - Target: q = 1/(1+abs(x-b)/s), with a declared physical scale s. Signed and
45
+ zero-valued operating points are never divided directly.
46
+
47
+ Scoring uses `layout`. A metric uses its worst paired quality q. The score is
48
+ S = 100 * product(q_i ** w_i), including area quality
49
+ q_area = area_reference / candidate_functional_area. The weights below sum to
50
+ one. Dimensions describe measurements but do not determine their weights.
51
+ Physical or functional rejection scores zero; missing or invalid measurements
52
+ produce an unknown score, including measurements with zero weight.
53
+ Source-equivalent performance at the area reference scores 100; improvements
54
+ can exceed 100. A weight expresses a tradeoff, not a hard acceptance limit.
55
+
56
+ | Metric | Definition / observations | Unit | Quality rule | Functional bounds | Scale |
57
+ | --- | --- | --- | --- | --- | --- |
58
+ | `low` | `find v(dout) at=610p` | V | functional check | −∞ … 0.1 | — |
59
+ | `high` | `find v(dout) at=1610p` | V | functional check | 0.9 … +∞ | — |
60
+ | `supply` | `avg par('-v(vdd)*i(Vdd)') from=0 to=2n` | W | minimize / ratio | 0 … +∞ | 1e-12 |
61
+ | `decision_delay_fall` | SCLK 50% to Dout 50% decision delay; see testbench window. | s | minimize / ratio | 0.0 … +∞ | — |
62
+
63
+ Area reference: **2.82 um2**. 7 expanded device instances; sum of device/contact envelopes 1.4529 um2, per-side envelope allowance 0.12 um, 50% routing allowance and total outer width/height allowance 0.24 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.
64
+
65
+ The capability coefficient remains **5**; it is independent of
66
+ the reference-relative task score.
67
+
68
+
69
+ ### Score weights
70
+
71
+ SRAM periphery: peripheral delay 68%; supply power 17%; area 15%. Each objective's weight is divided equally among its metrics.
72
+
73
+ | Metric | Weight |
74
+ | --- | ---: |
75
+ | `functional_area` | 0.15 |
76
+ | `decision_delay_fall` | 0.680000000000 |
77
+ | `supply` | 0.170000000000 |
78
+
79
+ Only the falling output decision delay contributes to timing quality. Both
80
+ decision polarities must satisfy their sampled final-level checks; rising
81
+ decision timing is outside this task's measured objective.
82
+
83
+ ## Tools and Submission
84
+
85
+ Solve budget: **3 hours**.
86
+
87
+ Use the reviewed FreePDK45 KLayout, Magic and ngspice resources from `/protocol/resources.json`. For Magic RC extraction, use `/resources/support/magic-vtg/freepdk45.tech`, which includes the required model and unit adaptations. Runtime `/protocol/task.json` publishes the same constraints, measurements and scoring. Only declared inputs appear under `/task`. Write `/workspace/output/final.gds`, then explicitly submit with `python -I /protocol/submit.py`. A harness that declares `process-feedback` uses the same frozen plan and backend identities for process checks; those snapshots do not count as final submissions.
tasks/freepdk45/OpenRAM/cases/sense_amp/reference/sense_amp.gds ADDED
Binary file (16.4 kB). View file
 
tasks/freepdk45/OpenRAM/cases/write_driver/case.toml ADDED
@@ -0,0 +1,613 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ in_core = true
2
+ kind = "layout_case"
3
+ id = "freepdk45.OpenRAM.write_driver"
4
+ title = "Complementary SRAM Write Driver"
5
+ status = "qualified"
6
+
7
+ [[assets]]
8
+ path = "materials/schematic.svg"
9
+ role = "schematic"
10
+ visibility = "maintainer"
11
+ format = "svg"
12
+ sha256 = "651fc9f4dbffb8f1512c92cee69ff3c7dc9ae4513e2fab8e092949c527287b0d"
13
+
14
+ [[assets]]
15
+ path = "reference/write_driver.gds"
16
+ role = "reference"
17
+ visibility = "maintainer"
18
+ format = "gds"
19
+ sha256 = "2465c2b5293b138226ebc396cc13dd19bca4b8aba3268dfead8f83893316ba78"
20
+
21
+ [task]
22
+ hours = 3
23
+ kind = "netlist_to_gds"
24
+ family = "freepdk45_write_driver"
25
+ coefficient = 3
26
+ environment = "freepdk45-nominal-predictive-rc"
27
+
28
+ [task.inputs.description]
29
+ path = "problem.md"
30
+ sha256 = "c107911cb0ae72200a1aaa9baa1cda5c3ff12f89fba4e4ffba1a146a33be1e3d"
31
+ format = "text"
32
+
33
+ [task.inputs.netlist]
34
+ path = "materials/circuit.spice"
35
+ sha256 = "40cf5d0d27b138b06a7b6b0bbdffefbf6a0569fae6092f1fd6d64c5501a952b4"
36
+ format = "spice"
37
+ subcircuit = "write_driver"
38
+
39
+ [task.inputs.performance]
40
+ path = "materials/testbench.spice"
41
+ format = "spice"
42
+ sha256 = "a07fc802d7506c35db325b6aa8256ec558c5d606003547a22e9e8b5236a98ecf"
43
+
44
+ [task.constraints]
45
+ quality = [
46
+ { id = "area", type = "functional_bbox_area", layers_from = "outline" },
47
+ ]
48
+
49
+ [[task.constraints.hard]]
50
+ id = "outline"
51
+ type = "bbox_max"
52
+ functional_layers = [
53
+ [
54
+ 1,
55
+ 0,
56
+ ],
57
+ [
58
+ 2,
59
+ 0,
60
+ ],
61
+ [
62
+ 3,
63
+ 0,
64
+ ],
65
+ [
66
+ 4,
67
+ 0,
68
+ ],
69
+ [
70
+ 5,
71
+ 0,
72
+ ],
73
+ [
74
+ 6,
75
+ 0,
76
+ ],
77
+ [
78
+ 7,
79
+ 0,
80
+ ],
81
+ [
82
+ 8,
83
+ 0,
84
+ ],
85
+ [
86
+ 9,
87
+ 0,
88
+ ],
89
+ [
90
+ 10,
91
+ 0,
92
+ ],
93
+ [
94
+ 11,
95
+ 0,
96
+ ],
97
+ [
98
+ 12,
99
+ 0,
100
+ ],
101
+ [
102
+ 13,
103
+ 0,
104
+ ],
105
+ [
106
+ 14,
107
+ 0,
108
+ ],
109
+ [
110
+ 15,
111
+ 0,
112
+ ],
113
+ [
114
+ 16,
115
+ 0,
116
+ ],
117
+ [
118
+ 17,
119
+ 0,
120
+ ],
121
+ [
122
+ 18,
123
+ 0,
124
+ ],
125
+ [
126
+ 19,
127
+ 0,
128
+ ],
129
+ [
130
+ 20,
131
+ 0,
132
+ ],
133
+ [
134
+ 21,
135
+ 0,
136
+ ],
137
+ [
138
+ 22,
139
+ 0,
140
+ ],
141
+ [
142
+ 23,
143
+ 0,
144
+ ],
145
+ [
146
+ 24,
147
+ 0,
148
+ ],
149
+ [
150
+ 25,
151
+ 0,
152
+ ],
153
+ [
154
+ 26,
155
+ 0,
156
+ ],
157
+ [
158
+ 27,
159
+ 0,
160
+ ],
161
+ [
162
+ 28,
163
+ 0,
164
+ ],
165
+ [
166
+ 29,
167
+ 0,
168
+ ],
169
+ ]
170
+ max_width_um = 100
171
+ max_height_um = 100
172
+
173
+ [task.output]
174
+ path = "output/final.gds"
175
+ format = "gds"
176
+ top_cell = "write_driver"
177
+ max_bytes = 10485760
178
+
179
+ [task.evaluation]
180
+ mode = "post_layout"
181
+
182
+ [[task.evaluation.jobs]]
183
+ id = "artifact"
184
+ stage = "check"
185
+ operation = "layout.artifact"
186
+ gate = "artifact"
187
+
188
+ [task.evaluation.jobs.inputs]
189
+ layout = "candidate"
190
+ task = "task"
191
+
192
+ [[task.evaluation.jobs]]
193
+ id = "drc"
194
+ stage = "check"
195
+ operation = "layout.drc"
196
+ gate = "drc"
197
+
198
+ [task.evaluation.jobs.inputs]
199
+ layout = "candidate"
200
+ task = "task"
201
+
202
+ [[task.evaluation.jobs]]
203
+ id = "lvs"
204
+ stage = "check"
205
+ operation = "layout.lvs"
206
+ gate = "lvs"
207
+
208
+ [task.evaluation.jobs.inputs]
209
+ layout = "candidate"
210
+ task = "task"
211
+ netlist = "input:netlist"
212
+
213
+ [task.evaluation.jobs.outputs]
214
+ database = "klayout-lvs"
215
+ binding = "json"
216
+
217
+ [[task.evaluation.jobs]]
218
+ id = "geometry"
219
+ stage = "check"
220
+ operation = "layout.geometry"
221
+ gate = "constraint"
222
+ requires = [
223
+ "artifact",
224
+ "drc",
225
+ "lvs",
226
+ ]
227
+
228
+ [task.evaluation.jobs.inputs]
229
+ layout = "candidate"
230
+ task = "task"
231
+ constraints = "input:constraints"
232
+ database = "job:lvs:database"
233
+ binding = "job:lvs:binding"
234
+
235
+ [[task.evaluation.jobs]]
236
+ id = "parasitics"
237
+ stage = "extract"
238
+ operation = "layout.extract_rc"
239
+ requires = [
240
+ "artifact",
241
+ "drc",
242
+ "lvs",
243
+ "geometry",
244
+ ]
245
+
246
+ [task.evaluation.jobs.inputs]
247
+ layout = "candidate"
248
+ task = "task"
249
+
250
+ [task.evaluation.jobs.outputs]
251
+ netlist = "spice"
252
+
253
+ [task.evaluation.jobs.parameters]
254
+ ports = [
255
+ "din",
256
+ "bl",
257
+ "br",
258
+ "wen",
259
+ "vdd",
260
+ "gnd",
261
+ ]
262
+
263
+ [[task.evaluation.jobs]]
264
+ id = "nominal"
265
+ stage = "simulate"
266
+ operation = "circuit.simulate"
267
+
268
+ [task.evaluation.jobs.inputs]
269
+ deck = "input:performance"
270
+ dut = "job:parasitics:netlist"
271
+
272
+ [task.evaluation.jobs.outputs]
273
+ waveform = "ngspice-raw"
274
+
275
+ [task.evaluation.jobs.parameters.exports]
276
+ waveform = "waveform.raw"
277
+
278
+ [task.evaluation.jobs.parameters.measurements]
279
+ bl_low = "V"
280
+ br_high = "V"
281
+ bl_high = "V"
282
+ br_low = "V"
283
+ z_bl = "V"
284
+ z_br = "V"
285
+ supply = "W"
286
+ data_delay_bl = "s"
287
+ data_delay_br = "s"
288
+
289
+ [[task.evaluation.metrics]]
290
+ id = "functional_area"
291
+ category = "physical"
292
+ observations = [
293
+ "geometry:area",
294
+ ]
295
+ unit = "um2"
296
+ direction = "minimize"
297
+ aggregation = "max"
298
+
299
+ [[task.evaluation.metrics]]
300
+ id = "bl_low"
301
+ category = "performance"
302
+ observations = [
303
+ "nominal:bl_low",
304
+ ]
305
+ unit = "V"
306
+ direction = "minimize"
307
+ aggregation = "max"
308
+ upper = 0.1
309
+
310
+ [[task.evaluation.metrics]]
311
+ id = "br_high"
312
+ category = "performance"
313
+ observations = [
314
+ "nominal:br_high",
315
+ ]
316
+ unit = "V"
317
+ direction = "maximize"
318
+ aggregation = "min"
319
+ lower = 0.9
320
+
321
+ [[task.evaluation.metrics]]
322
+ id = "bl_high"
323
+ category = "performance"
324
+ observations = [
325
+ "nominal:bl_high",
326
+ ]
327
+ unit = "V"
328
+ direction = "maximize"
329
+ aggregation = "min"
330
+ lower = 0.9
331
+
332
+ [[task.evaluation.metrics]]
333
+ id = "br_low"
334
+ category = "performance"
335
+ observations = [
336
+ "nominal:br_low",
337
+ ]
338
+ unit = "V"
339
+ direction = "minimize"
340
+ aggregation = "max"
341
+ upper = 0.1
342
+
343
+ [[task.evaluation.metrics]]
344
+ id = "z_bl"
345
+ category = "performance"
346
+ observations = [
347
+ "nominal:z_bl",
348
+ ]
349
+ unit = "V"
350
+ direction = "target"
351
+ aggregation = "max"
352
+ lower = 0.45
353
+ upper = 0.55
354
+
355
+ [[task.evaluation.metrics]]
356
+ id = "z_br"
357
+ category = "performance"
358
+ observations = [
359
+ "nominal:z_br",
360
+ ]
361
+ unit = "V"
362
+ direction = "target"
363
+ aggregation = "max"
364
+ lower = 0.45
365
+ upper = 0.55
366
+
367
+ [[task.evaluation.metrics]]
368
+ id = "supply"
369
+ category = "performance"
370
+ observations = [
371
+ "nominal:supply",
372
+ ]
373
+ unit = "W"
374
+ direction = "minimize"
375
+ aggregation = "max"
376
+ dimension = "supply"
377
+ baseline = [
378
+ "source_nominal:supply",
379
+ ]
380
+ normalization = "ratio"
381
+ lower = 0
382
+ scale = 1e-12
383
+
384
+ [[task.evaluation.metrics]]
385
+ id = "data_delay"
386
+ category = "performance"
387
+ observations = [
388
+ "nominal:data_delay_bl",
389
+ "nominal:data_delay_br",
390
+ ]
391
+ baseline = [
392
+ "source_nominal:data_delay_bl",
393
+ "source_nominal:data_delay_br",
394
+ ]
395
+ unit = "s"
396
+ direction = "minimize"
397
+ aggregation = "max"
398
+ dimension = "response"
399
+ normalization = "ratio"
400
+ lower = 0.0
401
+
402
+ [task.evaluation.scoring]
403
+ method = "layout"
404
+ area_metric = "functional_area"
405
+ area_target = 3.36
406
+ rationale = "SRAM periphery: peripheral delay 68%; supply power 17%; area 15%. Each objective's weight is divided equally among its metrics."
407
+
408
+ [task.evaluation.scoring.weights]
409
+ functional_area = 0.15
410
+ data_delay = 0.68
411
+ supply = 0.17
412
+
413
+ [task.evaluation.pre_layout]
414
+ source_report_sha256 = "4c7f16eb4faca05c47621e31e3a9511f8fa6bd470ad784766c7eb76c0adbfd1f"
415
+
416
+ [task.evaluation.pre_layout.backends]
417
+ "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\": \"7fc8a0cde0f7d722e87c34a1115c13986b3db8fecba4b7dadb0a1edf171df62b\", \"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******\"}"
418
+
419
+ [task.evaluation.pre_layout.jobs.source_nominal]
420
+ operation = "circuit.simulate"
421
+
422
+ [task.evaluation.pre_layout.jobs.source_nominal.inputs]
423
+ deck = "input:performance"
424
+ dut = "input:netlist"
425
+
426
+ [task.evaluation.pre_layout.jobs.source_nominal.outputs]
427
+ waveform = "ngspice-raw"
428
+
429
+ [task.evaluation.pre_layout.jobs.source_nominal.parameters.exports]
430
+ waveform = "waveform.raw"
431
+
432
+ [task.evaluation.pre_layout.jobs.source_nominal.parameters.measurements]
433
+ bl_low = "V"
434
+ br_high = "V"
435
+ bl_high = "V"
436
+ br_low = "V"
437
+ z_bl = "V"
438
+ z_br = "V"
439
+ supply = "W"
440
+ data_delay_bl = "s"
441
+ data_delay_br = "s"
442
+
443
+ [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
444
+ deck = "a07fc802d7506c35db325b6aa8256ec558c5d606003547a22e9e8b5236a98ecf"
445
+ dut = "40cf5d0d27b138b06a7b6b0bbdffefbf6a0569fae6092f1fd6d64c5501a952b4"
446
+
447
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.bl_high]
448
+ value = 0.9860666
449
+ unit = "V"
450
+
451
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.bl_low]
452
+ value = 0.0150365
453
+ unit = "V"
454
+
455
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.br_high]
456
+ value = 0.9886259
457
+ unit = "V"
458
+
459
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.br_low]
460
+ value = 0.02670905
461
+ unit = "V"
462
+
463
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.data_delay_bl]
464
+ value = 5.409058e-11
465
+ unit = "s"
466
+
467
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.data_delay_br]
468
+ value = 6.295051e-11
469
+ unit = "s"
470
+
471
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.supply]
472
+ value = 2.174283e-05
473
+ unit = "W"
474
+
475
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.z_bl]
476
+ value = 0.5015592
477
+ unit = "V"
478
+
479
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.z_br]
480
+ value = 0.502349
481
+ unit = "V"
482
+
483
+ [toolchain.backends.artifact]
484
+ type = "klayout-docker"
485
+
486
+ [toolchain.backends.artifact.settings]
487
+ image = "iclayout-bench-tools:local"
488
+ check = "artifact"
489
+ timeout_seconds = 120
490
+
491
+ [toolchain.backends.drc]
492
+ type = "klayout-docker"
493
+
494
+ [toolchain.backends.drc.settings]
495
+ image = "iclayout-bench-tools:local"
496
+ check = "drc"
497
+ timeout_seconds = 120
498
+ support = "build/support/freepdk45-klayout"
499
+ profile = "drc.json"
500
+
501
+ [toolchain.backends.drc.support_profiles]
502
+ support = "klayout"
503
+
504
+ [toolchain.backends.lvs]
505
+ type = "klayout-docker"
506
+
507
+ [toolchain.backends.lvs.settings]
508
+ image = "iclayout-bench-tools:local"
509
+ check = "lvs"
510
+ timeout_seconds = 120
511
+ support = "build/support/freepdk45-klayout"
512
+ profile = "strict-lvs.json"
513
+
514
+ [toolchain.backends.lvs.support_profiles]
515
+ support = "klayout"
516
+
517
+ [toolchain.backends.geometry]
518
+ type = "klayout-geometry-docker"
519
+
520
+ [toolchain.backends.geometry.settings]
521
+ image = "iclayout-bench-tools:local"
522
+ timeout_seconds = 60
523
+
524
+ [toolchain.backends.rc]
525
+ type = "magic-rc-docker"
526
+
527
+ [toolchain.backends.rc.settings]
528
+ image = "iclayout-bench-tools:local"
529
+ support = "build/support/freepdk45-magic-vtg"
530
+ technology = "freepdk45.tech"
531
+ tech_name = "freepdk45"
532
+ style = "spice3(sim)"
533
+ gds_readonly = false
534
+ case_insensitive_ports = true
535
+ label_layers = [
536
+ [
537
+ 9,
538
+ 0,
539
+ ],
540
+ [
541
+ 11,
542
+ 0,
543
+ ],
544
+ [
545
+ 13,
546
+ 0,
547
+ ],
548
+ [
549
+ 15,
550
+ 0,
551
+ ],
552
+ [
553
+ 17,
554
+ 0,
555
+ ],
556
+ [
557
+ 19,
558
+ 0,
559
+ ],
560
+ [
561
+ 21,
562
+ 0,
563
+ ],
564
+ [
565
+ 23,
566
+ 0,
567
+ ],
568
+ [
569
+ 25,
570
+ 0,
571
+ ],
572
+ [
573
+ 27,
574
+ 0,
575
+ ],
576
+ [
577
+ 29,
578
+ 0,
579
+ ],
580
+ ]
581
+ timeout_seconds = 120
582
+
583
+ [toolchain.backends.rc.support_profiles]
584
+ support = "magic-vtg"
585
+
586
+ [toolchain.backends.ngspice]
587
+ type = "ngspice-docker"
588
+
589
+ [toolchain.backends.ngspice.settings]
590
+ image = "iclayout-bench-tools:local"
591
+ support = "build/support/freepdk45-models"
592
+ timeout_seconds = 120
593
+
594
+ [toolchain.backends.ngspice.support_profiles]
595
+ support = "models"
596
+
597
+ [toolchain.bindings]
598
+ "layout.artifact" = "artifact"
599
+ "layout.drc" = "drc"
600
+ "layout.lvs" = "lvs"
601
+ "layout.geometry" = "geometry"
602
+ "layout.extract_rc" = "rc"
603
+ "circuit.simulate" = "ngspice"
604
+
605
+ [qualification]
606
+ reference = "reference/write_driver.gds"
607
+
608
+ [origin]
609
+ url = "https://github.com/ferdous313/OpenRAM/blob/420a33e731d7d80bf9c7cd54ffbeec3603259847/technology/freepdk45/sp_lib/write_driver.sp"
610
+
611
+ [presentation]
612
+ category = "Logic & memory"
613
+ summary = "Drives complementary bitlines during a write and releases them when disabled."
tasks/freepdk45/OpenRAM/cases/write_driver/materials/circuit.spice ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ .SUBCKT write_driver din bl br wen vdd gnd
3
+ *inverters for enable and data input
4
+ minP bl_bar din vdd vdd pmos_vtg w=360.000000n l=50.000000n
5
+ minN bl_bar din gnd gnd nmos_vtg w=180.000000n l=50.000000n
6
+ moutP wen_bar wen vdd vdd pmos_vtg w=360.000000n l=50.000000n
7
+ moutN wen_bar wen gnd gnd nmos_vtg w=180.000000n l=50.000000n
8
+
9
+ *tristate for BL
10
+ mout0P int1 bl_bar vdd vdd pmos_vtg w=360.000000n l=50.000000n
11
+ mout0P2 bl wen_bar int1 vdd pmos_vtg w=360.000000n l=50.000000n
12
+ mout0N bl wen int2 gnd nmos_vtg w=180.000000n l=50.000000n
13
+ mout0N2 int2 bl_bar gnd gnd nmos_vtg w=180.000000n l=50.000000n
14
+
15
+ *tristate for BR
16
+ mout1P int3 din vdd vdd pmos_vtg w=360.000000n l=50.000000n
17
+ mout1P2 br wen_bar int3 vdd pmos_vtg w=360.000000n l=50.000000n
18
+ mout1N br wen int4 gnd nmos_vtg w=180.000000n l=50.000000n
19
+ mout1N2 int4 din gnd gnd nmos_vtg w=180.000000n l=50.000000n
20
+ .ENDS write_driver
21
+
tasks/freepdk45/OpenRAM/cases/write_driver/materials/schematic.svg ADDED
tasks/freepdk45/OpenRAM/cases/write_driver/materials/testbench.spice ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ * write_driver nominal characterization
2
+ .include /workspace/support/models.spice
3
+ .include dut.spice
4
+ .temp 27
5
+ Vdd vdd 0 1
6
+ Xdut din BL BR wen vdd gnd write_driver
7
+ Vdin din 0 PULSE(0 1 500p 10p 10p 490p 1n)
8
+ Ven wen 0 PWL(0 1 2n 1 2.01n 0)
9
+ Cl bl 0 10f
10
+ Cr br 0 10f
11
+ Vmid mid 0 .5
12
+ Rl bl mid 100k
13
+ Rr br mid 100k
14
+ .tran 1p 12n
15
+ .meas tran bl_low find v(bl) at=300p
16
+ .meas tran br_high find v(br) at=300p
17
+ .meas tran bl_high find v(bl) at=710p
18
+ .meas tran br_low find v(br) at=710p
19
+ .meas tran z_bl find v(bl) at=11.9n
20
+ .meas tran z_br find v(br) at=11.9n
21
+ .meas tran supply avg par('-v(vdd)*i(Vdd)') from=0 to=2n
22
+
23
+ .meas tran data_delay_bl trig v(din) val=.5 rise=1 td=.5n targ v(bl) val=.5 rise=1 td=.5n
24
+
25
+ .meas tran data_delay_br trig v(din) val=.5 rise=1 td=.5n targ v(br) val=.5 fall=1 td=.5n
26
+
27
+ .control
28
+ run
29
+ write waveform.raw v(din) v(bl) v(br) v(wen) v(vdd) i(Vdd)
30
+ quit
31
+ .endc
32
+ .end
tasks/freepdk45/OpenRAM/cases/write_driver/problem.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Complementary SRAM Write Driver Layout Task
2
+
3
+ ## Objective
4
+
5
+ Implement the supplied complementary tri-state write driver: WEN=1 drives BL=DIN and BR=NOT DIN; WEN=0 disables both outputs. Preserve the authoritative netlist's model classes, W/L, interface and connectivity. Submit top cell `write_driver`.
6
+
7
+ ## Inputs and Interface
8
+
9
+ Ordered SPICE ports: `din bl br wen vdd gnd`. Names are case-insensitive; different names are not interchangeable. The delivered inputs are this problem, `materials/circuit.spice`, and `materials/testbench.spice`. The model and extraction resources are supplied as reviewed support bundles. Reference geometry and qualification evidence are maintainer materials, excluded from solver inputs.
10
+
11
+ ## Operating Conditions
12
+
13
+ Use the nominal FreePDK45 BSIM4 models at **1.0 V and 27 C**, with ground at 0 V. All transistor lengths are 50 nm; widths and model classes come from the netlist.
14
+
15
+ BL and BR each drive 10 fF and a 100 kohm resistor to 0.5 V. DIN starts low, rises at 500 ps and falls at 1 ns, with 10 ps edges and a 1 ns period. WEN is high until 2 ns and falls over 10 ps. Sample the enabled complementary outputs at 300 ps and 710 ps, and both disabled outputs at 11.9 ns. The passive midpoint loads test high impedance without accessing internal nodes. Average DUT supply power over 0–2 ns.
16
+
17
+ The deck defines stimuli and observation times exactly. Tests use only external ports. Qualification covers these nominal conditions, not PVT, mismatch, array abutment, substrate noise or manufacturing signoff.
18
+
19
+ ## Physical Requirements
20
+
21
+ Submit a nonempty GDSII of at most 10 MiB. Enable all checks present in the supplied KLayout DRC deck, including grid and antenna checks, with no waivers. Strict LVS checks named ports, models, W/L and actual well/tap connectivity; library-specific implicit or global rail connections are disabled. The upstream deck does not implement its documented different-potential well-spacing rule; it is not a complete foundry signoff deck.
22
+
23
+ The hard functional envelope is 100 um by 100 um. Its bounding rectangle includes every drawing layer 1/0 through 29/0: active, wells, implants, threshold markers, poly, contacts, all ten metals and all nine vias. It supplies the scored footprint in um2. Put functional geometry on these layers; pin-purpose and annotation geometry is excluded. Electrical labels use poly or metal drawing layers (9/0 and 11/0, 13/0, ..., 29/0). Non-electrical annotation text is ignored by extraction.
24
+
25
+ Translation, equivalent hierarchy and internal instance renaming are allowed. LVS permits source/drain exchange and equivalent parallel devices; any such layout must also pass the same RC-based electrical requirements. Preserve top-level port identities and explicit body connections.
26
+
27
+ ## Electrical Requirements and Scoring
28
+
29
+ Artifact, DRC, LVS and geometry gates precede candidate GDS extraction. Simulation consumes the candidate's Magic RC netlist unchanged; source simulation supplies the independent scoring baseline. VTG/VTL device classes are checked by independent LVS before the matching extraction profile is used. Extraction includes poly/metal sheet resistance, contacts/vias, geometry-dependent coupling and ground capacitance, and device junction area/perimeter. Wells are lumped connections; BSIM4 supplies device/junction behavior. Interconnect resistance and capacitance use the pinned community FreePDK45 Magic technology's estimated coefficients and native capacitance placement. The extraction adapter binds VTG/VTL models, preserves annotation layers and corrects the technology's dimensional unit conversion. This is a predictive approximation without field-solver signoff accuracy.
30
+
31
+ Physical checks and declared functional bounds remain mandatory. Quality has no
32
+ fixed allowed-degradation threshold. Each `source_*` job simulates the declared
33
+ source circuit with exactly the same testbench, model resources, parameters,
34
+ load and measurement window as its paired extracted-candidate job. A source
35
+ observation is the 100-point electrical baseline; it is independent of the
36
+ submitted GDS. All individual pairs are retained in the evaluation report.
37
+
38
+ For a post-layout observation x and its source observation b:
39
+
40
+ - Maximize: q = x/b; minimize: q = b/x. When a numerical scale s is declared,
41
+ use (x+s)/(b+s) or its inverse. This handles zero-valued error measurements;
42
+ s is a normalization floor, not an allowed degradation or pass threshold.
43
+ - Amplitude dB: q = 10^((x-b)/20) for maximize, its inverse for minimize.
44
+ - Target: q = 1/(1+abs(x-b)/s), with a declared physical scale s. Signed and
45
+ zero-valued operating points are never divided directly.
46
+
47
+ Scoring uses `layout`. A metric uses its worst paired quality q. The score is
48
+ S = 100 * product(q_i ** w_i), including area quality
49
+ q_area = area_reference / candidate_functional_area. The weights below sum to
50
+ one. Dimensions describe measurements but do not determine their weights.
51
+ Physical or functional rejection scores zero; missing or invalid measurements
52
+ produce an unknown score, including measurements with zero weight.
53
+ Source-equivalent performance at the area reference scores 100; improvements
54
+ can exceed 100. A weight expresses a tradeoff, not a hard acceptance limit.
55
+
56
+ | Metric | Definition / observations | Unit | Quality rule | Functional bounds | Scale |
57
+ | --- | --- | --- | --- | --- | --- |
58
+ | `bl_low` | `find v(bl) at=300p` | V | functional check | −∞ … 0.1 | — |
59
+ | `br_high` | `find v(br) at=300p` | V | functional check | 0.9 … +∞ | — |
60
+ | `bl_high` | `find v(bl) at=710p` | V | functional check | 0.9 … +∞ | — |
61
+ | `br_low` | `find v(br) at=710p` | V | functional check | −∞ … 0.1 | — |
62
+ | `z_bl` | `find v(bl) at=11.9n` | V | functional check | 0.45 … 0.55 | — |
63
+ | `z_br` | `find v(br) at=11.9n` | V | functional check | 0.45 … 0.55 | — |
64
+ | `supply` | `avg par('-v(vdd)*i(Vdd)') from=0 to=2n` | W | minimize / ratio | 0 … +∞ | 1e-12 |
65
+ | `data_delay` | DIN rising through 0.5 V after 0.5 ns to BL rising or BR falling through 0.5 V; both arcs are source-paired. | s | minimize / ratio | 0 … +∞ | — |
66
+
67
+ Area reference: **3.36 um2**. 12 expanded device instances; sum of device/contact envelopes 1.7748 um2, per-side envelope allowance 0.12 um, 50% routing allowance and total outer width/height allowance 0.24 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.
68
+
69
+ The capability coefficient remains **3**; it is independent of
70
+ the reference-relative task score.
71
+
72
+
73
+ ### Score weights
74
+
75
+ SRAM periphery: peripheral delay 68%; supply power 17%; area 15%. Each objective's weight is divided equally among its metrics.
76
+
77
+ | Metric | Weight |
78
+ | --- | ---: |
79
+ | `functional_area` | 0.15 |
80
+ | `data_delay` | 0.680000000000 |
81
+ | `supply` | 0.170000000000 |
82
+
83
+ ## Tools and Submission
84
+
85
+ Solve budget: **3 hours**.
86
+
87
+ Use the reviewed FreePDK45 KLayout, Magic and ngspice resources from `/protocol/resources.json`. For Magic RC extraction, use `/resources/support/magic-vtg/freepdk45.tech`, which includes the required model and unit adaptations. Runtime `/protocol/task.json` publishes the same constraints, measurements and scoring. Only declared inputs appear under `/task`. Write `/workspace/output/final.gds`, then explicitly submit with `python -I /protocol/submit.py`. A harness that declares `process-feedback` uses the same frozen plan and backend identities for process checks; those snapshots do not count as final submissions.
tasks/freepdk45/OpenRAM/cases/write_driver/reference/write_driver.gds ADDED
Binary file (22.7 kB). View file
 
tasks/freepdk45/README.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # FreePDK45 Process Scope
2
+
3
+ Process manifests pin resources; each case contract defines its operating conditions.
4
+ For installation, caching and reference execution, use the evaluator
5
+ [tools guide](https://github.com/lizhangmai/ICLayout-Bench/blob/main/docs/tools.md).
6
+
7
+ The selected FreePDK45 tasks cover NAND logic, SRAM storage and write drive.
8
+ References use the nominal predictive BSIM4 models and candidate-derived Magic
9
+ RC under the conditions declared by each case. The
10
+ [process manifest](pdk.toml) owns pinned resources and profiles.
11
+
12
+ Each problem is self-contained. Its configuration owns the exact devices, loads,
13
+ stimuli, observation times, bounds, dimensions and area anchors. Source simulation defines the electrical scoring baseline. Standard-cell area
14
+ uses the reference layout; other areas use the frozen compact estimate. Witnesses
15
+ are excluded from standard solver inputs.
16
+
17
+ ## Physical and extraction scope
18
+
19
+ The KLayout profile enables all implemented DRC, manufacturing-grid and antenna
20
+ checks without waivers. The community deck's POLY.3 spacing is 50 nm, as documented
21
+ upstream for Nangate compatibility. The source deck explicitly lacks its different-potential
22
+ well-spacing check, so a pass is not complete manufacturing signoff. Strict LVS
23
+ flattens an isolated candidate copy with its labels, removes library-specific
24
+ `cheat` blocks and implicit/global rail joins, and compares models, W/L, named
25
+ ports and real well/tap connectivity. The upstream audit profile is separate and
26
+ retains the original library assumptions; it is not the task judge.
27
+
28
+ The functional footprint includes drawing layers 1/0 through 29/0, including all
29
+ ten routing metals and nine vias. The same layer set supplies the hard 100 by
30
+ 100 um envelope and scored bounding-box area. Annotation and pin-purpose shapes
31
+ are excluded; the contract requires functional routing on drawing layers.
32
+
33
+ Magic imports the candidate on its exact DBU grid, filters electrical text to
34
+ poly/metal drawing layers and aliases case-insensitive SPICE port names. It
35
+ extracts resistances and capacitances from the GDS, with no schematic replacement.
36
+ Independent LVS selects the applicable VTG or VTL model class first. The native
37
+ RC topology is checked during qualification against the source after removing
38
+ capacitors and collapsing parasitic resistors. Simulation always uses the full,
39
+ unchanged extracted RC network.
40
+
41
+ The predictive extraction uses the community Magic technology's estimated
42
+ resistance/capacitance coefficients and its native placement of coupling and
43
+ ground capacitance, with nominal VTG/VTL ngspice models at 27 C. Wells and substrate
44
+ are lumped connections. This is not calibrated field-solver extraction or a
45
+ foundry signoff claim; process variation, substrate noise and RF/EM are outside scope.
46
+
47
+ Use `/resources/support/magic-vtg/freepdk45.tech` or the `magic-vtl` counterpart
48
+ for evaluation-equivalent extraction, as specified by the case problem. The unified
49
+ PDK directory retains the upstream views; reviewed profiles include the adaptations.
50
+
51
+ The explicit manifest adaptations map MOS extraction to the LVS-selected model
52
+ class, import threshold/annotation markers as non-electrical comments, and correct
53
+ `lambda` from 0.025 to **2.5**. Magic expresses this length in centimicrons, so 2.5
54
+ represents the technology's 25 nm internal grid; the upstream value otherwise
55
+ extracts a 50 nm gate as 0.5 nm. Upstream coefficients are retained. Qualification
56
+ checks the selected published layouts through the complete extraction and simulation
57
+ path. This does not establish stream-out equivalence between Magic and KLayout;
58
+ the community repository documents known via/metal stream-out differences.
tasks/freepdk45/nangate45-pdk/LICENSE ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
tasks/freepdk45/nangate45-pdk/NOTICE ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright 2008-2021 Silvaco, Inc.
2
+
3
+
4
+ Contributed Materials
5
+
6
+ Silvaco Inc. has submitted to Si2 the following materials (“Contribution”):
7
+
8
+ 45nm Open-Source Digital Cell Library (“Library”)
9
+
10
+ This submission hereunder constitutes a “Contribution” under the Si2 Project and OpenStandards IP. For avoidance of doubt, any portions of the Contribution consisting of source code or software are contributed pursuant to the Apache 2.0 license accompanying such material.
11
+
12
+ Licensed under the Apache License, Version 2.0 (the "License");
13
+ you may not use this file except in compliance with the License.
14
+ You may obtain a copy of the License at
15
+
16
+ http://www.apache.org/licenses/LICENSE-2.0
17
+
18
+ Unless required by applicable law or agreed to in writing, software
19
+ distributed under the License is distributed on an "AS IS" BASIS,
20
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21
+ See the License for the specific language governing permissions and
22
+ limitations under the License.
23
+
24
+
25
+ Documentation is contributed pursuant to the Creative Commons License, Version 4.0 (CCL-4.0).
26
+
27
+ This work is licensed under the Creative Common Attribution 4.0 International License.
28
+ To view a copy of this license visit: https://creativecommons.org/licenses/by/4.0/
29
+ or send a letter to Creative Commons PO Box 1866, Mountainview CA 94042, USA.
30
+
31
+
32
+ Under the terms of this Contribution, the materials are to be posted to Si2’s website (www.si2.org) and made available to members and Universities for download and use at no charge. Non-members may visit https://silvaco.com/services/library-design/ for further information on obtaining the Library.
33
+
34
+ Retained source declarations
35
+ ----------------------------
36
+ This collection retains generated upstream copyright headers, including legacy
37
+ proprietary wording, alongside the Apache license and Silvaco/Si2 notice from the
38
+ pinned upstream publication. Preserve these declarations together; source URLs
39
+ are recorded in the case manifests.
tasks/freepdk45/nangate45-pdk/cases/AOI21_X1/case.toml ADDED
@@ -0,0 +1,1073 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ in_core = false
2
+ kind = "layout_case"
3
+ id = "freepdk45.nangate45-pdk.AOI21_X1"
4
+ title = "AND-OR-Invert Gate"
5
+ status = "qualified"
6
+
7
+ [[assets]]
8
+ path = "reference/AOI21_X1.gds"
9
+ role = "reference"
10
+ visibility = "maintainer"
11
+ format = "gds"
12
+ sha256 = "1ebcc6f4d7a8f5c50846b5cdfd60f3039fb96caf455b89f2d7f30568c5a2af94"
13
+
14
+ [[assets]]
15
+ path = "materials/schematic.svg"
16
+ role = "schematic"
17
+ visibility = "maintainer"
18
+ format = "svg"
19
+ sha256 = "bd3f9998b37ef9ed17592ce028beb4b0dd2de95e3f8118eddb4133d66141c3a7"
20
+
21
+ [task]
22
+ hours = 3
23
+ kind = "netlist_to_gds"
24
+ family = "freepdk45_aoi21_x1"
25
+ coefficient = 2
26
+ environment = "freepdk45-nominal-predictive-rc"
27
+
28
+ [task.inputs.description]
29
+ path = "problem.md"
30
+ sha256 = "4ace260ca69cbe7c09224a583aaffcde13d68ad6fd81ad5bcb2ee9554fe19311"
31
+ format = "text"
32
+
33
+ [task.inputs.netlist]
34
+ path = "materials/circuit.spice"
35
+ sha256 = "07d8b2857f5ecd7bde8d5b3e231b16b6819272db2d19c1ee4882094e04bc909e"
36
+ format = "spice"
37
+ subcircuit = "AOI21_X1"
38
+
39
+ [task.inputs.performance]
40
+ path = "materials/testbench.spice"
41
+ sha256 = "f8401ddcc740853f48b867b25e5bbf895409a9d1df90dfd5b013f31d236aa6b8"
42
+ format = "spice"
43
+
44
+ [task.constraints]
45
+ quality = [
46
+ { id = "area", type = "functional_bbox_area", layers_from = "outline" },
47
+ ]
48
+
49
+ [[task.constraints.hard]]
50
+ id = "outline"
51
+ type = "bbox_max"
52
+ functional_layers = [
53
+ [
54
+ 1,
55
+ 0,
56
+ ],
57
+ [
58
+ 2,
59
+ 0,
60
+ ],
61
+ [
62
+ 3,
63
+ 0,
64
+ ],
65
+ [
66
+ 4,
67
+ 0,
68
+ ],
69
+ [
70
+ 5,
71
+ 0,
72
+ ],
73
+ [
74
+ 6,
75
+ 0,
76
+ ],
77
+ [
78
+ 7,
79
+ 0,
80
+ ],
81
+ [
82
+ 8,
83
+ 0,
84
+ ],
85
+ [
86
+ 9,
87
+ 0,
88
+ ],
89
+ [
90
+ 10,
91
+ 0,
92
+ ],
93
+ [
94
+ 11,
95
+ 0,
96
+ ],
97
+ [
98
+ 12,
99
+ 0,
100
+ ],
101
+ [
102
+ 13,
103
+ 0,
104
+ ],
105
+ [
106
+ 14,
107
+ 0,
108
+ ],
109
+ [
110
+ 15,
111
+ 0,
112
+ ],
113
+ [
114
+ 16,
115
+ 0,
116
+ ],
117
+ [
118
+ 17,
119
+ 0,
120
+ ],
121
+ [
122
+ 18,
123
+ 0,
124
+ ],
125
+ [
126
+ 19,
127
+ 0,
128
+ ],
129
+ [
130
+ 20,
131
+ 0,
132
+ ],
133
+ [
134
+ 21,
135
+ 0,
136
+ ],
137
+ [
138
+ 22,
139
+ 0,
140
+ ],
141
+ [
142
+ 23,
143
+ 0,
144
+ ],
145
+ [
146
+ 24,
147
+ 0,
148
+ ],
149
+ [
150
+ 25,
151
+ 0,
152
+ ],
153
+ [
154
+ 26,
155
+ 0,
156
+ ],
157
+ [
158
+ 27,
159
+ 0,
160
+ ],
161
+ [
162
+ 28,
163
+ 0,
164
+ ],
165
+ [
166
+ 29,
167
+ 0,
168
+ ],
169
+ ]
170
+ max_width_um = 100
171
+ max_height_um = 100
172
+
173
+ [[task.constraints.hard]]
174
+ id = "cell_frame"
175
+ type = "cell_frame"
176
+ functional_layers = [
177
+ [
178
+ 1,
179
+ 0,
180
+ ],
181
+ [
182
+ 2,
183
+ 0,
184
+ ],
185
+ [
186
+ 3,
187
+ 0,
188
+ ],
189
+ [
190
+ 4,
191
+ 0,
192
+ ],
193
+ [
194
+ 5,
195
+ 0,
196
+ ],
197
+ [
198
+ 6,
199
+ 0,
200
+ ],
201
+ [
202
+ 7,
203
+ 0,
204
+ ],
205
+ [
206
+ 8,
207
+ 0,
208
+ ],
209
+ [
210
+ 9,
211
+ 0,
212
+ ],
213
+ [
214
+ 10,
215
+ 0,
216
+ ],
217
+ [
218
+ 11,
219
+ 0,
220
+ ],
221
+ [
222
+ 12,
223
+ 0,
224
+ ],
225
+ [
226
+ 13,
227
+ 0,
228
+ ],
229
+ [
230
+ 14,
231
+ 0,
232
+ ],
233
+ [
234
+ 15,
235
+ 0,
236
+ ],
237
+ [
238
+ 16,
239
+ 0,
240
+ ],
241
+ [
242
+ 17,
243
+ 0,
244
+ ],
245
+ [
246
+ 18,
247
+ 0,
248
+ ],
249
+ [
250
+ 19,
251
+ 0,
252
+ ],
253
+ [
254
+ 20,
255
+ 0,
256
+ ],
257
+ [
258
+ 21,
259
+ 0,
260
+ ],
261
+ [
262
+ 22,
263
+ 0,
264
+ ],
265
+ [
266
+ 23,
267
+ 0,
268
+ ],
269
+ [
270
+ 24,
271
+ 0,
272
+ ],
273
+ [
274
+ 25,
275
+ 0,
276
+ ],
277
+ [
278
+ 26,
279
+ 0,
280
+ ],
281
+ [
282
+ 27,
283
+ 0,
284
+ ],
285
+ [
286
+ 28,
287
+ 0,
288
+ ],
289
+ [
290
+ 29,
291
+ 0,
292
+ ],
293
+ ]
294
+ height_um = 1.6300000000000001
295
+ width_grid_um = 0.01
296
+
297
+ [[task.constraints.hard.rails]]
298
+ name = "VDD"
299
+ layer = [
300
+ 11,
301
+ 0,
302
+ ]
303
+ connectivity_layer = "metal1"
304
+ y_um = 1.5150000000000001
305
+ thickness_um = 0.07
306
+ left_um = 0.115
307
+ right_um = 0.030000000000000002
308
+
309
+ [[task.constraints.hard.rails]]
310
+ name = "VSS"
311
+ layer = [
312
+ 11,
313
+ 0,
314
+ ]
315
+ connectivity_layer = "metal1"
316
+ y_um = 0.115
317
+ thickness_um = 0.07
318
+ left_um = 0.115
319
+ right_um = 0.030000000000000002
320
+
321
+ [task.output]
322
+ path = "output/final.gds"
323
+ format = "gds"
324
+ top_cell = "AOI21_X1"
325
+ max_bytes = 10485760
326
+
327
+ [task.evaluation]
328
+ mode = "post_layout"
329
+
330
+ [[task.evaluation.jobs]]
331
+ id = "artifact"
332
+ stage = "check"
333
+ operation = "layout.artifact"
334
+ gate = "artifact"
335
+
336
+ [task.evaluation.jobs.inputs]
337
+ layout = "candidate"
338
+ task = "task"
339
+
340
+ [[task.evaluation.jobs]]
341
+ id = "drc"
342
+ stage = "check"
343
+ operation = "layout.drc"
344
+ gate = "drc"
345
+
346
+ [task.evaluation.jobs.inputs]
347
+ layout = "candidate"
348
+ task = "task"
349
+
350
+ [[task.evaluation.jobs]]
351
+ id = "lvs"
352
+ stage = "check"
353
+ operation = "layout.lvs"
354
+ gate = "lvs"
355
+
356
+ [task.evaluation.jobs.inputs]
357
+ layout = "candidate"
358
+ task = "task"
359
+ netlist = "input:netlist"
360
+
361
+ [task.evaluation.jobs.outputs]
362
+ database = "klayout-lvs"
363
+ binding = "json"
364
+
365
+ [[task.evaluation.jobs]]
366
+ id = "geometry"
367
+ stage = "check"
368
+ operation = "layout.geometry"
369
+ gate = "constraint"
370
+ requires = [
371
+ "artifact",
372
+ "drc",
373
+ "lvs",
374
+ ]
375
+
376
+ [task.evaluation.jobs.inputs]
377
+ layout = "candidate"
378
+ task = "task"
379
+ constraints = "input:constraints"
380
+ database = "job:lvs:database"
381
+ binding = "job:lvs:binding"
382
+
383
+ [[task.evaluation.jobs]]
384
+ id = "parasitics"
385
+ stage = "extract"
386
+ operation = "layout.extract_rc"
387
+ requires = [
388
+ "artifact",
389
+ "drc",
390
+ "lvs",
391
+ "geometry",
392
+ ]
393
+
394
+ [task.evaluation.jobs.inputs]
395
+ layout = "candidate"
396
+ task = "task"
397
+
398
+ [task.evaluation.jobs.outputs]
399
+ netlist = "spice"
400
+
401
+ [task.evaluation.jobs.parameters]
402
+ ports = [
403
+ "A",
404
+ "B1",
405
+ "B2",
406
+ "ZN",
407
+ "VDD",
408
+ "VSS",
409
+ ]
410
+
411
+ [[task.evaluation.jobs]]
412
+ id = "nominal"
413
+ stage = "simulate"
414
+ operation = "circuit.simulate"
415
+
416
+ [task.evaluation.jobs.inputs]
417
+ deck = "input:performance"
418
+ dut = "job:parasitics:netlist"
419
+
420
+ [task.evaluation.jobs.outputs]
421
+ waveform = "ngspice-raw"
422
+
423
+ [task.evaluation.jobs.parameters.exports]
424
+ waveform = "waveform.raw"
425
+
426
+ [task.evaluation.jobs.parameters.measurements]
427
+ state_0 = "V"
428
+ state_1 = "V"
429
+ state_2 = "V"
430
+ state_3 = "V"
431
+ state_4 = "V"
432
+ state_5 = "V"
433
+ state_6 = "V"
434
+ state_7 = "V"
435
+ state_8 = "V"
436
+ state_9 = "V"
437
+ state_10 = "V"
438
+ state_11 = "V"
439
+ state_12 = "V"
440
+ state_13 = "V"
441
+ state_14 = "V"
442
+ state_15 = "V"
443
+ state_16 = "V"
444
+ supply = "W"
445
+ delay_b1_fall_2 = "s"
446
+ transition_b1_fall_2 = "s"
447
+ delay_b2_rise_3 = "s"
448
+ transition_b2_rise_3 = "s"
449
+ delay_a_fall_4 = "s"
450
+ transition_a_fall_4 = "s"
451
+ delay_a_rise_8 = "s"
452
+ transition_a_rise_8 = "s"
453
+ delay_a_fall_9 = "s"
454
+ transition_a_fall_9 = "s"
455
+ delay_a_rise_13 = "s"
456
+ transition_a_rise_13 = "s"
457
+ delay_b2_fall_14 = "s"
458
+ transition_b2_fall_14 = "s"
459
+ delay_b1_rise_15 = "s"
460
+ transition_b1_rise_15 = "s"
461
+
462
+ [[task.evaluation.metrics]]
463
+ id = "functional_area"
464
+ category = "physical"
465
+ observations = [
466
+ "geometry:area",
467
+ ]
468
+ unit = "um2"
469
+ direction = "minimize"
470
+ aggregation = "max"
471
+
472
+ [[task.evaluation.metrics]]
473
+ id = "state_0"
474
+ category = "performance"
475
+ observations = [
476
+ "nominal:state_0",
477
+ ]
478
+ unit = "V"
479
+ direction = "maximize"
480
+ aggregation = "min"
481
+ lower = 0.9
482
+
483
+ [[task.evaluation.metrics]]
484
+ id = "state_1"
485
+ category = "performance"
486
+ observations = [
487
+ "nominal:state_1",
488
+ ]
489
+ unit = "V"
490
+ direction = "maximize"
491
+ aggregation = "min"
492
+ lower = 0.9
493
+
494
+ [[task.evaluation.metrics]]
495
+ id = "state_2"
496
+ category = "performance"
497
+ observations = [
498
+ "nominal:state_2",
499
+ ]
500
+ unit = "V"
501
+ direction = "minimize"
502
+ aggregation = "max"
503
+ upper = 0.1
504
+
505
+ [[task.evaluation.metrics]]
506
+ id = "state_3"
507
+ category = "performance"
508
+ observations = [
509
+ "nominal:state_3",
510
+ ]
511
+ unit = "V"
512
+ direction = "maximize"
513
+ aggregation = "min"
514
+ lower = 0.9
515
+
516
+ [[task.evaluation.metrics]]
517
+ id = "state_4"
518
+ category = "performance"
519
+ observations = [
520
+ "nominal:state_4",
521
+ ]
522
+ unit = "V"
523
+ direction = "minimize"
524
+ aggregation = "max"
525
+ upper = 0.1
526
+
527
+ [[task.evaluation.metrics]]
528
+ id = "state_5"
529
+ category = "performance"
530
+ observations = [
531
+ "nominal:state_5",
532
+ ]
533
+ unit = "V"
534
+ direction = "minimize"
535
+ aggregation = "max"
536
+ upper = 0.1
537
+
538
+ [[task.evaluation.metrics]]
539
+ id = "state_6"
540
+ category = "performance"
541
+ observations = [
542
+ "nominal:state_6",
543
+ ]
544
+ unit = "V"
545
+ direction = "minimize"
546
+ aggregation = "max"
547
+ upper = 0.1
548
+
549
+ [[task.evaluation.metrics]]
550
+ id = "state_7"
551
+ category = "performance"
552
+ observations = [
553
+ "nominal:state_7",
554
+ ]
555
+ unit = "V"
556
+ direction = "minimize"
557
+ aggregation = "max"
558
+ upper = 0.1
559
+
560
+ [[task.evaluation.metrics]]
561
+ id = "state_8"
562
+ category = "performance"
563
+ observations = [
564
+ "nominal:state_8",
565
+ ]
566
+ unit = "V"
567
+ direction = "maximize"
568
+ aggregation = "min"
569
+ lower = 0.9
570
+
571
+ [[task.evaluation.metrics]]
572
+ id = "state_9"
573
+ category = "performance"
574
+ observations = [
575
+ "nominal:state_9",
576
+ ]
577
+ unit = "V"
578
+ direction = "minimize"
579
+ aggregation = "max"
580
+ upper = 0.1
581
+
582
+ [[task.evaluation.metrics]]
583
+ id = "state_10"
584
+ category = "performance"
585
+ observations = [
586
+ "nominal:state_10",
587
+ ]
588
+ unit = "V"
589
+ direction = "minimize"
590
+ aggregation = "max"
591
+ upper = 0.1
592
+
593
+ [[task.evaluation.metrics]]
594
+ id = "state_11"
595
+ category = "performance"
596
+ observations = [
597
+ "nominal:state_11",
598
+ ]
599
+ unit = "V"
600
+ direction = "minimize"
601
+ aggregation = "max"
602
+ upper = 0.1
603
+
604
+ [[task.evaluation.metrics]]
605
+ id = "state_12"
606
+ category = "performance"
607
+ observations = [
608
+ "nominal:state_12",
609
+ ]
610
+ unit = "V"
611
+ direction = "minimize"
612
+ aggregation = "max"
613
+ upper = 0.1
614
+
615
+ [[task.evaluation.metrics]]
616
+ id = "state_13"
617
+ category = "performance"
618
+ observations = [
619
+ "nominal:state_13",
620
+ ]
621
+ unit = "V"
622
+ direction = "maximize"
623
+ aggregation = "min"
624
+ lower = 0.9
625
+
626
+ [[task.evaluation.metrics]]
627
+ id = "state_14"
628
+ category = "performance"
629
+ observations = [
630
+ "nominal:state_14",
631
+ ]
632
+ unit = "V"
633
+ direction = "minimize"
634
+ aggregation = "max"
635
+ upper = 0.1
636
+
637
+ [[task.evaluation.metrics]]
638
+ id = "state_15"
639
+ category = "performance"
640
+ observations = [
641
+ "nominal:state_15",
642
+ ]
643
+ unit = "V"
644
+ direction = "maximize"
645
+ aggregation = "min"
646
+ lower = 0.9
647
+
648
+ [[task.evaluation.metrics]]
649
+ id = "state_16"
650
+ category = "performance"
651
+ observations = [
652
+ "nominal:state_16",
653
+ ]
654
+ unit = "V"
655
+ direction = "maximize"
656
+ aggregation = "min"
657
+ lower = 0.9
658
+
659
+ [[task.evaluation.metrics]]
660
+ id = "supply"
661
+ category = "performance"
662
+ observations = [
663
+ "nominal:supply",
664
+ ]
665
+ unit = "W"
666
+ direction = "minimize"
667
+ aggregation = "max"
668
+ dimension = "supply"
669
+ baseline = [
670
+ "source_nominal:supply",
671
+ ]
672
+ normalization = "ratio"
673
+ lower = 0
674
+ scale = 1e-12
675
+
676
+ [[task.evaluation.metrics]]
677
+ id = "propagation_delay"
678
+ category = "performance"
679
+ observations = [
680
+ "nominal:delay_b1_fall_2",
681
+ "nominal:delay_b2_rise_3",
682
+ "nominal:delay_a_fall_4",
683
+ "nominal:delay_a_rise_8",
684
+ "nominal:delay_a_fall_9",
685
+ "nominal:delay_a_rise_13",
686
+ "nominal:delay_b2_fall_14",
687
+ "nominal:delay_b1_rise_15",
688
+ ]
689
+ unit = "s"
690
+ direction = "minimize"
691
+ aggregation = "max"
692
+ dimension = "response"
693
+ baseline = [
694
+ "source_nominal:delay_b1_fall_2",
695
+ "source_nominal:delay_b2_rise_3",
696
+ "source_nominal:delay_a_fall_4",
697
+ "source_nominal:delay_a_rise_8",
698
+ "source_nominal:delay_a_fall_9",
699
+ "source_nominal:delay_a_rise_13",
700
+ "source_nominal:delay_b2_fall_14",
701
+ "source_nominal:delay_b1_rise_15",
702
+ ]
703
+ normalization = "ratio"
704
+ lower = 0
705
+
706
+ [[task.evaluation.metrics]]
707
+ id = "output_transition"
708
+ category = "performance"
709
+ observations = [
710
+ "nominal:transition_b1_fall_2",
711
+ "nominal:transition_b2_rise_3",
712
+ "nominal:transition_a_fall_4",
713
+ "nominal:transition_a_rise_8",
714
+ "nominal:transition_a_fall_9",
715
+ "nominal:transition_a_rise_13",
716
+ "nominal:transition_b2_fall_14",
717
+ "nominal:transition_b1_rise_15",
718
+ ]
719
+ unit = "s"
720
+ direction = "minimize"
721
+ aggregation = "max"
722
+ dimension = "response"
723
+ baseline = [
724
+ "source_nominal:transition_b1_fall_2",
725
+ "source_nominal:transition_b2_rise_3",
726
+ "source_nominal:transition_a_fall_4",
727
+ "source_nominal:transition_a_rise_8",
728
+ "source_nominal:transition_a_fall_9",
729
+ "source_nominal:transition_a_rise_13",
730
+ "source_nominal:transition_b2_fall_14",
731
+ "source_nominal:transition_b1_rise_15",
732
+ ]
733
+ normalization = "ratio"
734
+ lower = 0
735
+
736
+ [task.evaluation.scoring]
737
+ method = "layout"
738
+ area_metric = "functional_area"
739
+ area_target = 2.0049
740
+ rationale = "Standard-cell logic: propagation delay 48%; output transition 16%; supply power 16%; area 20%. Each objective's weight is divided equally among its metrics."
741
+
742
+ [task.evaluation.scoring.weights]
743
+ functional_area = 0.2
744
+ propagation_delay = 0.48
745
+ output_transition = 0.16
746
+ supply = 0.16
747
+
748
+ [task.evaluation.pre_layout]
749
+ source_report_sha256 = "2a3f55d7521f2e9338277bf7bd78bf43b1d66c5c9262d5c5afc06f73e69257db"
750
+
751
+ [task.evaluation.pre_layout.backends]
752
+ "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\": \"7fc8a0cde0f7d722e87c34a1115c13986b3db8fecba4b7dadb0a1edf171df62b\", \"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******\"}"
753
+
754
+ [task.evaluation.pre_layout.jobs.source_nominal]
755
+ operation = "circuit.simulate"
756
+
757
+ [task.evaluation.pre_layout.jobs.source_nominal.inputs]
758
+ deck = "input:performance"
759
+ dut = "input:netlist"
760
+
761
+ [task.evaluation.pre_layout.jobs.source_nominal.outputs]
762
+ waveform = "ngspice-raw"
763
+
764
+ [task.evaluation.pre_layout.jobs.source_nominal.parameters.exports]
765
+ waveform = "waveform.raw"
766
+
767
+ [task.evaluation.pre_layout.jobs.source_nominal.parameters.measurements]
768
+ state_0 = "V"
769
+ state_1 = "V"
770
+ state_2 = "V"
771
+ state_3 = "V"
772
+ state_4 = "V"
773
+ state_5 = "V"
774
+ state_6 = "V"
775
+ state_7 = "V"
776
+ state_8 = "V"
777
+ state_9 = "V"
778
+ state_10 = "V"
779
+ state_11 = "V"
780
+ state_12 = "V"
781
+ state_13 = "V"
782
+ state_14 = "V"
783
+ state_15 = "V"
784
+ state_16 = "V"
785
+ supply = "W"
786
+ delay_b1_fall_2 = "s"
787
+ transition_b1_fall_2 = "s"
788
+ delay_b2_rise_3 = "s"
789
+ transition_b2_rise_3 = "s"
790
+ delay_a_fall_4 = "s"
791
+ transition_a_fall_4 = "s"
792
+ delay_a_rise_8 = "s"
793
+ transition_a_rise_8 = "s"
794
+ delay_a_fall_9 = "s"
795
+ transition_a_fall_9 = "s"
796
+ delay_a_rise_13 = "s"
797
+ transition_a_rise_13 = "s"
798
+ delay_b2_fall_14 = "s"
799
+ transition_b2_fall_14 = "s"
800
+ delay_b1_rise_15 = "s"
801
+ transition_b1_rise_15 = "s"
802
+
803
+ [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
804
+ deck = "f8401ddcc740853f48b867b25e5bbf895409a9d1df90dfd5b013f31d236aa6b8"
805
+ dut = "07d8b2857f5ecd7bde8d5b3e231b16b6819272db2d19c1ee4882094e04bc909e"
806
+
807
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_fall_4]
808
+ value = 1.163873e-11
809
+ unit = "s"
810
+
811
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_fall_9]
812
+ value = 1.228236e-11
813
+ unit = "s"
814
+
815
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_rise_13]
816
+ value = 1.992426e-11
817
+ unit = "s"
818
+
819
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a_rise_8]
820
+ value = 1.523821e-11
821
+ unit = "s"
822
+
823
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_b1_fall_2]
824
+ value = 1.536536e-11
825
+ unit = "s"
826
+
827
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_b1_rise_15]
828
+ value = 1.536857e-11
829
+ unit = "s"
830
+
831
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_b2_fall_14]
832
+ value = 1.620396e-11
833
+ unit = "s"
834
+
835
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_b2_rise_3]
836
+ value = 1.698568e-11
837
+ unit = "s"
838
+
839
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_0]
840
+ value = 0.999952
841
+ unit = "V"
842
+
843
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_1]
844
+ value = 0.9998967
845
+ unit = "V"
846
+
847
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_10]
848
+ value = 0.0003069374
849
+ unit = "V"
850
+
851
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_11]
852
+ value = 1.216504e-06
853
+ unit = "V"
854
+
855
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_12]
856
+ value = 7.794863e-05
857
+ unit = "V"
858
+
859
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_13]
860
+ value = 0.99935
861
+ unit = "V"
862
+
863
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_14]
864
+ value = 0.0001950317
865
+ unit = "V"
866
+
867
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_15]
868
+ value = 0.9998362
869
+ unit = "V"
870
+
871
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_16]
872
+ value = 0.9997699
873
+ unit = "V"
874
+
875
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_2]
876
+ value = 0.0001918556
877
+ unit = "V"
878
+
879
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_3]
880
+ value = 0.9994024
881
+ unit = "V"
882
+
883
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_4]
884
+ value = 0.0004865273
885
+ unit = "V"
886
+
887
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_5]
888
+ value = 1.239731e-06
889
+ unit = "V"
890
+
891
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_6]
892
+ value = 8.142936e-05
893
+ unit = "V"
894
+
895
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_7]
896
+ value = -3.673975e-05
897
+ unit = "V"
898
+
899
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_8]
900
+ value = 0.9998379
901
+ unit = "V"
902
+
903
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_9]
904
+ value = 0.0004804343
905
+ unit = "V"
906
+
907
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.supply]
908
+ value = 4.305193e-06
909
+ unit = "W"
910
+
911
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_fall_4]
912
+ value = 1.3624e-11
913
+ unit = "s"
914
+
915
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_fall_9]
916
+ value = 1.274633e-11
917
+ unit = "s"
918
+
919
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_rise_13]
920
+ value = 2.079778e-11
921
+ unit = "s"
922
+
923
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a_rise_8]
924
+ value = 1.548592e-11
925
+ unit = "s"
926
+
927
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_b1_fall_2]
928
+ value = 1.762384e-11
929
+ unit = "s"
930
+
931
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_b1_rise_15]
932
+ value = 1.878498e-11
933
+ unit = "s"
934
+
935
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_b2_fall_14]
936
+ value = 1.762316e-11
937
+ unit = "s"
938
+
939
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_b2_rise_3]
940
+ value = 2.078537e-11
941
+ unit = "s"
942
+
943
+ [toolchain.backends.artifact]
944
+ type = "klayout-docker"
945
+
946
+ [toolchain.backends.artifact.settings]
947
+ image = "iclayout-bench-tools:local"
948
+ check = "artifact"
949
+ timeout_seconds = 120
950
+
951
+ [toolchain.backends.drc]
952
+ type = "klayout-docker"
953
+
954
+ [toolchain.backends.drc.settings]
955
+ image = "iclayout-bench-tools:local"
956
+ check = "drc"
957
+ timeout_seconds = 120
958
+ support = "build/support/freepdk45-klayout"
959
+ profile = "drc.json"
960
+
961
+ [toolchain.backends.drc.support_profiles]
962
+ support = "klayout"
963
+
964
+ [toolchain.backends.lvs]
965
+ type = "klayout-docker"
966
+
967
+ [toolchain.backends.lvs.settings]
968
+ image = "iclayout-bench-tools:local"
969
+ check = "lvs"
970
+ timeout_seconds = 120
971
+ support = "build/support/freepdk45-klayout"
972
+ profile = "strict-lvs.json"
973
+
974
+ [toolchain.backends.lvs.support_profiles]
975
+ support = "klayout"
976
+
977
+ [toolchain.backends.geometry]
978
+ type = "klayout-geometry-docker"
979
+
980
+ [toolchain.backends.geometry.settings]
981
+ image = "iclayout-bench-tools:local"
982
+ timeout_seconds = 60
983
+
984
+ [toolchain.backends.rc]
985
+ type = "magic-rc-docker"
986
+
987
+ [toolchain.backends.rc.settings]
988
+ image = "iclayout-bench-tools:local"
989
+ support = "build/support/freepdk45-magic-vtl"
990
+ technology = "freepdk45.tech"
991
+ tech_name = "freepdk45"
992
+ style = "spice3(sim)"
993
+ gds_readonly = false
994
+ case_insensitive_ports = true
995
+ label_layers = [
996
+ [
997
+ 9,
998
+ 0,
999
+ ],
1000
+ [
1001
+ 11,
1002
+ 0,
1003
+ ],
1004
+ [
1005
+ 13,
1006
+ 0,
1007
+ ],
1008
+ [
1009
+ 15,
1010
+ 0,
1011
+ ],
1012
+ [
1013
+ 17,
1014
+ 0,
1015
+ ],
1016
+ [
1017
+ 19,
1018
+ 0,
1019
+ ],
1020
+ [
1021
+ 21,
1022
+ 0,
1023
+ ],
1024
+ [
1025
+ 23,
1026
+ 0,
1027
+ ],
1028
+ [
1029
+ 25,
1030
+ 0,
1031
+ ],
1032
+ [
1033
+ 27,
1034
+ 0,
1035
+ ],
1036
+ [
1037
+ 29,
1038
+ 0,
1039
+ ],
1040
+ ]
1041
+ timeout_seconds = 120
1042
+
1043
+ [toolchain.backends.rc.support_profiles]
1044
+ support = "magic-vtl"
1045
+
1046
+ [toolchain.backends.ngspice]
1047
+ type = "ngspice-docker"
1048
+
1049
+ [toolchain.backends.ngspice.settings]
1050
+ image = "iclayout-bench-tools:local"
1051
+ support = "build/support/freepdk45-models"
1052
+ timeout_seconds = 120
1053
+
1054
+ [toolchain.backends.ngspice.support_profiles]
1055
+ support = "models"
1056
+
1057
+ [toolchain.bindings]
1058
+ "layout.artifact" = "artifact"
1059
+ "layout.drc" = "drc"
1060
+ "layout.lvs" = "lvs"
1061
+ "layout.geometry" = "geometry"
1062
+ "layout.extract_rc" = "rc"
1063
+ "circuit.simulate" = "ngspice"
1064
+
1065
+ [qualification]
1066
+ reference = "reference/AOI21_X1.gds"
1067
+
1068
+ [origin]
1069
+ url = "https://foss-eda-tools.googlesource.com/third_party/freepdk45/+/356e90646f5ef26ea09b1ed8ce4796871403a0c7/Back_End/spice/AOI21_X1.spi"
1070
+
1071
+ [presentation]
1072
+ category = "Logic & memory"
1073
+ summary = "Implements AND-OR-invert logic in a fixed-height standard cell."
tasks/freepdk45/nangate45-pdk/cases/AOI21_X1/materials/circuit.spice ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *
2
+ * ******************************************************************************
3
+ * * *
4
+ * * Copyright (C) 2004-2010, Nangate Inc. *
5
+ * * All rights reserved. *
6
+ * * *
7
+ * * Nangate and the Nangate logo are trademarks of Nangate Inc. *
8
+ * * *
9
+ * * All trademarks, logos, software marks, and trade names (collectively the *
10
+ * * "Marks") in this program are proprietary to Nangate or other respective *
11
+ * * owners that have granted Nangate the right and license to use such Marks. *
12
+ * * You are not permitted to use the Marks without the prior written consent *
13
+ * * of Nangate or such third party that may own the Marks. *
14
+ * * *
15
+ * * This file has been provided pursuant to a License Agreement containing *
16
+ * * restrictions on its use. This file contains valuable trade secrets and *
17
+ * * proprietary information of Nangate Inc., and is protected by U.S. and *
18
+ * * international laws and/or treaties. *
19
+ * * *
20
+ * * The copyright notice(s) in this file does not indicate actual or intended *
21
+ * * publication of this file. *
22
+ * * *
23
+ * * buildcell, v2010.08-HR32-SP3-2010-08-05 - build 1009061800 *
24
+ * * *
25
+ * ******************************************************************************
26
+ *
27
+ *
28
+ * Running on brazil06.nangate.com.br for user Giancarlo Franciscatto (gfr).
29
+ * Local time is now Fri, 3 Dec 2010, 19:18:00.
30
+ * Main process id is 28034.
31
+ *
32
+ ********************************************************************************
33
+ * *
34
+ * Cellname: AOI21_X1. *
35
+ * *
36
+ * Technology: NCSU FreePDK 45nm. *
37
+ * Format: Cdl. *
38
+ * *
39
+ * Written on brazil06.nangate.com.br for user Giancarlo Franciscatto (gfr) *
40
+ * at 19:18:00 on Fri, 3 Dec 2010. *
41
+ * *
42
+ ********************************************************************************
43
+ .SUBCKT AOI21_X1 A B1 B2 ZN VDD VSS
44
+ *.PININFO A:I B1:I B2:I ZN:O VDD:P VSS:G
45
+ *.EQN ZN=!(A + (B1 * B2))
46
+ M_i_1 net_0 B2 VSS VSS NMOS_VTL W=0.415000U L=0.050000U
47
+ M_i_0 ZN B1 net_0 VSS NMOS_VTL W=0.415000U L=0.050000U
48
+ M_i_2 VSS A ZN VSS NMOS_VTL W=0.415000U L=0.050000U
49
+ M_i_4 ZN B2 net_1 VDD PMOS_VTL W=0.630000U L=0.050000U
50
+ M_i_3 net_1 B1 ZN VDD PMOS_VTL W=0.630000U L=0.050000U
51
+ M_i_5 VDD A net_1 VDD PMOS_VTL W=0.630000U L=0.050000U
52
+ .ENDS
53
+
54
+ ********************************************************************************
55
+ *
56
+ * END
57
+ *
58
+ ********************************************************************************
tasks/freepdk45/nangate45-pdk/cases/AOI21_X1/materials/schematic.svg ADDED
tasks/freepdk45/nangate45-pdk/cases/AOI21_X1/materials/testbench.spice ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ * AOI21_X1: exhaustive Gray sequence and reversed sequence
2
+ .include /workspace/support/models.spice
3
+ .include dut.spice
4
+ .temp 27
5
+ Vdd vdd 0 1
6
+ Vss vss 0 0
7
+ Xdut A B1 B2 ZN VDD VSS AOI21_X1
8
+ Cl ZN 0 5f
9
+ VA A 0 PWL(0 0 0.500n 0 0.510n 0 1.000n 0 1.010n 0 1.500n 0 1.510n 0 2.000n 0 2.010n 1 2.500n 1 2.510n 1 3.000n 1 3.010n 1 3.500n 1 3.510n 1 4.000n 1 4.010n 0 4.500n 0 4.510n 1 5.000n 1 5.010n 1 5.500n 1 5.510n 1 6.000n 1 6.010n 1 6.500n 1 6.510n 0 7.000n 0 7.010n 0 7.500n 0 7.510n 0 8.000n 0 8.010n 0)
10
+ VB1 B1 0 PWL(0 0 0.500n 0 0.510n 0 1.000n 0 1.010n 1 1.500n 1 1.510n 1 2.000n 1 2.010n 1 2.500n 1 2.510n 1 3.000n 1 3.010n 0 3.500n 0 3.510n 0 4.000n 0 4.010n 0 4.500n 0 4.510n 0 5.000n 0 5.010n 0 5.500n 0 5.510n 1 6.000n 1 6.010n 1 6.500n 1 6.510n 1 7.000n 1 7.010n 1 7.500n 1 7.510n 0 8.000n 0 8.010n 0)
11
+ VB2 B2 0 PWL(0 0 0.500n 0 0.510n 1 1.000n 1 1.010n 1 1.500n 1 1.510n 0 2.000n 0 2.010n 0 2.500n 0 2.510n 1 3.000n 1 3.010n 1 3.500n 1 3.510n 0 4.000n 0 4.010n 0 4.500n 0 4.510n 0 5.000n 0 5.010n 1 5.500n 1 5.510n 1 6.000n 1 6.010n 0 6.500n 0 6.510n 0 7.000n 0 7.010n 1 7.500n 1 7.510n 1 8.000n 1 8.010n 0)
12
+ .tran 0.5p 8.500n
13
+ .meas tran state_0 find v(ZN) at=0.110n
14
+ .meas tran state_1 find v(ZN) at=0.610n
15
+ .meas tran state_2 find v(ZN) at=1.110n
16
+ .meas tran state_3 find v(ZN) at=1.610n
17
+ .meas tran state_4 find v(ZN) at=2.110n
18
+ .meas tran state_5 find v(ZN) at=2.610n
19
+ .meas tran state_6 find v(ZN) at=3.110n
20
+ .meas tran state_7 find v(ZN) at=3.610n
21
+ .meas tran state_8 find v(ZN) at=4.110n
22
+ .meas tran state_9 find v(ZN) at=4.610n
23
+ .meas tran state_10 find v(ZN) at=5.110n
24
+ .meas tran state_11 find v(ZN) at=5.610n
25
+ .meas tran state_12 find v(ZN) at=6.110n
26
+ .meas tran state_13 find v(ZN) at=6.610n
27
+ .meas tran state_14 find v(ZN) at=7.110n
28
+ .meas tran state_15 find v(ZN) at=7.610n
29
+ .meas tran state_16 find v(ZN) at=8.110n
30
+ .meas tran supply avg par('-v(vdd)*i(Vdd)') from=0 to=8.400n
31
+ .meas tran delay_b1_fall_2 trig v(B1) val=0.5 rise=1 td=1n targ v(ZN) val=0.5 fall=1 td=1n
32
+ .meas tran transition_b1_fall_2 trig v(ZN) val=0.8 fall=1 td=1n targ v(ZN) val=0.2 fall=1 td=1n
33
+ .meas tran delay_b2_rise_3 trig v(B2) val=0.5 fall=1 td=1.5n targ v(ZN) val=0.5 rise=1 td=1.5n
34
+ .meas tran transition_b2_rise_3 trig v(ZN) val=0.2 rise=1 td=1.5n targ v(ZN) val=0.8 rise=1 td=1.5n
35
+ .meas tran delay_a_fall_4 trig v(A) val=0.5 rise=1 td=2n targ v(ZN) val=0.5 fall=1 td=2n
36
+ .meas tran transition_a_fall_4 trig v(ZN) val=0.8 fall=1 td=2n targ v(ZN) val=0.2 fall=1 td=2n
37
+ .meas tran delay_a_rise_8 trig v(A) val=0.5 fall=1 td=4n targ v(ZN) val=0.5 rise=1 td=4n
38
+ .meas tran transition_a_rise_8 trig v(ZN) val=0.2 rise=1 td=4n targ v(ZN) val=0.8 rise=1 td=4n
39
+ .meas tran delay_a_fall_9 trig v(A) val=0.5 rise=1 td=4.5n targ v(ZN) val=0.5 fall=1 td=4.5n
40
+ .meas tran transition_a_fall_9 trig v(ZN) val=0.8 fall=1 td=4.5n targ v(ZN) val=0.2 fall=1 td=4.5n
41
+ .meas tran delay_a_rise_13 trig v(A) val=0.5 fall=1 td=6.5n targ v(ZN) val=0.5 rise=1 td=6.5n
42
+ .meas tran transition_a_rise_13 trig v(ZN) val=0.2 rise=1 td=6.5n targ v(ZN) val=0.8 rise=1 td=6.5n
43
+ .meas tran delay_b2_fall_14 trig v(B2) val=0.5 rise=1 td=7n targ v(ZN) val=0.5 fall=1 td=7n
44
+ .meas tran transition_b2_fall_14 trig v(ZN) val=0.8 fall=1 td=7n targ v(ZN) val=0.2 fall=1 td=7n
45
+ .meas tran delay_b1_rise_15 trig v(B1) val=0.5 fall=1 td=7.5n targ v(ZN) val=0.5 rise=1 td=7.5n
46
+ .meas tran transition_b1_rise_15 trig v(ZN) val=0.2 rise=1 td=7.5n targ v(ZN) val=0.8 rise=1 td=7.5n
47
+ .control
48
+ run
49
+ write waveform.raw v(A) v(B1) v(B2) v(ZN) v(VDD) i(Vdd)
50
+ quit
51
+ .endc
52
+ .end
tasks/freepdk45/nangate45-pdk/cases/AOI21_X1/problem.md ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # AND-OR-Invert Gate Layout Task
2
+
3
+ ## Objective
4
+
5
+ Implement ZN = NOT (A OR (B1 AND B2)) using the supplied VTL transistors. Preserve the authoritative netlist's model classes, W/L, interface and connectivity. Submit top cell `AOI21_X1`.
6
+
7
+ ## Inputs and Interface
8
+
9
+ Ordered SPICE ports: `A B1 B2 ZN VDD VSS`. Names are case-insensitive; different names are not interchangeable. The delivered inputs are this problem, `materials/circuit.spice`, and `materials/testbench.spice`. The model and extraction resources are supplied as reviewed support bundles. Reference geometry and qualification evidence are maintainer materials, excluded from solver inputs.
10
+
11
+ ## Operating Conditions
12
+
13
+ Use the nominal FreePDK45 BSIM4 models at **1.0 V and 27 C**, with ground at 0 V. All transistor lengths are 50 nm; widths and model classes come from the netlist.
14
+
15
+ ZN drives 5 fF. Apply the three-bit Gray cycle 000, 001, 011, 010, 110, 111, 101, 100, 000 and then its reverse to A/B1/B2 in 500 ps slots, with 10 ps edges. Sample ZN at slot start + 110 ps. This covers the truth table and both directions of every transition in that cycle. Average DUT supply power over 0–8.4 ns.
16
+
17
+ The deck defines stimuli and observation times exactly. Tests use only external ports. Qualification covers these nominal conditions, not PVT, mismatch, array abutment, substrate noise or manufacturing signoff.
18
+
19
+ ## Physical Requirements
20
+
21
+ Submit a nonempty GDSII of at most 10 MiB. Enable all checks present in the supplied KLayout DRC deck, including grid and antenna checks, with no waivers. Strict LVS checks named ports, models, W/L and actual well/tap connectivity; library-specific implicit or global rail connections are disabled. The upstream deck does not implement its documented different-potential well-spacing rule; it is not a complete foundry signoff deck.
22
+
23
+ The hard functional envelope is 100 um by 100 um. Its bounding rectangle includes every drawing layer 1/0 through 29/0: active, wells, implants, threshold markers, poly, contacts, all ten metals and all nine vias. It supplies the scored footprint in um2. Put functional geometry on these layers; pin-purpose and annotation geometry is excluded. Electrical labels use poly or metal drawing layers (9/0 and 11/0, 13/0, ..., 29/0). Non-electrical annotation text is ignored by extraction.
24
+
25
+ Translation, equivalent hierarchy and internal instance renaming are allowed. LVS permits source/drain exchange and equivalent parallel devices; any such layout must also pass the same RC-based electrical requirements. Preserve top-level port identities and explicit body connections.
26
+
27
+
28
+ The standard-cell functional frame has fixed height 1.63 um and width on a 0.01 um grid. Coordinates below are relative to its lower-left functional bound; global translation remains allowed. Supply rails must be continuous on metal1 and bound by LVS to the named supply.
29
+
30
+ - `VDD`: centre y = 1.515 um, thickness at least 0.07 um, from left + 0.115 um to right − 0.03 um.
31
+ - `VSS`: centre y = 0.115 um, thickness at least 0.07 um, from left + 0.115 um to right − 0.03 um.
32
+
33
+ ## Electrical Requirements and Scoring
34
+
35
+ Artifact, DRC, LVS and geometry gates precede candidate GDS extraction. Simulation consumes the candidate's Magic RC netlist unchanged; source simulation supplies the independent scoring baseline. VTG/VTL device classes are checked by independent LVS before the matching extraction profile is used. Extraction includes poly/metal sheet resistance, contacts/vias, geometry-dependent coupling and ground capacitance, and device junction area/perimeter. Wells are lumped connections; BSIM4 supplies device/junction behavior. Interconnect resistance and capacitance use the pinned community FreePDK45 Magic technology's estimated coefficients and native capacitance placement. The extraction adapter binds VTG/VTL models, preserves annotation layers and corrects the technology's dimensional unit conversion. This is a predictive approximation without field-solver signoff accuracy.
36
+
37
+ Physical checks and declared functional bounds remain mandatory. Quality has no
38
+ fixed allowed-degradation threshold. Each `source_*` job simulates the declared
39
+ source circuit with exactly the same testbench, model resources, parameters,
40
+ load and measurement window as its paired extracted-candidate job. A source
41
+ observation is the 100-point electrical baseline; it is independent of the
42
+ submitted GDS. All individual pairs are retained in the evaluation report.
43
+
44
+ For a post-layout observation x and its source observation b:
45
+
46
+ - Maximize: q = x/b; minimize: q = b/x. When a numerical scale s is declared,
47
+ use (x+s)/(b+s) or its inverse. This handles zero-valued error measurements;
48
+ s is a normalization floor, not an allowed degradation or pass threshold.
49
+ - Amplitude dB: q = 10^((x-b)/20) for maximize, its inverse for minimize.
50
+ - Target: q = 1/(1+abs(x-b)/s), with a declared physical scale s. Signed and
51
+ zero-valued operating points are never divided directly.
52
+
53
+ Scoring uses `layout`. A metric uses its worst paired quality q. The score is
54
+ S = 100 * product(q_i ** w_i), including area quality
55
+ q_area = area_reference / candidate_functional_area. The weights below sum to
56
+ one. Dimensions describe measurements but do not determine their weights.
57
+ Physical or functional rejection scores zero; missing or invalid measurements
58
+ produce an unknown score, including measurements with zero weight.
59
+ Source-equivalent performance at the area reference scores 100; improvements
60
+ can exceed 100. A weight expresses a tradeoff, not a hard acceptance limit.
61
+
62
+ | Metric | Definition / observations | Unit | Quality rule | Functional bounds | Scale |
63
+ | --- | --- | --- | --- | --- | --- |
64
+ | `state_0` | `find v(ZN) at=0.110n` | V | functional check | 0.9 … +∞ | — |
65
+ | `state_1` | `find v(ZN) at=0.610n` | V | functional check | 0.9 … +∞ | — |
66
+ | `state_2` | `find v(ZN) at=1.110n` | V | functional check | −∞ … 0.1 | — |
67
+ | `state_3` | `find v(ZN) at=1.610n` | V | functional check | 0.9 … +∞ | — |
68
+ | `state_4` | `find v(ZN) at=2.110n` | V | functional check | −∞ … 0.1 | — |
69
+ | `state_5` | `find v(ZN) at=2.610n` | V | functional check | −∞ … 0.1 | — |
70
+ | `state_6` | `find v(ZN) at=3.110n` | V | functional check | −∞ … 0.1 | — |
71
+ | `state_7` | `find v(ZN) at=3.610n` | V | functional check | −∞ … 0.1 | — |
72
+ | `state_8` | `find v(ZN) at=4.110n` | V | functional check | 0.9 … +∞ | — |
73
+ | `state_9` | `find v(ZN) at=4.610n` | V | functional check | −∞ … 0.1 | — |
74
+ | `state_10` | `find v(ZN) at=5.110n` | V | functional check | −∞ … 0.1 | — |
75
+ | `state_11` | `find v(ZN) at=5.610n` | V | functional check | −∞ … 0.1 | — |
76
+ | `state_12` | `find v(ZN) at=6.110n` | V | functional check | −∞ … 0.1 | — |
77
+ | `state_13` | `find v(ZN) at=6.610n` | V | functional check | 0.9 … +∞ | — |
78
+ | `state_14` | `find v(ZN) at=7.110n` | V | functional check | −∞ … 0.1 | — |
79
+ | `state_15` | `find v(ZN) at=7.610n` | V | functional check | 0.9 … +∞ | — |
80
+ | `state_16` | `find v(ZN) at=8.110n` | V | functional check | 0.9 … +∞ | — |
81
+ | `supply` | `avg par('-v(vdd)*i(Vdd)') from=0 to=8.400n` | W | minimize / ratio | 0 … +∞ | 1e-12 |
82
+ | `propagation_delay` | Worst paired quality over: delay_b1_fall_2, delay_b2_rise_3, delay_a_fall_4, delay_a_rise_8, delay_a_fall_9, delay_a_rise_13, delay_b2_fall_14, delay_b1_rise_15. | s | minimize / ratio | 0 … +∞ | — |
83
+ | `output_transition` | Worst paired quality over: transition_b1_fall_2, transition_b2_rise_3, transition_a_fall_4, transition_a_rise_8, transition_a_fall_9, transition_a_rise_13, transition_b2_fall_14, transition_b1_rise_15. | s | minimize / ratio | 0 … +∞ | — |
84
+
85
+ Area reference: **2.0049 um2**. Complete functional bounding rectangle of the declared standard-cell reference GDS: 1.23 by 1.63 um = 2.0049 um2. Reference SHA-256: 1ebcc6f4d7a8f5c50846b5cdfd60f3039fb96caf455b89f2d7f30568c5a2af94. This footprint includes the maintained explicit taps and routing.
86
+
87
+ The capability coefficient remains **2**; it is independent of
88
+ the reference-relative task score.
89
+
90
+ ### Standard-cell design guidance
91
+
92
+ Plan the device rows, power rails and signal access before routing. Represent
93
+ pull-up and pull-down connectivity as transistor-edge graphs; explore compatible
94
+ Euler trails and alternative orderings to share diffusion and reduce breaks.
95
+ Choose among legal orderings using routing length, parasitic loading and signal
96
+ access, rather than diffusion sharing alone. Preserve the fixed netlist sizes,
97
+ models and connectivity; size optimization is outside this task.
98
+
99
+ Use the task's declared row height, grid and rail geometry. Keep local routes
100
+ compact, leave signal pins accessible, and avoid consuming extra routing layers
101
+ without benefit. Check DRC and named-port LVS, then extract the candidate and
102
+ compare both transition directions and power with the source simulation. Iterate
103
+ on measured parasitic effects rather than visual compactness alone. These are
104
+ optional techniques, not a mandated algorithm or reference placement.
105
+
106
+ Adapted from Xu et al., *Standard Cell Library Design and Optimization Methodology
107
+ for ASAP7 PDK*, Sections 2–3 (https://arxiv.org/abs/1807.11396). Its FinFET sizing,
108
+ track counts and process-specific dimensions do not apply to this task.
109
+
110
+
111
+ ### Score weights
112
+
113
+ Standard-cell logic: propagation delay 48%; output transition 16%; supply power 16%; area 20%. Each objective's weight is divided equally among its metrics.
114
+
115
+ | Metric | Weight |
116
+ | --- | ---: |
117
+ | `functional_area` | 0.2 |
118
+ | `propagation_delay` | 0.480000000000 |
119
+ | `output_transition` | 0.160000000000 |
120
+ | `supply` | 0.160000000000 |
121
+
122
+ ## Tools and Submission
123
+
124
+ Solve budget: **3 hours**.
125
+
126
+ Use the reviewed FreePDK45 KLayout, Magic and ngspice resources from `/protocol/resources.json`. For Magic RC extraction, use `/resources/support/magic-vtl/freepdk45.tech`, which includes the required model and unit adaptations. Runtime `/protocol/task.json` publishes the same constraints, measurements and scoring. Only declared inputs appear under `/task`. Write `/workspace/output/final.gds`, then explicitly submit with `python -I /protocol/submit.py`. A harness that declares `process-feedback` uses the same frozen plan and backend identities for process checks; those snapshots do not count as final submissions.
tasks/freepdk45/nangate45-pdk/cases/AOI21_X1/reference/AOI21_X1.gds ADDED
Binary file (3.9 kB). View file
 
tasks/freepdk45/nangate45-pdk/cases/NAND2_X1/case.toml ADDED
@@ -0,0 +1,872 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ in_core = true
2
+ kind = "layout_case"
3
+ id = "freepdk45.nangate45-pdk.NAND2_X1"
4
+ title = "Two-Input NAND"
5
+ status = "qualified"
6
+
7
+ [[assets]]
8
+ path = "reference/NAND2_X1.gds"
9
+ role = "reference"
10
+ visibility = "maintainer"
11
+ format = "gds"
12
+ sha256 = "d077499ea242e1c8506c7a992ce713d46ea513c52b80073a2b7ae6d6515f2d3f"
13
+
14
+ [[assets]]
15
+ path = "materials/schematic.svg"
16
+ role = "schematic"
17
+ visibility = "maintainer"
18
+ format = "svg"
19
+ sha256 = "b01b8aa3a1ff8bbe322d92979d9d59e897d655c9e002c7f50b83916ae96b19da"
20
+
21
+ [task]
22
+ hours = 3
23
+ kind = "netlist_to_gds"
24
+ family = "freepdk45_nand2_x1"
25
+ coefficient = 1
26
+ environment = "freepdk45-nominal-predictive-rc"
27
+
28
+ [task.inputs.description]
29
+ path = "problem.md"
30
+ sha256 = "26feeab7c4edda1754cfed7055c6507b8a04b5383401b55b1761c1dc8f76d454"
31
+ format = "text"
32
+
33
+ [task.inputs.netlist]
34
+ path = "materials/circuit.spice"
35
+ sha256 = "1decfdcffa5a7f962e26c0831e9a219521670f282df72e465fd61ebccdba12b0"
36
+ format = "spice"
37
+ subcircuit = "NAND2_X1"
38
+
39
+ [task.inputs.performance]
40
+ path = "materials/testbench.spice"
41
+ sha256 = "389d2d09f05913f740d0b776e0fe2d4382057b2bc8a23564f4150adae920e4c9"
42
+ format = "spice"
43
+
44
+ [task.constraints]
45
+ quality = [
46
+ { id = "area", type = "functional_bbox_area", layers_from = "outline" },
47
+ ]
48
+
49
+ [[task.constraints.hard]]
50
+ id = "outline"
51
+ type = "bbox_max"
52
+ functional_layers = [
53
+ [
54
+ 1,
55
+ 0,
56
+ ],
57
+ [
58
+ 2,
59
+ 0,
60
+ ],
61
+ [
62
+ 3,
63
+ 0,
64
+ ],
65
+ [
66
+ 4,
67
+ 0,
68
+ ],
69
+ [
70
+ 5,
71
+ 0,
72
+ ],
73
+ [
74
+ 6,
75
+ 0,
76
+ ],
77
+ [
78
+ 7,
79
+ 0,
80
+ ],
81
+ [
82
+ 8,
83
+ 0,
84
+ ],
85
+ [
86
+ 9,
87
+ 0,
88
+ ],
89
+ [
90
+ 10,
91
+ 0,
92
+ ],
93
+ [
94
+ 11,
95
+ 0,
96
+ ],
97
+ [
98
+ 12,
99
+ 0,
100
+ ],
101
+ [
102
+ 13,
103
+ 0,
104
+ ],
105
+ [
106
+ 14,
107
+ 0,
108
+ ],
109
+ [
110
+ 15,
111
+ 0,
112
+ ],
113
+ [
114
+ 16,
115
+ 0,
116
+ ],
117
+ [
118
+ 17,
119
+ 0,
120
+ ],
121
+ [
122
+ 18,
123
+ 0,
124
+ ],
125
+ [
126
+ 19,
127
+ 0,
128
+ ],
129
+ [
130
+ 20,
131
+ 0,
132
+ ],
133
+ [
134
+ 21,
135
+ 0,
136
+ ],
137
+ [
138
+ 22,
139
+ 0,
140
+ ],
141
+ [
142
+ 23,
143
+ 0,
144
+ ],
145
+ [
146
+ 24,
147
+ 0,
148
+ ],
149
+ [
150
+ 25,
151
+ 0,
152
+ ],
153
+ [
154
+ 26,
155
+ 0,
156
+ ],
157
+ [
158
+ 27,
159
+ 0,
160
+ ],
161
+ [
162
+ 28,
163
+ 0,
164
+ ],
165
+ [
166
+ 29,
167
+ 0,
168
+ ],
169
+ ]
170
+ max_width_um = 100
171
+ max_height_um = 100
172
+
173
+ [[task.constraints.hard]]
174
+ id = "cell_frame"
175
+ type = "cell_frame"
176
+ functional_layers = [
177
+ [
178
+ 1,
179
+ 0,
180
+ ],
181
+ [
182
+ 2,
183
+ 0,
184
+ ],
185
+ [
186
+ 3,
187
+ 0,
188
+ ],
189
+ [
190
+ 4,
191
+ 0,
192
+ ],
193
+ [
194
+ 5,
195
+ 0,
196
+ ],
197
+ [
198
+ 6,
199
+ 0,
200
+ ],
201
+ [
202
+ 7,
203
+ 0,
204
+ ],
205
+ [
206
+ 8,
207
+ 0,
208
+ ],
209
+ [
210
+ 9,
211
+ 0,
212
+ ],
213
+ [
214
+ 10,
215
+ 0,
216
+ ],
217
+ [
218
+ 11,
219
+ 0,
220
+ ],
221
+ [
222
+ 12,
223
+ 0,
224
+ ],
225
+ [
226
+ 13,
227
+ 0,
228
+ ],
229
+ [
230
+ 14,
231
+ 0,
232
+ ],
233
+ [
234
+ 15,
235
+ 0,
236
+ ],
237
+ [
238
+ 16,
239
+ 0,
240
+ ],
241
+ [
242
+ 17,
243
+ 0,
244
+ ],
245
+ [
246
+ 18,
247
+ 0,
248
+ ],
249
+ [
250
+ 19,
251
+ 0,
252
+ ],
253
+ [
254
+ 20,
255
+ 0,
256
+ ],
257
+ [
258
+ 21,
259
+ 0,
260
+ ],
261
+ [
262
+ 22,
263
+ 0,
264
+ ],
265
+ [
266
+ 23,
267
+ 0,
268
+ ],
269
+ [
270
+ 24,
271
+ 0,
272
+ ],
273
+ [
274
+ 25,
275
+ 0,
276
+ ],
277
+ [
278
+ 26,
279
+ 0,
280
+ ],
281
+ [
282
+ 27,
283
+ 0,
284
+ ],
285
+ [
286
+ 28,
287
+ 0,
288
+ ],
289
+ [
290
+ 29,
291
+ 0,
292
+ ],
293
+ ]
294
+ height_um = 1.6300000000000001
295
+ width_grid_um = 0.01
296
+
297
+ [[task.constraints.hard.rails]]
298
+ name = "VDD"
299
+ layer = [
300
+ 11,
301
+ 0,
302
+ ]
303
+ connectivity_layer = "metal1"
304
+ y_um = 1.5150000000000001
305
+ thickness_um = 0.07
306
+ left_um = 0.115
307
+ right_um = 0.030000000000000002
308
+
309
+ [[task.constraints.hard.rails]]
310
+ name = "VSS"
311
+ layer = [
312
+ 11,
313
+ 0,
314
+ ]
315
+ connectivity_layer = "metal1"
316
+ y_um = 0.115
317
+ thickness_um = 0.07
318
+ left_um = 0.115
319
+ right_um = 0.030000000000000002
320
+
321
+ [task.output]
322
+ path = "output/final.gds"
323
+ format = "gds"
324
+ top_cell = "NAND2_X1"
325
+ max_bytes = 10485760
326
+
327
+ [task.evaluation]
328
+ mode = "post_layout"
329
+
330
+ [[task.evaluation.jobs]]
331
+ id = "artifact"
332
+ stage = "check"
333
+ operation = "layout.artifact"
334
+ gate = "artifact"
335
+
336
+ [task.evaluation.jobs.inputs]
337
+ layout = "candidate"
338
+ task = "task"
339
+
340
+ [[task.evaluation.jobs]]
341
+ id = "drc"
342
+ stage = "check"
343
+ operation = "layout.drc"
344
+ gate = "drc"
345
+
346
+ [task.evaluation.jobs.inputs]
347
+ layout = "candidate"
348
+ task = "task"
349
+
350
+ [[task.evaluation.jobs]]
351
+ id = "lvs"
352
+ stage = "check"
353
+ operation = "layout.lvs"
354
+ gate = "lvs"
355
+
356
+ [task.evaluation.jobs.inputs]
357
+ layout = "candidate"
358
+ task = "task"
359
+ netlist = "input:netlist"
360
+
361
+ [task.evaluation.jobs.outputs]
362
+ database = "klayout-lvs"
363
+ binding = "json"
364
+
365
+ [[task.evaluation.jobs]]
366
+ id = "geometry"
367
+ stage = "check"
368
+ operation = "layout.geometry"
369
+ gate = "constraint"
370
+ requires = [
371
+ "artifact",
372
+ "drc",
373
+ "lvs",
374
+ ]
375
+
376
+ [task.evaluation.jobs.inputs]
377
+ layout = "candidate"
378
+ task = "task"
379
+ constraints = "input:constraints"
380
+ database = "job:lvs:database"
381
+ binding = "job:lvs:binding"
382
+
383
+ [[task.evaluation.jobs]]
384
+ id = "parasitics"
385
+ stage = "extract"
386
+ operation = "layout.extract_rc"
387
+ requires = [
388
+ "artifact",
389
+ "drc",
390
+ "lvs",
391
+ "geometry",
392
+ ]
393
+
394
+ [task.evaluation.jobs.inputs]
395
+ layout = "candidate"
396
+ task = "task"
397
+
398
+ [task.evaluation.jobs.outputs]
399
+ netlist = "spice"
400
+
401
+ [task.evaluation.jobs.parameters]
402
+ ports = [
403
+ "A1",
404
+ "A2",
405
+ "ZN",
406
+ "VDD",
407
+ "VSS",
408
+ ]
409
+
410
+ [[task.evaluation.jobs]]
411
+ id = "nominal"
412
+ stage = "simulate"
413
+ operation = "circuit.simulate"
414
+
415
+ [task.evaluation.jobs.inputs]
416
+ deck = "input:performance"
417
+ dut = "job:parasitics:netlist"
418
+
419
+ [task.evaluation.jobs.outputs]
420
+ waveform = "ngspice-raw"
421
+
422
+ [task.evaluation.jobs.parameters.exports]
423
+ waveform = "waveform.raw"
424
+
425
+ [task.evaluation.jobs.parameters.measurements]
426
+ state_0 = "V"
427
+ state_1 = "V"
428
+ state_2 = "V"
429
+ state_3 = "V"
430
+ state_4 = "V"
431
+ state_5 = "V"
432
+ state_6 = "V"
433
+ state_7 = "V"
434
+ state_8 = "V"
435
+ supply = "W"
436
+ delay_a1_fall_2 = "s"
437
+ transition_a1_fall_2 = "s"
438
+ delay_a2_rise_3 = "s"
439
+ transition_a2_rise_3 = "s"
440
+ delay_a2_fall_6 = "s"
441
+ transition_a2_fall_6 = "s"
442
+ delay_a1_rise_7 = "s"
443
+ transition_a1_rise_7 = "s"
444
+
445
+ [[task.evaluation.metrics]]
446
+ id = "functional_area"
447
+ category = "physical"
448
+ observations = [
449
+ "geometry:area",
450
+ ]
451
+ unit = "um2"
452
+ direction = "minimize"
453
+ aggregation = "max"
454
+
455
+ [[task.evaluation.metrics]]
456
+ id = "state_0"
457
+ category = "performance"
458
+ observations = [
459
+ "nominal:state_0",
460
+ ]
461
+ unit = "V"
462
+ direction = "maximize"
463
+ aggregation = "min"
464
+ lower = 0.9
465
+
466
+ [[task.evaluation.metrics]]
467
+ id = "state_1"
468
+ category = "performance"
469
+ observations = [
470
+ "nominal:state_1",
471
+ ]
472
+ unit = "V"
473
+ direction = "maximize"
474
+ aggregation = "min"
475
+ lower = 0.9
476
+
477
+ [[task.evaluation.metrics]]
478
+ id = "state_2"
479
+ category = "performance"
480
+ observations = [
481
+ "nominal:state_2",
482
+ ]
483
+ unit = "V"
484
+ direction = "minimize"
485
+ aggregation = "max"
486
+ upper = 0.1
487
+
488
+ [[task.evaluation.metrics]]
489
+ id = "state_3"
490
+ category = "performance"
491
+ observations = [
492
+ "nominal:state_3",
493
+ ]
494
+ unit = "V"
495
+ direction = "maximize"
496
+ aggregation = "min"
497
+ lower = 0.9
498
+
499
+ [[task.evaluation.metrics]]
500
+ id = "state_4"
501
+ category = "performance"
502
+ observations = [
503
+ "nominal:state_4",
504
+ ]
505
+ unit = "V"
506
+ direction = "maximize"
507
+ aggregation = "min"
508
+ lower = 0.9
509
+
510
+ [[task.evaluation.metrics]]
511
+ id = "state_5"
512
+ category = "performance"
513
+ observations = [
514
+ "nominal:state_5",
515
+ ]
516
+ unit = "V"
517
+ direction = "maximize"
518
+ aggregation = "min"
519
+ lower = 0.9
520
+
521
+ [[task.evaluation.metrics]]
522
+ id = "state_6"
523
+ category = "performance"
524
+ observations = [
525
+ "nominal:state_6",
526
+ ]
527
+ unit = "V"
528
+ direction = "minimize"
529
+ aggregation = "max"
530
+ upper = 0.1
531
+
532
+ [[task.evaluation.metrics]]
533
+ id = "state_7"
534
+ category = "performance"
535
+ observations = [
536
+ "nominal:state_7",
537
+ ]
538
+ unit = "V"
539
+ direction = "maximize"
540
+ aggregation = "min"
541
+ lower = 0.9
542
+
543
+ [[task.evaluation.metrics]]
544
+ id = "state_8"
545
+ category = "performance"
546
+ observations = [
547
+ "nominal:state_8",
548
+ ]
549
+ unit = "V"
550
+ direction = "maximize"
551
+ aggregation = "min"
552
+ lower = 0.9
553
+
554
+ [[task.evaluation.metrics]]
555
+ id = "supply"
556
+ category = "performance"
557
+ observations = [
558
+ "nominal:supply",
559
+ ]
560
+ unit = "W"
561
+ direction = "minimize"
562
+ aggregation = "max"
563
+ dimension = "supply"
564
+ baseline = [
565
+ "source_nominal:supply",
566
+ ]
567
+ normalization = "ratio"
568
+ lower = 0
569
+ scale = 1e-12
570
+
571
+ [[task.evaluation.metrics]]
572
+ id = "propagation_delay"
573
+ category = "performance"
574
+ observations = [
575
+ "nominal:delay_a1_fall_2",
576
+ "nominal:delay_a2_rise_3",
577
+ "nominal:delay_a2_fall_6",
578
+ "nominal:delay_a1_rise_7",
579
+ ]
580
+ unit = "s"
581
+ direction = "minimize"
582
+ aggregation = "max"
583
+ dimension = "response"
584
+ baseline = [
585
+ "source_nominal:delay_a1_fall_2",
586
+ "source_nominal:delay_a2_rise_3",
587
+ "source_nominal:delay_a2_fall_6",
588
+ "source_nominal:delay_a1_rise_7",
589
+ ]
590
+ normalization = "ratio"
591
+ lower = 0
592
+
593
+ [[task.evaluation.metrics]]
594
+ id = "output_transition"
595
+ category = "performance"
596
+ observations = [
597
+ "nominal:transition_a1_fall_2",
598
+ "nominal:transition_a2_rise_3",
599
+ "nominal:transition_a2_fall_6",
600
+ "nominal:transition_a1_rise_7",
601
+ ]
602
+ unit = "s"
603
+ direction = "minimize"
604
+ aggregation = "max"
605
+ dimension = "response"
606
+ baseline = [
607
+ "source_nominal:transition_a1_fall_2",
608
+ "source_nominal:transition_a2_rise_3",
609
+ "source_nominal:transition_a2_fall_6",
610
+ "source_nominal:transition_a1_rise_7",
611
+ ]
612
+ normalization = "ratio"
613
+ lower = 0
614
+
615
+ [task.evaluation.scoring]
616
+ method = "layout"
617
+ area_metric = "functional_area"
618
+ area_target = 1.6789
619
+ rationale = "Standard-cell logic: propagation delay 48%; output transition 16%; supply power 16%; area 20%. Each objective's weight is divided equally among its metrics."
620
+
621
+ [task.evaluation.scoring.weights]
622
+ functional_area = 0.2
623
+ propagation_delay = 0.48
624
+ output_transition = 0.16
625
+ supply = 0.16
626
+
627
+ [task.evaluation.pre_layout]
628
+ source_report_sha256 = "76a86a4f03264579807d0206b09e5d64b666842b96240cc4a582b1fc7bf5bf5a"
629
+
630
+ [task.evaluation.pre_layout.backends]
631
+ "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\": \"7fc8a0cde0f7d722e87c34a1115c13986b3db8fecba4b7dadb0a1edf171df62b\", \"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******\"}"
632
+
633
+ [task.evaluation.pre_layout.jobs.source_nominal]
634
+ operation = "circuit.simulate"
635
+
636
+ [task.evaluation.pre_layout.jobs.source_nominal.inputs]
637
+ deck = "input:performance"
638
+ dut = "input:netlist"
639
+
640
+ [task.evaluation.pre_layout.jobs.source_nominal.outputs]
641
+ waveform = "ngspice-raw"
642
+
643
+ [task.evaluation.pre_layout.jobs.source_nominal.parameters.exports]
644
+ waveform = "waveform.raw"
645
+
646
+ [task.evaluation.pre_layout.jobs.source_nominal.parameters.measurements]
647
+ state_0 = "V"
648
+ state_1 = "V"
649
+ state_2 = "V"
650
+ state_3 = "V"
651
+ state_4 = "V"
652
+ state_5 = "V"
653
+ state_6 = "V"
654
+ state_7 = "V"
655
+ state_8 = "V"
656
+ supply = "W"
657
+ delay_a1_fall_2 = "s"
658
+ transition_a1_fall_2 = "s"
659
+ delay_a2_rise_3 = "s"
660
+ transition_a2_rise_3 = "s"
661
+ delay_a2_fall_6 = "s"
662
+ transition_a2_fall_6 = "s"
663
+ delay_a1_rise_7 = "s"
664
+ transition_a1_rise_7 = "s"
665
+
666
+ [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
667
+ deck = "389d2d09f05913f740d0b776e0fe2d4382057b2bc8a23564f4150adae920e4c9"
668
+ dut = "1decfdcffa5a7f962e26c0831e9a219521670f282df72e465fd61ebccdba12b0"
669
+
670
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a1_fall_2]
671
+ value = 1.430693e-11
672
+ unit = "s"
673
+
674
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a1_rise_7]
675
+ value = 9.335134e-12
676
+ unit = "s"
677
+
678
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a2_fall_6]
679
+ value = 1.515943e-11
680
+ unit = "s"
681
+
682
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.delay_a2_rise_3]
683
+ value = 1.022087e-11
684
+ unit = "s"
685
+
686
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_0]
687
+ value = 0.9999975
688
+ unit = "V"
689
+
690
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_1]
691
+ value = 0.9999739
692
+ unit = "V"
693
+
694
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_2]
695
+ value = 0.0001741408
696
+ unit = "V"
697
+
698
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_3]
699
+ value = 0.9998214
700
+ unit = "V"
701
+
702
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_4]
703
+ value = 0.999999
704
+ unit = "V"
705
+
706
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_5]
707
+ value = 0.9999582
708
+ unit = "V"
709
+
710
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_6]
711
+ value = 0.0001756712
712
+ unit = "V"
713
+
714
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_7]
715
+ value = 0.9999739
716
+ unit = "V"
717
+
718
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.state_8]
719
+ value = 0.9999406
720
+ unit = "V"
721
+
722
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.supply]
723
+ value = 3.425277e-06
724
+ unit = "W"
725
+
726
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a1_fall_2]
727
+ value = 1.658675e-11
728
+ unit = "s"
729
+
730
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a1_rise_7]
731
+ value = 9.668356e-12
732
+ unit = "s"
733
+
734
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a2_fall_6]
735
+ value = 1.658596e-11
736
+ unit = "s"
737
+
738
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.transition_a2_rise_3]
739
+ value = 1.080812e-11
740
+ unit = "s"
741
+
742
+ [toolchain.backends.artifact]
743
+ type = "klayout-docker"
744
+
745
+ [toolchain.backends.artifact.settings]
746
+ image = "iclayout-bench-tools:local"
747
+ check = "artifact"
748
+ timeout_seconds = 120
749
+
750
+ [toolchain.backends.drc]
751
+ type = "klayout-docker"
752
+
753
+ [toolchain.backends.drc.settings]
754
+ image = "iclayout-bench-tools:local"
755
+ check = "drc"
756
+ timeout_seconds = 120
757
+ support = "build/support/freepdk45-klayout"
758
+ profile = "drc.json"
759
+
760
+ [toolchain.backends.drc.support_profiles]
761
+ support = "klayout"
762
+
763
+ [toolchain.backends.lvs]
764
+ type = "klayout-docker"
765
+
766
+ [toolchain.backends.lvs.settings]
767
+ image = "iclayout-bench-tools:local"
768
+ check = "lvs"
769
+ timeout_seconds = 120
770
+ support = "build/support/freepdk45-klayout"
771
+ profile = "strict-lvs.json"
772
+
773
+ [toolchain.backends.lvs.support_profiles]
774
+ support = "klayout"
775
+
776
+ [toolchain.backends.geometry]
777
+ type = "klayout-geometry-docker"
778
+
779
+ [toolchain.backends.geometry.settings]
780
+ image = "iclayout-bench-tools:local"
781
+ timeout_seconds = 60
782
+
783
+ [toolchain.backends.rc]
784
+ type = "magic-rc-docker"
785
+
786
+ [toolchain.backends.rc.settings]
787
+ image = "iclayout-bench-tools:local"
788
+ support = "build/support/freepdk45-magic-vtl"
789
+ technology = "freepdk45.tech"
790
+ tech_name = "freepdk45"
791
+ style = "spice3(sim)"
792
+ gds_readonly = false
793
+ case_insensitive_ports = true
794
+ label_layers = [
795
+ [
796
+ 9,
797
+ 0,
798
+ ],
799
+ [
800
+ 11,
801
+ 0,
802
+ ],
803
+ [
804
+ 13,
805
+ 0,
806
+ ],
807
+ [
808
+ 15,
809
+ 0,
810
+ ],
811
+ [
812
+ 17,
813
+ 0,
814
+ ],
815
+ [
816
+ 19,
817
+ 0,
818
+ ],
819
+ [
820
+ 21,
821
+ 0,
822
+ ],
823
+ [
824
+ 23,
825
+ 0,
826
+ ],
827
+ [
828
+ 25,
829
+ 0,
830
+ ],
831
+ [
832
+ 27,
833
+ 0,
834
+ ],
835
+ [
836
+ 29,
837
+ 0,
838
+ ],
839
+ ]
840
+ timeout_seconds = 120
841
+
842
+ [toolchain.backends.rc.support_profiles]
843
+ support = "magic-vtl"
844
+
845
+ [toolchain.backends.ngspice]
846
+ type = "ngspice-docker"
847
+
848
+ [toolchain.backends.ngspice.settings]
849
+ image = "iclayout-bench-tools:local"
850
+ support = "build/support/freepdk45-models"
851
+ timeout_seconds = 120
852
+
853
+ [toolchain.backends.ngspice.support_profiles]
854
+ support = "models"
855
+
856
+ [toolchain.bindings]
857
+ "layout.artifact" = "artifact"
858
+ "layout.drc" = "drc"
859
+ "layout.lvs" = "lvs"
860
+ "layout.geometry" = "geometry"
861
+ "layout.extract_rc" = "rc"
862
+ "circuit.simulate" = "ngspice"
863
+
864
+ [qualification]
865
+ reference = "reference/NAND2_X1.gds"
866
+
867
+ [origin]
868
+ url = "https://foss-eda-tools.googlesource.com/third_party/freepdk45/+/356e90646f5ef26ea09b1ed8ce4796871403a0c7/Back_End/spice/NAND2_X1.spi"
869
+
870
+ [presentation]
871
+ category = "Logic & memory"
872
+ summary = "Implements two-input NAND logic in a fixed-height standard cell."
tasks/freepdk45/nangate45-pdk/cases/NAND2_X1/materials/circuit.spice ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *
2
+ * ******************************************************************************
3
+ * * *
4
+ * * Copyright (C) 2004-2010, Nangate Inc. *
5
+ * * All rights reserved. *
6
+ * * *
7
+ * * Nangate and the Nangate logo are trademarks of Nangate Inc. *
8
+ * * *
9
+ * * All trademarks, logos, software marks, and trade names (collectively the *
10
+ * * "Marks") in this program are proprietary to Nangate or other respective *
11
+ * * owners that have granted Nangate the right and license to use such Marks. *
12
+ * * You are not permitted to use the Marks without the prior written consent *
13
+ * * of Nangate or such third party that may own the Marks. *
14
+ * * *
15
+ * * This file has been provided pursuant to a License Agreement containing *
16
+ * * restrictions on its use. This file contains valuable trade secrets and *
17
+ * * proprietary information of Nangate Inc., and is protected by U.S. and *
18
+ * * international laws and/or treaties. *
19
+ * * *
20
+ * * The copyright notice(s) in this file does not indicate actual or intended *
21
+ * * publication of this file. *
22
+ * * *
23
+ * * buildcell, v2010.08-HR32-SP3-2010-08-05 - build 1009061800 *
24
+ * * *
25
+ * ******************************************************************************
26
+ *
27
+ *
28
+ * Running on brazil06.nangate.com.br for user Giancarlo Franciscatto (gfr).
29
+ * Local time is now Fri, 3 Dec 2010, 19:22:54.
30
+ * Main process id is 28034.
31
+ *
32
+ ********************************************************************************
33
+ * *
34
+ * Cellname: NAND2_X1. *
35
+ * *
36
+ * Technology: NCSU FreePDK 45nm. *
37
+ * Format: Cdl. *
38
+ * *
39
+ * Written on brazil06.nangate.com.br for user Giancarlo Franciscatto (gfr) *
40
+ * at 19:22:54 on Fri, 3 Dec 2010. *
41
+ * *
42
+ ********************************************************************************
43
+ .SUBCKT NAND2_X1 A1 A2 ZN VDD VSS
44
+ *.PININFO A1:I A2:I ZN:O VDD:P VSS:G
45
+ *.EQN ZN=!(A1 * A2)
46
+ M_i_1 net_0 A2 VSS VSS NMOS_VTL W=0.415000U L=0.050000U
47
+ M_i_0 ZN A1 net_0 VSS NMOS_VTL W=0.415000U L=0.050000U
48
+ M_i_3 ZN A2 VDD VDD PMOS_VTL W=0.630000U L=0.050000U
49
+ M_i_2 VDD A1 ZN VDD PMOS_VTL W=0.630000U L=0.050000U
50
+ .ENDS
51
+
52
+ ********************************************************************************
53
+ *
54
+ * END
55
+ *
56
+ ********************************************************************************
tasks/freepdk45/nangate45-pdk/cases/NAND2_X1/materials/schematic.svg ADDED
tasks/freepdk45/nangate45-pdk/cases/NAND2_X1/materials/testbench.spice ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ * NAND2_X1: exhaustive Gray sequence and reversed sequence
2
+ .include /workspace/support/models.spice
3
+ .include dut.spice
4
+ .temp 27
5
+ Vdd vdd 0 1
6
+ Vss vss 0 0
7
+ Xdut A1 A2 ZN VDD VSS NAND2_X1
8
+ Cl ZN 0 5f
9
+ VA1 A1 0 PWL(0 0 0.500n 0 0.510n 0 1.000n 0 1.010n 1 1.500n 1 1.510n 1 2.000n 1 2.010n 0 2.500n 0 2.510n 1 3.000n 1 3.010n 1 3.500n 1 3.510n 0 4.000n 0 4.010n 0)
10
+ VA2 A2 0 PWL(0 0 0.500n 0 0.510n 1 1.000n 1 1.010n 1 1.500n 1 1.510n 0 2.000n 0 2.010n 0 2.500n 0 2.510n 0 3.000n 0 3.010n 1 3.500n 1 3.510n 1 4.000n 1 4.010n 0)
11
+ .tran 0.5p 4.500n
12
+ .meas tran state_0 find v(ZN) at=0.110n
13
+ .meas tran state_1 find v(ZN) at=0.610n
14
+ .meas tran state_2 find v(ZN) at=1.110n
15
+ .meas tran state_3 find v(ZN) at=1.610n
16
+ .meas tran state_4 find v(ZN) at=2.110n
17
+ .meas tran state_5 find v(ZN) at=2.610n
18
+ .meas tran state_6 find v(ZN) at=3.110n
19
+ .meas tran state_7 find v(ZN) at=3.610n
20
+ .meas tran state_8 find v(ZN) at=4.110n
21
+ .meas tran supply avg par('-v(vdd)*i(Vdd)') from=0 to=4.400n
22
+ .meas tran delay_a1_fall_2 trig v(A1) val=0.5 rise=1 td=1n targ v(ZN) val=0.5 fall=1 td=1n
23
+ .meas tran transition_a1_fall_2 trig v(ZN) val=0.8 fall=1 td=1n targ v(ZN) val=0.2 fall=1 td=1n
24
+ .meas tran delay_a2_rise_3 trig v(A2) val=0.5 fall=1 td=1.5n targ v(ZN) val=0.5 rise=1 td=1.5n
25
+ .meas tran transition_a2_rise_3 trig v(ZN) val=0.2 rise=1 td=1.5n targ v(ZN) val=0.8 rise=1 td=1.5n
26
+ .meas tran delay_a2_fall_6 trig v(A2) val=0.5 rise=1 td=3n targ v(ZN) val=0.5 fall=1 td=3n
27
+ .meas tran transition_a2_fall_6 trig v(ZN) val=0.8 fall=1 td=3n targ v(ZN) val=0.2 fall=1 td=3n
28
+ .meas tran delay_a1_rise_7 trig v(A1) val=0.5 fall=1 td=3.5n targ v(ZN) val=0.5 rise=1 td=3.5n
29
+ .meas tran transition_a1_rise_7 trig v(ZN) val=0.2 rise=1 td=3.5n targ v(ZN) val=0.8 rise=1 td=3.5n
30
+ .control
31
+ run
32
+ write waveform.raw v(A1) v(A2) v(ZN) v(VDD) i(Vdd)
33
+ quit
34
+ .endc
35
+ .end
tasks/freepdk45/nangate45-pdk/cases/NAND2_X1/problem.md ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Two-Input NAND Layout Task
2
+
3
+ ## Objective
4
+
5
+ Implement ZN = NOT (A1 AND A2) using the supplied VTL transistors. Preserve the authoritative netlist's model classes, W/L, interface and connectivity. Submit top cell `NAND2_X1`.
6
+
7
+ ## Inputs and Interface
8
+
9
+ Ordered SPICE ports: `A1 A2 ZN VDD VSS`. Names are case-insensitive; different names are not interchangeable. The delivered inputs are this problem, `materials/circuit.spice`, and `materials/testbench.spice`. The model and extraction resources are supplied as reviewed support bundles. Reference geometry and qualification evidence are maintainer materials, excluded from solver inputs.
10
+
11
+ ## Operating Conditions
12
+
13
+ Use the nominal FreePDK45 BSIM4 models at **1.0 V and 27 C**, with ground at 0 V. All transistor lengths are 50 nm; widths and model classes come from the netlist.
14
+
15
+ ZN drives 5 fF. Apply 00, 01, 11, 10, 00, 10, 11, 01, 00 to A1/A2 in 500 ps slots, with 10 ps edges. Sample ZN at slot start + 110 ps. This visits the full truth table and both directions of each single-input transition. Average DUT supply power over 0–4.4 ns.
16
+
17
+ The deck defines stimuli and observation times exactly. Tests use only external ports. Qualification covers these nominal conditions, not PVT, mismatch, array abutment, substrate noise or manufacturing signoff.
18
+
19
+ ## Physical Requirements
20
+
21
+ Submit a nonempty GDSII of at most 10 MiB. Enable all checks present in the supplied KLayout DRC deck, including grid and antenna checks, with no waivers. Strict LVS checks named ports, models, W/L and actual well/tap connectivity; library-specific implicit or global rail connections are disabled. The upstream deck does not implement its documented different-potential well-spacing rule; it is not a complete foundry signoff deck.
22
+
23
+ The hard functional envelope is 100 um by 100 um. Its bounding rectangle includes every drawing layer 1/0 through 29/0: active, wells, implants, threshold markers, poly, contacts, all ten metals and all nine vias. It supplies the scored footprint in um2. Put functional geometry on these layers; pin-purpose and annotation geometry is excluded. Electrical labels use poly or metal drawing layers (9/0 and 11/0, 13/0, ..., 29/0). Non-electrical annotation text is ignored by extraction.
24
+
25
+ Translation, equivalent hierarchy and internal instance renaming are allowed. LVS permits source/drain exchange and equivalent parallel devices; any such layout must also pass the same RC-based electrical requirements. Preserve top-level port identities and explicit body connections.
26
+
27
+
28
+ The standard-cell functional frame has fixed height 1.63 um and width on a 0.01 um grid. Coordinates below are relative to its lower-left functional bound; global translation remains allowed. Supply rails must be continuous on metal1 and bound by LVS to the named supply.
29
+
30
+ - `VDD`: centre y = 1.515 um, thickness at least 0.07 um, from left + 0.115 um to right − 0.03 um.
31
+ - `VSS`: centre y = 0.115 um, thickness at least 0.07 um, from left + 0.115 um to right − 0.03 um.
32
+
33
+ ## Electrical Requirements and Scoring
34
+
35
+ Artifact, DRC, LVS and geometry gates precede candidate GDS extraction. Simulation consumes the candidate's Magic RC netlist unchanged; source simulation supplies the independent scoring baseline. VTG/VTL device classes are checked by independent LVS before the matching extraction profile is used. Extraction includes poly/metal sheet resistance, contacts/vias, geometry-dependent coupling and ground capacitance, and device junction area/perimeter. Wells are lumped connections; BSIM4 supplies device/junction behavior. Interconnect resistance and capacitance use the pinned community FreePDK45 Magic technology's estimated coefficients and native capacitance placement. The extraction adapter binds VTG/VTL models, preserves annotation layers and corrects the technology's dimensional unit conversion. This is a predictive approximation without field-solver signoff accuracy.
36
+
37
+ Physical checks and declared functional bounds remain mandatory. Quality has no
38
+ fixed allowed-degradation threshold. Each `source_*` job simulates the declared
39
+ source circuit with exactly the same testbench, model resources, parameters,
40
+ load and measurement window as its paired extracted-candidate job. A source
41
+ observation is the 100-point electrical baseline; it is independent of the
42
+ submitted GDS. All individual pairs are retained in the evaluation report.
43
+
44
+ For a post-layout observation x and its source observation b:
45
+
46
+ - Maximize: q = x/b; minimize: q = b/x. When a numerical scale s is declared,
47
+ use (x+s)/(b+s) or its inverse. This handles zero-valued error measurements;
48
+ s is a normalization floor, not an allowed degradation or pass threshold.
49
+ - Amplitude dB: q = 10^((x-b)/20) for maximize, its inverse for minimize.
50
+ - Target: q = 1/(1+abs(x-b)/s), with a declared physical scale s. Signed and
51
+ zero-valued operating points are never divided directly.
52
+
53
+ Scoring uses `layout`. A metric uses its worst paired quality q. The score is
54
+ S = 100 * product(q_i ** w_i), including area quality
55
+ q_area = area_reference / candidate_functional_area. The weights below sum to
56
+ one. Dimensions describe measurements but do not determine their weights.
57
+ Physical or functional rejection scores zero; missing or invalid measurements
58
+ produce an unknown score, including measurements with zero weight.
59
+ Source-equivalent performance at the area reference scores 100; improvements
60
+ can exceed 100. A weight expresses a tradeoff, not a hard acceptance limit.
61
+
62
+ | Metric | Definition / observations | Unit | Quality rule | Functional bounds | Scale |
63
+ | --- | --- | --- | --- | --- | --- |
64
+ | `state_0` | `find v(ZN) at=0.110n` | V | functional check | 0.9 … +∞ | — |
65
+ | `state_1` | `find v(ZN) at=0.610n` | V | functional check | 0.9 … +∞ | — |
66
+ | `state_2` | `find v(ZN) at=1.110n` | V | functional check | −∞ … 0.1 | — |
67
+ | `state_3` | `find v(ZN) at=1.610n` | V | functional check | 0.9 … +∞ | — |
68
+ | `state_4` | `find v(ZN) at=2.110n` | V | functional check | 0.9 … +∞ | — |
69
+ | `state_5` | `find v(ZN) at=2.610n` | V | functional check | 0.9 … +∞ | — |
70
+ | `state_6` | `find v(ZN) at=3.110n` | V | functional check | −∞ … 0.1 | — |
71
+ | `state_7` | `find v(ZN) at=3.610n` | V | functional check | 0.9 … +∞ | — |
72
+ | `state_8` | `find v(ZN) at=4.110n` | V | functional check | 0.9 … +∞ | — |
73
+ | `supply` | `avg par('-v(vdd)*i(Vdd)') from=0 to=4.400n` | W | minimize / ratio | 0 … +∞ | 1e-12 |
74
+ | `propagation_delay` | Worst paired quality over: delay_a1_fall_2, delay_a2_rise_3, delay_a2_fall_6, delay_a1_rise_7. | s | minimize / ratio | 0 … +∞ | — |
75
+ | `output_transition` | Worst paired quality over: transition_a1_fall_2, transition_a2_rise_3, transition_a2_fall_6, transition_a1_rise_7. | s | minimize / ratio | 0 … +∞ | — |
76
+
77
+ Area reference: **1.6789 um2**. Complete functional bounding rectangle of the declared standard-cell reference GDS: 1.03 by 1.63 um = 1.6789 um2. Reference SHA-256: d077499ea242e1c8506c7a992ce713d46ea513c52b80073a2b7ae6d6515f2d3f. This footprint includes the maintained explicit taps and routing.
78
+
79
+ The capability coefficient remains **1**; it is independent of
80
+ the reference-relative task score.
81
+
82
+ ### Standard-cell design guidance
83
+
84
+ Plan the device rows, power rails and signal access before routing. Represent
85
+ pull-up and pull-down connectivity as transistor-edge graphs; explore compatible
86
+ Euler trails and alternative orderings to share diffusion and reduce breaks.
87
+ Choose among legal orderings using routing length, parasitic loading and signal
88
+ access, rather than diffusion sharing alone. Preserve the fixed netlist sizes,
89
+ models and connectivity; size optimization is outside this task.
90
+
91
+ Use the task's declared row height, grid and rail geometry. Keep local routes
92
+ compact, leave signal pins accessible, and avoid consuming extra routing layers
93
+ without benefit. Check DRC and named-port LVS, then extract the candidate and
94
+ compare both transition directions and power with the source simulation. Iterate
95
+ on measured parasitic effects rather than visual compactness alone. These are
96
+ optional techniques, not a mandated algorithm or reference placement.
97
+
98
+ Adapted from Xu et al., *Standard Cell Library Design and Optimization Methodology
99
+ for ASAP7 PDK*, Sections 2–3 (https://arxiv.org/abs/1807.11396). Its FinFET sizing,
100
+ track counts and process-specific dimensions do not apply to this task.
101
+
102
+
103
+ ### Score weights
104
+
105
+ Standard-cell logic: propagation delay 48%; output transition 16%; supply power 16%; area 20%. Each objective's weight is divided equally among its metrics.
106
+
107
+ | Metric | Weight |
108
+ | --- | ---: |
109
+ | `functional_area` | 0.2 |
110
+ | `propagation_delay` | 0.480000000000 |
111
+ | `output_transition` | 0.160000000000 |
112
+ | `supply` | 0.160000000000 |
113
+
114
+ ## Tools and Submission
115
+
116
+ Solve budget: **3 hours**.
117
+
118
+ Use the reviewed FreePDK45 KLayout, Magic and ngspice resources from `/protocol/resources.json`. For Magic RC extraction, use `/resources/support/magic-vtl/freepdk45.tech`, which includes the required model and unit adaptations. Runtime `/protocol/task.json` publishes the same constraints, measurements and scoring. Only declared inputs appear under `/task`. Write `/workspace/output/final.gds`, then explicitly submit with `python -I /protocol/submit.py`. A harness that declares `process-feedback` uses the same frozen plan and backend identities for process checks; those snapshots do not count as final submissions.
tasks/freepdk45/nangate45-pdk/cases/NAND2_X1/reference/NAND2_X1.gds ADDED
Binary file (3.26 kB). View file
 
tasks/freepdk45/pdk.toml ADDED
@@ -0,0 +1,353 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [agent]
2
+ id = "freepdk45"
3
+ support_profiles = [
4
+ "models",
5
+ "klayout",
6
+ "magic-vtg",
7
+ "magic-vtl",
8
+ ]
9
+ checks = [
10
+ [
11
+ "python",
12
+ "-c",
13
+ "import pya; t=pya.Technology(); t.load('/resources/pdks/freepdk45/libs.tech/klayout/tech/freepdk45/freepdk45.lyt'); assert t.name; print('FreePDK45 technology loaded:', t.name)",
14
+ ],
15
+ ]
16
+
17
+ [agent.sources.freepdk45]
18
+ installation = true
19
+ path = "freepdk45"
20
+
21
+ [agent.environment]
22
+ ICLAYOUT_BENCH_PDK = "freepdk45"
23
+ PDK_ROOT = "/resources/pdks"
24
+ PDK_PATH = "/resources/pdks/freepdk45"
25
+ KLAYOUT_PATH = "/resources/pdks/freepdk45/libs.tech/klayout"
26
+
27
+ [source]
28
+ repository = "https://github.com/rjordans/freepdk45-open-pdks.git"
29
+ commit = "ab8b395503e5b6149f76549abfd375e7cbb156cc"
30
+ license = "Component licenses in libs.tech/klayout/LICENSE and libs.tech/ngspice/APACHE-LICENSE-2.0.txt"
31
+
32
+ [profiles.klayout.files."upstream/drc.lydrc"]
33
+ path = "freepdk45/libs.tech/klayout/tech/freepdk45/drc/drc_freepdk45.lydrc"
34
+ format = "text"
35
+
36
+ [profiles.klayout.files."upstream/lvs.lylvs"]
37
+ path = "freepdk45/libs.tech/klayout/tech/freepdk45/lvs/lvs_freepdk45.lylvs"
38
+ format = "text"
39
+
40
+ [profiles.klayout.generated."freepdk45.drc"]
41
+ content = """
42
+ # ICLayout-Bench CLI adapter; original rules and switches are unchanged.
43
+ $output = $report
44
+ eval(RBA::Macro.new(\"/workspace/support/upstream/drc.lydrc\").text, binding)
45
+ """
46
+ format = "text"
47
+
48
+ [profiles.klayout.generated."strict.lvs"]
49
+ content = """
50
+ # ICLayout-Bench strict candidate LVS; modified from the pinned BSD-3-Clause macro.
51
+ # Preserve device extraction and physical connectivity. Require real body taps,
52
+ # exact model/width/length and named ports; no cell-name shortcuts or pin swaps.
53
+ code = RBA::Macro.new(\"/workspace/support/upstream/lvs.lylvs\").text
54
+ # Promote geometry AND text labels through wrappers before reading DSL layers.
55
+ # The immutable original candidate remains available to all other gates.
56
+ flat_layout = RBA::Layout.new
57
+ flat_layout.read($input)
58
+ flat_layout.cell($topcell).flatten(true)
59
+ flat_layout.write(\"/workspace/flat-candidate.gds\")
60
+ code = code.sub(\"source($input)\", 'source(\"/workspace/flat-candidate.gds\", $topcell)')
61
+ code = code.sub(\"report($report)\", \"report_lvs($report)\")
62
+ # Flatten for candidate checks so an electrically empty wrapper cannot hide its child.
63
+ code = code.sub(\"\\ndeep\\n\", \"\\n\")
64
+ code = code.sub(/cheat\\([^
65
+ ]+\\) \\{\\s*
66
+ /, \"\")
67
+ code = code.sub(\"\\n}\\n\\n# Define connectivity\", \"\\n# Define connectivity\")
68
+ code = code.sub(/# Global.*?# Actually performs the extraction/m, \"schematic.simplify\\n# Actually performs the extraction\")
69
+ code = code.sub(/# Tolerances for.*?max_branch_complexity/m, \"max_branch_complexity\")
70
+ raise \"Unexpected upstream shortcut remains\" if code.match?(/connect_global|connect_explicit|connect_implicit|equivalent_pins|cheat\\(/)
71
+ metal1 = nil
72
+ eval(code, binding)
73
+ """
74
+ format = "text"
75
+
76
+ [profiles.klayout.generated."drc.json"]
77
+ content = """
78
+ {
79
+ \"deck\": \"freepdk45.drc\",
80
+ \"variables\": {},
81
+ \"scope\": \"All upstream DRC, antenna and off-grid checks; no waivers.\",
82
+ \"required_categories\": [
83
+ \"'WELL.1'\",
84
+ \"'WELL.3'\",
85
+ \"'WELL.4'\",
86
+ \"'VT.1'\",
87
+ \"'POLY.1'\",
88
+ \"'POLY.3'\",
89
+ \"'POLY.4'\",
90
+ \"'POLY.5'\",
91
+ \"'POLY.6'\",
92
+ \"'ACTIVE.1'\",
93
+ \"'ACTIVE.2'\",
94
+ \"'ACTIVE.3'\",
95
+ \"'ACTIVE.4'\",
96
+ \"'IMPLANT.1'\",
97
+ \"'IMPLANT.2'\",
98
+ \"'IMPLANT.3'\",
99
+ \"'IMPLANT.4'\",
100
+ \"'IMPLANT.5'\",
101
+ \"'CONTACT.1'\",
102
+ \"'CONTACT.2'\",
103
+ \"'CONTACT.3'\",
104
+ \"'CONTACT.4'\",
105
+ \"'CONTACT.5'\",
106
+ \"'CONTACT.6'\",
107
+ \"'METAL1.1'\",
108
+ \"'METAL1.2'\",
109
+ \"'METAL1.3'\",
110
+ \"'METAL1.4'\",
111
+ \"'METAL1.5'\",
112
+ \"'METAL1.6'\",
113
+ \"'METAL1.7'\",
114
+ \"'METAL1.8'\",
115
+ \"'METAL1.9'\",
116
+ \"'VIA1.1'\",
117
+ \"'VIA1.2'\",
118
+ \"'VIA1.3'\",
119
+ \"'VIA1.4'\",
120
+ \"'METAL2.1'\",
121
+ \"'METAL2.2'\",
122
+ \"'METAL2.3'\",
123
+ \"'METAL2.4'\",
124
+ \"'METAL2.5'\",
125
+ \"'METAL2.6'\",
126
+ \"'METAL2.7'\",
127
+ \"'METAL2.8'\",
128
+ \"'METAL2.9'\",
129
+ \"'VIA2.1'\",
130
+ \"'VIA2.2'\",
131
+ \"'VIA2.3'\",
132
+ \"'VIA2.4'\",
133
+ \"'METAL3.1'\",
134
+ \"'METAL3.2'\",
135
+ \"'METAL3.3'\",
136
+ \"'METAL3.4'\",
137
+ \"'METAL3.5'\",
138
+ \"'METAL3.6'\",
139
+ \"'METAL3.7'\",
140
+ \"'METAL3.8'\",
141
+ \"'METAL3.9'\",
142
+ \"'VIA3.1'\",
143
+ \"'VIA3.2'\",
144
+ \"'VIA3.3'\",
145
+ \"'VIA3.4'\",
146
+ \"'METAL4.1'\",
147
+ \"'METAL4.2'\",
148
+ \"'METAL4.6'\",
149
+ \"'METAL4.7'\",
150
+ \"'METAL4.8'\",
151
+ \"'VIA4.1'\",
152
+ \"'VIA4.2'\",
153
+ \"'VIA4.3'\",
154
+ \"'VIA4.4'\",
155
+ \"'METAL5.1'\",
156
+ \"'METAL5.2'\",
157
+ \"'METAL5.6'\",
158
+ \"'METAL5.7'\",
159
+ \"'METAL5.8'\",
160
+ \"'VIA5.1'\",
161
+ \"'VIA5.2'\",
162
+ \"'VIA5.3'\",
163
+ \"'VIA5.4'\",
164
+ \"'METAL6.1'\",
165
+ \"'METAL6.2'\",
166
+ \"'METAL6.6'\",
167
+ \"'METAL6.7'\",
168
+ \"'METAL6.8'\",
169
+ \"'VIA6.1'\",
170
+ \"'VIA6.2'\",
171
+ \"'VIA6.3'\",
172
+ \"'VIA6.4'\",
173
+ \"'METAL7.1'\",
174
+ \"'METAL7.2'\",
175
+ \"'METAL7.7'\",
176
+ \"'METAL7.8'\",
177
+ \"'METAL7.9'\",
178
+ \"'VIA7.3'\",
179
+ \"'VIA7.4'\",
180
+ \"'METAL8.1'\",
181
+ \"'METAL8.2'\",
182
+ \"'METAL8.7'\",
183
+ \"'METAL8.8'\",
184
+ \"'METAL8.9'\",
185
+ \"'VIA8.1'\",
186
+ \"'VIA8.2'\",
187
+ \"'VIA8.3'\",
188
+ \"'VIA8.4'\",
189
+ \"'METAL9.1'\",
190
+ \"'METAL9.2'\",
191
+ \"'METAL9.7'\",
192
+ \"'METAL9.8'\",
193
+ \"'METAL9.9'\",
194
+ \"'VIA9.1'\",
195
+ \"'VIA9.2'\",
196
+ \"'VIA9.3'\",
197
+ \"'VIA9.4'\",
198
+ \"'METAL10.1'\",
199
+ \"'METAL10.2'\",
200
+ \"'METAL10.7'\",
201
+ \"'METAL10.8'\",
202
+ \"'METAL10.9'\",
203
+ \"'GRID: vertexes on layer well not on grid of 0.0025'\",
204
+ \"'GRID: vertexes on layer active not on grid of 0.0025'\",
205
+ \"'GRID: vertexes on layer vtg not on grid of 0.0025'\",
206
+ \"'GRID: vertexes on layer vth not on grid of 0.0025'\",
207
+ \"'GRID: vertexes on layer pplus not on grid of 0.0025'\",
208
+ \"'GRID: vertexes on layer nplus not on grid of 0.0025'\",
209
+ \"'GRID: vertexes on layer poly not on grid of 0.0025'\",
210
+ \"'GRID: vertexes on layer thkox not on grid of 0.0025'\",
211
+ \"'GRID: vertexes on layer cont not on grid of 0.0025'\",
212
+ \"'GRID: vertexes on layer metal1 not on grid of 0.0025'\",
213
+ \"'GRID: vertexes on layer via1 not on grid of 0.0025'\",
214
+ \"'GRID: vertexes on layer metal2 not on grid of 0.0025'\",
215
+ \"'GRID: vertexes on layer via2 not on grid of 0.0025'\",
216
+ \"'GRID: vertexes on layer metal3 not on grid of 0.0025'\",
217
+ \"'GRID: vertexes on layer via3 not on grid of 0.0025'\",
218
+ \"'GRID: vertexes on layer metal4 not on grid of 0.0025'\",
219
+ \"'GRID: vertexes on layer via4 not on grid of 0.0025'\",
220
+ \"'GRID: vertexes on layer metal5 not on grid of 0.0025'\",
221
+ \"'GRID: vertexes on layer via5 not on grid of 0.0025'\",
222
+ \"'GRID: vertexes on layer metal6 not on grid of 0.0025'\",
223
+ \"'GRID: vertexes on layer via6 not on grid of 0.0025'\",
224
+ \"'GRID: vertexes on layer metal7 not on grid of 0.0025'\",
225
+ \"'GRID: vertexes on layer via7 not on grid of 0.0025'\",
226
+ \"'GRID: vertexes on layer metal8 not on grid of 0.0025'\",
227
+ \"'GRID: vertexes on layer via8 not on grid of 0.0025'\",
228
+ \"'GRID: vertexes on layer metal9 not on grid of 0.0025'\",
229
+ \"'GRID: vertexes on layer via9 not on grid of 0.0025'\",
230
+ \"'GRID: vertexes on layer metal10 not on grid of 0.0025'\",
231
+ \"METAL1_ANTENNA\",
232
+ \"METAL2_ANTENNA\",
233
+ \"METAL3_ANTENNA\",
234
+ \"METAL4_ANTENNA\",
235
+ \"METAL5_ANTENNA\",
236
+ \"METAL6_ANTENNA\",
237
+ \"METAL7_ANTENNA\",
238
+ \"METAL8_ANTENNA\",
239
+ \"METAL9_ANTENNA\",
240
+ \"METAL10_ANTENNA\"
241
+ ]
242
+ }
243
+ """
244
+ format = "json"
245
+
246
+ [profiles.klayout.generated."strict-lvs.json"]
247
+ content = """
248
+ {
249
+ \"deck\": \"strict.lvs\",
250
+ \"layer_names\": {\"metal1\": \"metal1\"},
251
+ \"variables\": {},
252
+ \"scope\": \"Physical well/tap connectivity, no global or implicit connections, no cell-name cheat blocks, exact MOS W/L, named ports.\"
253
+ }
254
+ """
255
+ format = "json"
256
+
257
+ [profiles.models]
258
+ check = [
259
+ "python",
260
+ "/resources/pdk-check.py",
261
+ "models",
262
+ "NMOS_VTL",
263
+ "models.spice",
264
+ "--length",
265
+ "50n",
266
+ "--width",
267
+ "200n",
268
+ ]
269
+
270
+ [profiles.models.files."NMOS_VTG.inc"]
271
+ path = "freepdk45/libs.tech/ngspice/tran_models/models_nom/NMOS_VTG.inc"
272
+ format = "text"
273
+
274
+ [profiles.models.files."PMOS_VTG.inc"]
275
+ path = "freepdk45/libs.tech/ngspice/tran_models/models_nom/PMOS_VTG.inc"
276
+ format = "text"
277
+
278
+ [profiles.models.files."NMOS_VTL.inc"]
279
+ path = "freepdk45/libs.tech/ngspice/tran_models/models_nom/NMOS_VTL.inc"
280
+ format = "text"
281
+
282
+ [profiles.models.files."PMOS_VTL.inc"]
283
+ path = "freepdk45/libs.tech/ngspice/tran_models/models_nom/PMOS_VTL.inc"
284
+ format = "text"
285
+
286
+ [profiles.models.generated."models.spice"]
287
+ format = "spice"
288
+ content = """
289
+ .include /workspace/support/NMOS_VTG.inc
290
+ .include /workspace/support/PMOS_VTG.inc
291
+ .include /workspace/support/NMOS_VTL.inc
292
+ .include /workspace/support/PMOS_VTL.inc
293
+ """
294
+
295
+ [profiles.magic-vtg.files."freepdk45.tech"]
296
+ path = "freepdk45/libs.tech/magic/freepdk45.tech"
297
+ format = "text"
298
+
299
+ [[profiles.magic-vtg.files."freepdk45.tech".replace]]
300
+ old = "device msubcircuit pmos pfet *pdiff *pdiff nwell error l=l w=w"
301
+ new = "device mosfet PMOS_VTG pfet pdiff,pdc nwell"
302
+
303
+ [[profiles.magic-vtg.files."freepdk45.tech".replace]]
304
+ old = "device msubcircuit nmos nfet *ndiff *ndiff psub,space/w error l=l w=w"
305
+ new = "device mosfet NMOS_VTG nfet ndiff,ndc psub,space/w"
306
+
307
+ [[profiles.magic-vtg.files."freepdk45.tech".replace]]
308
+ old = " calma TEXT 63 63"
309
+ new = """
310
+ calma TEXT 63 63
311
+ calma VTG 6 0
312
+ calma VTH 7 0
313
+ calma THKOX 8 0
314
+ calma ANNOTATION 239 0
315
+ calma BOUNDARY230 230 0"""
316
+
317
+ [[profiles.magic-vtg.files."freepdk45.tech".replace]]
318
+ old = " layer comment TEXT"
319
+ new = " layer comment TEXT,VTG,VTH,THKOX,ANNOTATION,BOUNDARY230"
320
+
321
+ [[profiles.magic-vtg.files."freepdk45.tech".replace]]
322
+ old = " lambda 0.025"
323
+ new = " lambda 2.5"
324
+
325
+ [profiles.magic-vtl.files."freepdk45.tech"]
326
+ path = "freepdk45/libs.tech/magic/freepdk45.tech"
327
+ format = "text"
328
+
329
+ [[profiles.magic-vtl.files."freepdk45.tech".replace]]
330
+ old = "device msubcircuit pmos pfet *pdiff *pdiff nwell error l=l w=w"
331
+ new = "device mosfet PMOS_VTL pfet pdiff,pdc nwell"
332
+
333
+ [[profiles.magic-vtl.files."freepdk45.tech".replace]]
334
+ old = "device msubcircuit nmos nfet *ndiff *ndiff psub,space/w error l=l w=w"
335
+ new = "device mosfet NMOS_VTL nfet ndiff,ndc psub,space/w"
336
+
337
+ [[profiles.magic-vtl.files."freepdk45.tech".replace]]
338
+ old = " calma TEXT 63 63"
339
+ new = """
340
+ calma TEXT 63 63
341
+ calma VTG 6 0
342
+ calma VTH 7 0
343
+ calma THKOX 8 0
344
+ calma ANNOTATION 239 0
345
+ calma BOUNDARY230 230 0"""
346
+
347
+ [[profiles.magic-vtl.files."freepdk45.tech".replace]]
348
+ old = " layer comment TEXT"
349
+ new = " layer comment TEXT,VTG,VTH,THKOX,ANNOTATION,BOUNDARY230"
350
+
351
+ [[profiles.magic-vtl.files."freepdk45.tech".replace]]
352
+ old = " lambda 0.025"
353
+ new = " lambda 2.5"
tasks/gf180mcuD/2AMLogic-sar-adc/LICENSE ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 2AM Logic
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
202
+
tasks/gf180mcuD/2AMLogic-sar-adc/cases/track_switch/case.toml ADDED
@@ -0,0 +1,775 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ in_core = false
2
+ kind = "layout_case"
3
+ id = "gf180mcuD.2AMLogic-sar-adc.track_switch"
4
+ title = "Dummy-Compensated Track Switch"
5
+ status = "qualified"
6
+
7
+ [[assets]]
8
+ path = "materials/schematic.svg"
9
+ role = "schematic"
10
+ visibility = "maintainer"
11
+ format = "svg"
12
+ sha256 = "e5f06c8b3160abc3605f55603d74694c7f96faf76ec2eab893cfcbb0eafc2a07"
13
+
14
+ [[assets]]
15
+ path = "reference/adc_tgate_dum.gds"
16
+ role = "reference"
17
+ visibility = "maintainer"
18
+ format = "gds"
19
+ sha256 = "ac42852033a1e1372d70dbd6fab92e35c668fda8c2ede932e71ef47511cc9db2"
20
+
21
+ [task]
22
+ hours = 3
23
+ kind = "netlist_to_gds"
24
+ family = "gf180_track_switch"
25
+ coefficient = 4
26
+ environment = "gf180mcuD-typical-rc"
27
+
28
+ [task.inputs.description]
29
+ path = "problem.md"
30
+ format = "text"
31
+ sha256 = "61dad99299cb63987ff9252905cf3c0b7db5b8d24d74c07b27a2b0f962346c87"
32
+
33
+ [task.inputs.netlist]
34
+ path = "materials/circuit.spice"
35
+ format = "spice"
36
+ sha256 = "24b64a7a410681352d4ec80b0fead64d6c1987ebd375acde58af33e7832f30dd"
37
+ subcircuit = "adc_tgate_dum"
38
+
39
+ [task.inputs.performance]
40
+ path = "materials/testbench.spice"
41
+ format = "spice"
42
+ sha256 = "35039b03b178d1954f4a5caf712b05ecf0780f12128b6d0028db9ea9ead924c5"
43
+
44
+ [task.output]
45
+ path = "output/final.gds"
46
+ format = "gds"
47
+ top_cell = "adc_tgate_dum"
48
+ max_bytes = 10485760
49
+
50
+ [task.constraints]
51
+ quality = [
52
+ { id = "area", type = "functional_bbox_area", layers_from = "outline" },
53
+ ]
54
+
55
+ [[task.constraints.hard]]
56
+ id = "outline"
57
+ type = "bbox_max"
58
+ functional_layers = [
59
+ [
60
+ 5,
61
+ 0,
62
+ ],
63
+ [
64
+ 11,
65
+ 17,
66
+ ],
67
+ [
68
+ 11,
69
+ 39,
70
+ ],
71
+ [
72
+ 12,
73
+ 0,
74
+ ],
75
+ [
76
+ 13,
77
+ 17,
78
+ ],
79
+ [
80
+ 21,
81
+ 0,
82
+ ],
83
+ [
84
+ 22,
85
+ 0,
86
+ ],
87
+ [
88
+ 22,
89
+ 4,
90
+ ],
91
+ [
92
+ 24,
93
+ 0,
94
+ ],
95
+ [
96
+ 24,
97
+ 5,
98
+ ],
99
+ [
100
+ 30,
101
+ 0,
102
+ ],
103
+ [
104
+ 30,
105
+ 4,
106
+ ],
107
+ [
108
+ 31,
109
+ 0,
110
+ ],
111
+ [
112
+ 32,
113
+ 0,
114
+ ],
115
+ [
116
+ 33,
117
+ 0,
118
+ ],
119
+ [
120
+ 34,
121
+ 0,
122
+ ],
123
+ [
124
+ 34,
125
+ 3,
126
+ ],
127
+ [
128
+ 34,
129
+ 4,
130
+ ],
131
+ [
132
+ 34,
133
+ 5,
134
+ ],
135
+ [
136
+ 35,
137
+ 0,
138
+ ],
139
+ [
140
+ 36,
141
+ 0,
142
+ ],
143
+ [
144
+ 36,
145
+ 3,
146
+ ],
147
+ [
148
+ 36,
149
+ 4,
150
+ ],
151
+ [
152
+ 36,
153
+ 5,
154
+ ],
155
+ [
156
+ 37,
157
+ 0,
158
+ ],
159
+ [
160
+ 38,
161
+ 0,
162
+ ],
163
+ [
164
+ 40,
165
+ 0,
166
+ ],
167
+ [
168
+ 41,
169
+ 0,
170
+ ],
171
+ [
172
+ 42,
173
+ 0,
174
+ ],
175
+ [
176
+ 42,
177
+ 3,
178
+ ],
179
+ [
180
+ 42,
181
+ 4,
182
+ ],
183
+ [
184
+ 42,
185
+ 5,
186
+ ],
187
+ [
188
+ 46,
189
+ 0,
190
+ ],
191
+ [
192
+ 46,
193
+ 3,
194
+ ],
195
+ [
196
+ 46,
197
+ 4,
198
+ ],
199
+ [
200
+ 46,
201
+ 5,
202
+ ],
203
+ [
204
+ 49,
205
+ 0,
206
+ ],
207
+ [
208
+ 53,
209
+ 0,
210
+ ],
211
+ [
212
+ 53,
213
+ 3,
214
+ ],
215
+ [
216
+ 53,
217
+ 4,
218
+ ],
219
+ [
220
+ 53,
221
+ 5,
222
+ ],
223
+ [
224
+ 55,
225
+ 0,
226
+ ],
227
+ [
228
+ 62,
229
+ 0,
230
+ ],
231
+ [
232
+ 75,
233
+ 0,
234
+ ],
235
+ [
236
+ 80,
237
+ 5,
238
+ ],
239
+ [
240
+ 81,
241
+ 0,
242
+ ],
243
+ [
244
+ 81,
245
+ 3,
246
+ ],
247
+ [
248
+ 81,
249
+ 4,
250
+ ],
251
+ [
252
+ 81,
253
+ 5,
254
+ ],
255
+ [
256
+ 82,
257
+ 0,
258
+ ],
259
+ [
260
+ 86,
261
+ 17,
262
+ ],
263
+ [
264
+ 88,
265
+ 17,
266
+ ],
267
+ [
268
+ 96,
269
+ 1,
270
+ ],
271
+ [
272
+ 100,
273
+ 5,
274
+ ],
275
+ [
276
+ 100,
277
+ 7,
278
+ ],
279
+ [
280
+ 100,
281
+ 8,
282
+ ],
283
+ [
284
+ 108,
285
+ 5,
286
+ ],
287
+ [
288
+ 110,
289
+ 5,
290
+ ],
291
+ [
292
+ 110,
293
+ 11,
294
+ ],
295
+ [
296
+ 110,
297
+ 12,
298
+ ],
299
+ [
300
+ 110,
301
+ 13,
302
+ ],
303
+ [
304
+ 110,
305
+ 14,
306
+ ],
307
+ [
308
+ 110,
309
+ 15,
310
+ ],
311
+ [
312
+ 110,
313
+ 16,
314
+ ],
315
+ [
316
+ 111,
317
+ 5,
318
+ ],
319
+ [
320
+ 112,
321
+ 1,
322
+ ],
323
+ [
324
+ 115,
325
+ 5,
326
+ ],
327
+ [
328
+ 116,
329
+ 5,
330
+ ],
331
+ [
332
+ 117,
333
+ 5,
334
+ ],
335
+ [
336
+ 117,
337
+ 10,
338
+ ],
339
+ [
340
+ 118,
341
+ 5,
342
+ ],
343
+ [
344
+ 119,
345
+ 5,
346
+ ],
347
+ [
348
+ 122,
349
+ 5,
350
+ ],
351
+ [
352
+ 123,
353
+ 5,
354
+ ],
355
+ [
356
+ 124,
357
+ 5,
358
+ ],
359
+ [
360
+ 125,
361
+ 5,
362
+ ],
363
+ [
364
+ 127,
365
+ 5,
366
+ ],
367
+ [
368
+ 128,
369
+ 17,
370
+ ],
371
+ [
372
+ 137,
373
+ 5,
374
+ ],
375
+ [
376
+ 151,
377
+ 5,
378
+ ],
379
+ [
380
+ 152,
381
+ 5,
382
+ ],
383
+ [
384
+ 153,
385
+ 51,
386
+ ],
387
+ [
388
+ 166,
389
+ 5,
390
+ ],
391
+ [
392
+ 167,
393
+ 5,
394
+ ],
395
+ [
396
+ 173,
397
+ 5,
398
+ ],
399
+ [
400
+ 178,
401
+ 0,
402
+ ],
403
+ [
404
+ 183,
405
+ 0,
406
+ ],
407
+ [
408
+ 184,
409
+ 0,
410
+ ],
411
+ [
412
+ 185,
413
+ 0,
414
+ ],
415
+ [
416
+ 204,
417
+ 0,
418
+ ],
419
+ [
420
+ 210,
421
+ 0,
422
+ ],
423
+ [
424
+ 220,
425
+ 0,
426
+ ],
427
+ [
428
+ 226,
429
+ 0,
430
+ ],
431
+ [
432
+ 227,
433
+ 0,
434
+ ],
435
+ [
436
+ 241,
437
+ 0,
438
+ ],
439
+ ]
440
+ max_width_um = 160
441
+ max_height_um = 160
442
+
443
+ [task.evaluation]
444
+ mode = "post_layout"
445
+
446
+ [[task.evaluation.jobs]]
447
+ id = "artifact"
448
+ stage = "check"
449
+ operation = "layout.artifact"
450
+ gate = "artifact"
451
+
452
+ [task.evaluation.jobs.inputs]
453
+ layout = "candidate"
454
+ task = "task"
455
+
456
+ [[task.evaluation.jobs]]
457
+ id = "drc"
458
+ stage = "check"
459
+ operation = "layout.drc"
460
+ gate = "drc"
461
+ requires = [
462
+ "artifact",
463
+ ]
464
+
465
+ [task.evaluation.jobs.inputs]
466
+ layout = "candidate"
467
+ task = "task"
468
+
469
+ [[task.evaluation.jobs]]
470
+ id = "lvs"
471
+ stage = "check"
472
+ operation = "layout.lvs"
473
+ gate = "lvs"
474
+ requires = [
475
+ "artifact",
476
+ ]
477
+
478
+ [task.evaluation.jobs.inputs]
479
+ layout = "candidate"
480
+ task = "task"
481
+ netlist = "input:netlist"
482
+
483
+ [task.evaluation.jobs.outputs]
484
+ database = "klayout-lvs"
485
+ binding = "json"
486
+
487
+ [[task.evaluation.jobs]]
488
+ id = "geometry"
489
+ stage = "check"
490
+ operation = "layout.geometry"
491
+ gate = "constraint"
492
+ requires = [
493
+ "artifact",
494
+ "drc",
495
+ "lvs",
496
+ ]
497
+
498
+ [task.evaluation.jobs.inputs]
499
+ layout = "candidate"
500
+ task = "task"
501
+ constraints = "input:constraints"
502
+ database = "job:lvs:database"
503
+ binding = "job:lvs:binding"
504
+
505
+ [[task.evaluation.jobs]]
506
+ id = "parasitics"
507
+ stage = "extract"
508
+ operation = "layout.extract_rc"
509
+ requires = [
510
+ "artifact",
511
+ "drc",
512
+ "lvs",
513
+ "geometry",
514
+ ]
515
+
516
+ [task.evaluation.jobs.inputs]
517
+ layout = "candidate"
518
+ task = "task"
519
+
520
+ [task.evaluation.jobs.outputs]
521
+ netlist = "spice"
522
+
523
+ [task.evaluation.jobs.parameters]
524
+ ports = [
525
+ "vin",
526
+ "vout",
527
+ "clk",
528
+ "clkb",
529
+ "vdd",
530
+ "vss",
531
+ ]
532
+
533
+ [[task.evaluation.jobs]]
534
+ id = "nominal"
535
+ stage = "simulate"
536
+ operation = "circuit.simulate"
537
+
538
+ [task.evaluation.jobs.inputs]
539
+ deck = "input:performance"
540
+ dut = "job:parasitics:netlist"
541
+
542
+ [task.evaluation.jobs.outputs]
543
+ waveform = "ngspice-raw"
544
+
545
+ [task.evaluation.jobs.parameters.measurements]
546
+ track_high = "V"
547
+ track_again = "V"
548
+ track_low = "V"
549
+ hold_error_v = "V"
550
+ settle_s = "s"
551
+
552
+ [task.evaluation.jobs.parameters.values]
553
+
554
+ [task.evaluation.jobs.parameters.exports]
555
+ waveform = "waveform.raw"
556
+
557
+ [[task.evaluation.metrics]]
558
+ id = "functional_area"
559
+ category = "physical"
560
+ observations = [
561
+ "geometry:area",
562
+ ]
563
+ unit = "um2"
564
+ direction = "minimize"
565
+ aggregation = "max"
566
+
567
+ [[task.evaluation.metrics]]
568
+ id = "high"
569
+ category = "performance"
570
+ observations = [
571
+ "nominal:track_high",
572
+ "nominal:track_again",
573
+ ]
574
+ unit = "V"
575
+ direction = "maximize"
576
+ aggregation = "min"
577
+ lower = 2.48
578
+ upper = 2.52
579
+
580
+ [[task.evaluation.metrics]]
581
+ id = "low"
582
+ category = "performance"
583
+ observations = [
584
+ "nominal:track_low",
585
+ ]
586
+ unit = "V"
587
+ direction = "maximize"
588
+ aggregation = "min"
589
+ lower = 0.48
590
+ upper = 0.52
591
+
592
+ [[task.evaluation.metrics]]
593
+ id = "hold"
594
+ category = "performance"
595
+ observations = [
596
+ "nominal:hold_error_v",
597
+ ]
598
+ unit = "V"
599
+ direction = "minimize"
600
+ aggregation = "max"
601
+ dimension = "response"
602
+ baseline = [
603
+ "source_nominal:hold_error_v",
604
+ ]
605
+ normalization = "ratio"
606
+ scale = 0.02
607
+ lower = 0
608
+ upper = 3.3
609
+
610
+ [[task.evaluation.metrics]]
611
+ id = "settling"
612
+ category = "performance"
613
+ observations = [
614
+ "nominal:settle_s",
615
+ ]
616
+ unit = "s"
617
+ direction = "minimize"
618
+ aggregation = "min"
619
+ dimension = "response"
620
+ baseline = [
621
+ "source_nominal:settle_s",
622
+ ]
623
+ normalization = "ratio"
624
+ lower = 0
625
+ scale = 1e-15
626
+
627
+ [task.evaluation.scoring]
628
+ method = "layout"
629
+ area_metric = "functional_area"
630
+ area_target = 702.46
631
+ rationale = "Track/hold switches: acquisition 39.4%; hold fidelity 50.6%; area 10%. Each objective's weight is divided equally among its metrics."
632
+
633
+ [task.evaluation.scoring.weights]
634
+ functional_area = 0.1
635
+ settling = 0.39375
636
+ hold = 0.50625
637
+
638
+ [task.evaluation.pre_layout]
639
+ source_report_sha256 = "226b4e1cf76a5bf2e7fd15531853087715beec009c901ae6d2fd68c87c68f287"
640
+
641
+ [task.evaluation.pre_layout.backends]
642
+ "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******\"}"
643
+
644
+ [task.evaluation.pre_layout.jobs.source_nominal]
645
+ operation = "circuit.simulate"
646
+
647
+ [task.evaluation.pre_layout.jobs.source_nominal.inputs]
648
+ deck = "input:performance"
649
+ dut = "input:netlist"
650
+
651
+ [task.evaluation.pre_layout.jobs.source_nominal.outputs]
652
+ waveform = "ngspice-raw"
653
+
654
+ [task.evaluation.pre_layout.jobs.source_nominal.parameters.measurements]
655
+ track_high = "V"
656
+ track_again = "V"
657
+ track_low = "V"
658
+ hold_error_v = "V"
659
+ settle_s = "s"
660
+
661
+ [task.evaluation.pre_layout.jobs.source_nominal.parameters.values]
662
+
663
+ [task.evaluation.pre_layout.jobs.source_nominal.parameters.exports]
664
+ waveform = "waveform.raw"
665
+
666
+ [task.evaluation.pre_layout.jobs.source_nominal.input_sha256]
667
+ deck = "35039b03b178d1954f4a5caf712b05ecf0780f12128b6d0028db9ea9ead924c5"
668
+ dut = "24b64a7a410681352d4ec80b0fead64d6c1987ebd375acde58af33e7832f30dd"
669
+
670
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.hold_error_v]
671
+ value = 0.003106877
672
+ unit = "V"
673
+
674
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.settle_s]
675
+ value = 4.361648e-10
676
+ unit = "s"
677
+
678
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.track_again]
679
+ value = 2.5
680
+ unit = "V"
681
+
682
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.track_high]
683
+ value = 2.5
684
+ unit = "V"
685
+
686
+ [task.evaluation.pre_layout.jobs.source_nominal.measurements.track_low]
687
+ value = 0.5
688
+ unit = "V"
689
+
690
+ [toolchain.backends.artifact]
691
+ type = "klayout-docker"
692
+
693
+ [toolchain.backends.artifact.settings]
694
+ image = "iclayout-bench-tools:local"
695
+ check = "artifact"
696
+ timeout_seconds = 180
697
+
698
+ [toolchain.backends.drc]
699
+ type = "klayout-docker"
700
+
701
+ [toolchain.backends.drc.settings]
702
+ image = "iclayout-bench-tools:local"
703
+ check = "drc"
704
+ timeout_seconds = 180
705
+ support = "build/support/gf180-physical"
706
+ profile = "drc.json"
707
+
708
+ [toolchain.backends.drc.support_profiles]
709
+ support = "physical"
710
+
711
+ [toolchain.backends.lvs]
712
+ type = "klayout-docker"
713
+
714
+ [toolchain.backends.lvs.settings]
715
+ image = "iclayout-bench-tools:local"
716
+ check = "lvs"
717
+ timeout_seconds = 180
718
+ support = "build/support/gf180-physical"
719
+ profile = "lvs.json"
720
+
721
+ [toolchain.backends.lvs.support_profiles]
722
+ support = "physical"
723
+
724
+ [toolchain.backends.geometry]
725
+ type = "klayout-geometry-docker"
726
+
727
+ [toolchain.backends.geometry.settings]
728
+ image = "iclayout-bench-tools:local"
729
+ timeout_seconds = 180
730
+
731
+ [toolchain.backends.rc]
732
+ type = "magic-rc-docker"
733
+
734
+ [toolchain.backends.rc.settings]
735
+ image = "iclayout-bench-tools:local"
736
+ support = "build/support/gf180-magic"
737
+ technology = "gf180mcuD.tech"
738
+ tech_name = "gf180mcuD"
739
+ style = "ngspice()"
740
+ gds_readonly = false
741
+ grid_subdivision = 10
742
+ case_insensitive_ports = true
743
+ timeout_seconds = 240
744
+
745
+ [toolchain.backends.rc.support_profiles]
746
+ support = "magic"
747
+
748
+ [toolchain.backends.ngspice]
749
+ type = "ngspice-docker"
750
+
751
+ [toolchain.backends.ngspice.settings]
752
+ image = "iclayout-bench-tools:local"
753
+ support = "build/support/gf180-models"
754
+ timeout_seconds = 240
755
+
756
+ [toolchain.backends.ngspice.support_profiles]
757
+ support = "models"
758
+
759
+ [toolchain.bindings]
760
+ "layout.artifact" = "artifact"
761
+ "layout.drc" = "drc"
762
+ "layout.lvs" = "lvs"
763
+ "layout.geometry" = "geometry"
764
+ "layout.extract_rc" = "rc"
765
+ "circuit.simulate" = "ngspice"
766
+
767
+ [origin]
768
+ url = "https://github.com/2AMLogic/gf180-sar-adc/tree/c32c8da53e52fbb7d75f6f628b8cc9f6f45a13fc/design/adc-top/adc_top.spice"
769
+
770
+ [qualification]
771
+ reference = "reference/adc_tgate_dum.gds"
772
+
773
+ [presentation]
774
+ category = "Mixed-signal"
775
+ summary = "Tracks an analog input through a transmission gate with dummy compensation."
tasks/gf180mcuD/2AMLogic-sar-adc/cases/track_switch/materials/circuit.spice ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ * Layout-Bench source-library derivative: Xschem wrapper enabled, terminal .end and local path comments removed.
2
+ .subckt adc_tgate_dum vin vout clk clkb vdd vss
3
+ XN vin clk vout vss nfet_03v3 w=40u l=0.28u
4
+ XP vin clkb vout vdd pfet_03v3 w=80u l=0.28u
5
+ XDN vout clkb vout vss nfet_03v3 w=17.5u l=0.28u
6
+ XDP vout clk vout vdd pfet_03v3 w=35u l=0.28u
7
+ .ends adc_tgate_dum
tasks/gf180mcuD/2AMLogic-sar-adc/cases/track_switch/materials/schematic.svg ADDED
tasks/gf180mcuD/2AMLogic-sar-adc/cases/track_switch/materials/testbench.spice ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ * GF180MCU nominal characterization: 3.3 V, 27 C, typical models.
2
+ .include "support/models.spice"
3
+ .include "dut.spice"
4
+ .include "parameters.spice"
5
+ .temp 27
6
+ VDD vdd 0 3.3
7
+ VIN vin 0 PWL(0 .5 5n .5 5.1n 2.5 30n 2.5 30.1n .5 55n .5 55.1n 2.5)
8
+ VCLK clk 0 PWL(0 3.3 20n 3.3 20.1n 0 45n 0 45.1n 3.3)
9
+ VCLKB clkb 0 PWL(0 0 20n 0 20.1n 3.3 45n 3.3 45.1n 0)
10
+ CLOAD out 0 1p
11
+ XDUT vin out clk clkb vdd 0 adc_tgate_dum
12
+ .control
13
+ tran .01n 70n
14
+ meas tran track_high find v(out) at=19n
15
+ meas tran hold_high find v(out) at=44n
16
+ meas tran track_low find v(out) at=54n
17
+ meas tran track_again find v(out) at=69n
18
+ meas tran settle_s trig v(vin) val=1.5 rise=1 targ v(out) val=2.48 rise=1
19
+ let hold_error=abs(v(out)-2.5)
20
+ meas tran hold_error_v max hold_error from=21n to=44n
21
+ write waveform.raw
22
+ quit
23
+ .endc
24
+ .end
tasks/gf180mcuD/2AMLogic-sar-adc/cases/track_switch/problem.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Dummy-Compensated Track Switch Layout Task
2
+
3
+ ## Objective
4
+
5
+ Implement `adc_tgate_dum` in GF180MCU variant D while preserving the supplied circuit, device dimensions and ordered interface. Complementary-clock tracking, settling and hold feedthrough for 0.5 V / 2.5 V steps and a 1 pF output capacitor.
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: `vin, vout, clk, clkb, vdd, vss`.
12
+ vin: signal input; vout: sampled output; clk/clkb: complementary track control; vdd/vss: supply and device body connections.
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 with a 1 pF capacitor from vout to vss. Vin begins at 0.5 V, rises to 2.5 V at 5.1 ns, falls to 0.5 V at 30.1 ns and rises to 2.5 V at 55.1 ns. Track initially (clk=3.3 V, clkb=0 V), hold from 20.1 to 45 ns and resume tracking at 45.1 ns. All transitions take 0.1 ns. Simulate to 70 ns with a 0.01 ns requested step. The four MOS widths are fixed to the upstream default values: 40, 80, 17.5 and 35 um; every channel length is 0.28 um. vss is the explicit form of the original global ground connection.
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 `adc_tgate_dum` and at most 10485760 bytes. Its functional bounding box must not exceed 160 by 160 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
+ ## Electrical Requirements and Scoring
33
+
34
+ Physical checks and declared functional bounds remain mandatory. Quality has no
35
+ fixed allowed-degradation threshold. Each `source_*` job simulates the declared
36
+ source circuit with exactly the same testbench, model resources, parameters,
37
+ load and measurement window as its paired extracted-candidate job. A source
38
+ observation is the 100-point electrical baseline; it is independent of the
39
+ submitted GDS. All individual pairs are retained in the evaluation report.
40
+
41
+ For a post-layout observation x and its source observation b:
42
+
43
+ - Maximize: q = x/b; minimize: q = b/x. When a numerical scale s is declared,
44
+ use (x+s)/(b+s) or its inverse. This handles zero-valued error measurements;
45
+ s is a normalization floor, not an allowed degradation or pass threshold.
46
+ - Amplitude dB: q = 10^((x-b)/20) for maximize, its inverse for minimize.
47
+ - Target: q = 1/(1+abs(x-b)/s), with a declared physical scale s. Signed and
48
+ zero-valued operating points are never divided directly.
49
+
50
+ Scoring uses `layout`. A metric uses its worst paired quality q. The score is
51
+ S = 100 * product(q_i ** w_i), including area quality
52
+ q_area = area_reference / candidate_functional_area. The weights below sum to
53
+ one. Dimensions describe measurements but do not determine their weights.
54
+ Physical or functional rejection scores zero; missing or invalid measurements
55
+ produce an unknown score, including measurements with zero weight.
56
+ Source-equivalent performance at the area reference scores 100; improvements
57
+ can exceed 100. A weight expresses a tradeoff, not a hard acceptance limit.
58
+
59
+ | Metric | Definition / observations | Unit | Quality rule | Functional bounds | Scale |
60
+ | --- | --- | --- | --- | --- | --- |
61
+ | `high` | vout at 19 and 69 ns. | V | functional check | 2.48 … 2.52 | — |
62
+ | `low` | vout at 54 ns, after tracking resumes with vin=0.5 V. | V | functional check | 0.48 … 0.52 | — |
63
+ | `hold` | Maximum absolute vout-2.5 V over 21–44 ns, including the vin transition while the switch is open. | V | minimize / ratio | 0 … 3.3 | 0.02 |
64
+ | `settling` | First vin rising 1.5 V crossing to vout reaching 2.48 V. | s | minimize / ratio | 0 … +∞ | 1e-15 |
65
+
66
+ The tracking checks define a 1% settling-accuracy task: 20 mV is 1% of
67
+ the declared 2 V input step. Both sampled tracking levels must meet that
68
+ accuracy; the settling measurement uses the same high-level boundary.
69
+ This is an explicit sampled acquisition requirement, not a tolerance fitted
70
+ to the reference layout. Hold error remains continuous quality, with q=(source_error+0.02 V)/
71
+ (candidate_error+0.02 V), so reducing absolute error always improves quality.
72
+ The 20 mV floor uses the declared acquisition-accuracy scale and keeps
73
+ near-zero source error well-conditioned; it is not a hold-error pass threshold.
74
+
75
+ Area reference: **702.46 um2**. 4 expanded device instances; sum of device/contact envelopes 411.5400 um2, per-side envelope allowance 1 um, 50% routing allowance and total outer width/height allowance 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.
76
+
77
+ The capability coefficient remains **4**; it is independent of
78
+ the reference-relative task score.
79
+
80
+
81
+ ### Score weights
82
+
83
+ Track/hold switches: acquisition 39.4%; hold fidelity 50.6%; area 10%. Each objective's weight is divided equally among its metrics.
84
+
85
+ | Metric | Weight |
86
+ | --- | ---: |
87
+ | `functional_area` | 0.1 |
88
+ | `settling` | 0.393750000000 |
89
+ | `hold` | 0.506250000000 |
90
+
91
+ ## Tools and Submission
92
+
93
+ Solve budget: **3 hours**.
94
+
95
+ 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.
96
+
97
+ Use a GDS database unit of 0.001 um, as required by the GF180MCU DRC deck.
tasks/gf180mcuD/2AMLogic-sar-adc/cases/track_switch/reference/adc_tgate_dum.gds ADDED
Binary file (61.7 kB). View file
 
tasks/gf180mcuD/Chipathon2023_ADC/LICENSE ADDED
@@ -0,0 +1,231 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
202
+
203
+
204
+ GF180 primitive symbol export expressions in materials/circuit.spice
205
+ ==================================================================
206
+ Copyright 2022 GlobalFoundries PDK Authors. Licensed under Apache-2.0.
207
+ Source: gf180mcu_fd_pr/cells/xschem/symbols; exported MOS geometry expressions.
208
+ # This is the list of GlobalFoundries PDK's significant contributors.
209
+ #
210
+ # This does not necessarily list everyone who has contributed code,
211
+ # especially since many employees of one corporation may be contributing.
212
+ # To see the full list of contributors, see the revision history in
213
+ # source control.
214
+
215
+ # Companies
216
+ Google LLC
217
+ GlobalFoundries
218
+ Efabless Corporation
219
+ Mabrains LLC
220
+
221
+ # Individuals
222
+ tansell@google.com, me@mith.ro (Tim 'mithro' Ansell)
223
+ proppy@google.com (Johan 'proppy' Euphrosine)
224
+ tim@efabless.com (Tim Edwards)
225
+ mkk@efabless.com (Mohamed Kassem)
226
+ stefan.schippers@gmail.com (Stefan Schippers)
227
+ amro_tork@mabrains.com (Amro Tork)
228
+ farag_agoor@mabrains.com (Farag Agoor)
229
+ mohanad_mohamed@mabrains.com (Mohanad Mohammed)
230
+
231
+ The Apache-2.0 license text above also applies to these expressions.
tasks/gf180mcuD/Chipathon2023_ADC/cases/comparator/case.toml ADDED
@@ -0,0 +1,815 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ in_core = false
2
+ kind = "layout_case"
3
+ id = "gf180mcuD.Chipathon2023_ADC.comparator"
4
+ title = "Dynamic Comparator"
5
+ status = "qualified"
6
+
7
+ [[assets]]
8
+ path = "materials/schematic.svg"
9
+ role = "schematic"
10
+ visibility = "maintainer"
11
+ format = "svg"
12
+ sha256 = "220dfa102f1425882ab0057dc450b308072c80b1e2336f0f0ba620de2c092b26"
13
+
14
+ [[assets]]
15
+ path = "reference/comp_20240331.gds"
16
+ role = "reference"
17
+ visibility = "maintainer"
18
+ format = "gds"
19
+ sha256 = "6f48088208f611c25dcb6874006b1ac07903745b48689f025cd6765afd09123e"
20
+
21
+ [task]
22
+ hours = 3
23
+ kind = "netlist_to_gds"
24
+ family = "gf180_comparator"
25
+ coefficient = 6
26
+ environment = "gf180mcuD-typical-rc"
27
+
28
+ [task.inputs.description]
29
+ path = "problem.md"
30
+ format = "text"
31
+ sha256 = "c8272d354198b139b8a76da6e44cd5ef93d95ce452ef413ddfe437e9e7d61d36"
32
+
33
+ [task.inputs.netlist]
34
+ path = "materials/circuit.spice"
35
+ format = "spice"
36
+ sha256 = "0f529f8162a367b1408730f5dee3b06847de139a770fc41be1bd38e92c056e3d"
37
+ subcircuit = "comp_20240331"
38
+
39
+ [task.inputs.performance]
40
+ path = "materials/testbench.spice"
41
+ format = "spice"
42
+ sha256 = "f291cfa28ac8a9c0d85d36712ffbee761dab2793167b829908212de24738b809"
43
+
44
+ [task.output]
45
+ path = "output/final.gds"
46
+ format = "gds"
47
+ top_cell = "comp_20240331"
48
+ max_bytes = 10485760
49
+
50
+ [task.constraints]
51
+ quality = [
52
+ { id = "area", type = "functional_bbox_area", layers_from = "outline" },
53
+ ]
54
+
55
+ [[task.constraints.hard]]
56
+ id = "outline"
57
+ type = "bbox_max"
58
+ functional_layers = [
59
+ [
60
+ 5,
61
+ 0,
62
+ ],
63
+ [
64
+ 11,
65
+ 17,
66
+ ],
67
+ [
68
+ 11,
69
+ 39,
70
+ ],
71
+ [
72
+ 12,
73
+ 0,
74
+ ],
75
+ [
76
+ 13,
77
+ 17,
78
+ ],
79
+ [
80
+ 21,
81
+ 0,
82
+ ],
83
+ [
84
+ 22,
85
+ 0,
86
+ ],
87
+ [
88
+ 22,
89
+ 4,
90
+ ],
91
+ [
92
+ 24,
93
+ 0,
94
+ ],
95
+ [
96
+ 24,
97
+ 5,
98
+ ],
99
+ [
100
+ 30,
101
+ 0,
102
+ ],
103
+ [
104
+ 30,
105
+ 4,
106
+ ],
107
+ [
108
+ 31,
109
+ 0,
110
+ ],
111
+ [
112
+ 32,
113
+ 0,
114
+ ],
115
+ [
116
+ 33,
117
+ 0,
118
+ ],
119
+ [
120
+ 34,
121
+ 0,
122
+ ],
123
+ [
124
+ 34,
125
+ 3,
126
+ ],
127
+ [
128
+ 34,
129
+ 4,
130
+ ],
131
+ [
132
+ 34,
133
+ 5,
134
+ ],
135
+ [
136
+ 35,
137
+ 0,
138
+ ],
139
+ [
140
+ 36,
141
+ 0,
142
+ ],
143
+ [
144
+ 36,
145
+ 3,
146
+ ],
147
+ [
148
+ 36,
149
+ 4,
150
+ ],
151
+ [
152
+ 36,
153
+ 5,
154
+ ],
155
+ [
156
+ 37,
157
+ 0,
158
+ ],
159
+ [
160
+ 38,
161
+ 0,
162
+ ],
163
+ [
164
+ 40,
165
+ 0,
166
+ ],
167
+ [
168
+ 41,
169
+ 0,
170
+ ],
171
+ [
172
+ 42,
173
+ 0,
174
+ ],
175
+ [
176
+ 42,
177
+ 3,
178
+ ],
179
+ [
180
+ 42,
181
+ 4,
182
+ ],
183
+ [
184
+ 42,
185
+ 5,
186
+ ],
187
+ [
188
+ 46,
189
+ 0,
190
+ ],
191
+ [
192
+ 46,
193
+ 3,
194
+ ],
195
+ [
196
+ 46,
197
+ 4,
198
+ ],
199
+ [
200
+ 46,
201
+ 5,
202
+ ],
203
+ [
204
+ 49,
205
+ 0,
206
+ ],
207
+ [
208
+ 53,
209
+ 0,
210
+ ],
211
+ [
212
+ 53,
213
+ 3,
214
+ ],
215
+ [
216
+ 53,
217
+ 4,
218
+ ],
219
+ [
220
+ 53,
221
+ 5,
222
+ ],
223
+ [
224
+ 55,
225
+ 0,
226
+ ],
227
+ [
228
+ 62,
229
+ 0,
230
+ ],
231
+ [
232
+ 75,
233
+ 0,
234
+ ],
235
+ [
236
+ 80,
237
+ 5,
238
+ ],
239
+ [
240
+ 81,
241
+ 0,
242
+ ],
243
+ [
244
+ 81,
245
+ 3,
246
+ ],
247
+ [
248
+ 81,
249
+ 4,
250
+ ],
251
+ [
252
+ 81,
253
+ 5,
254
+ ],
255
+ [
256
+ 82,
257
+ 0,
258
+ ],
259
+ [
260
+ 86,
261
+ 17,
262
+ ],
263
+ [
264
+ 88,
265
+ 17,
266
+ ],
267
+ [
268
+ 96,
269
+ 1,
270
+ ],
271
+ [
272
+ 100,
273
+ 5,
274
+ ],
275
+ [
276
+ 100,
277
+ 7,
278
+ ],
279
+ [
280
+ 100,
281
+ 8,
282
+ ],
283
+ [
284
+ 108,
285
+ 5,
286
+ ],
287
+ [
288
+ 110,
289
+ 5,
290
+ ],
291
+ [
292
+ 110,
293
+ 11,
294
+ ],
295
+ [
296
+ 110,
297
+ 12,
298
+ ],
299
+ [
300
+ 110,
301
+ 13,
302
+ ],
303
+ [
304
+ 110,
305
+ 14,
306
+ ],
307
+ [
308
+ 110,
309
+ 15,
310
+ ],
311
+ [
312
+ 110,
313
+ 16,
314
+ ],
315
+ [
316
+ 111,
317
+ 5,
318
+ ],
319
+ [
320
+ 112,
321
+ 1,
322
+ ],
323
+ [
324
+ 115,
325
+ 5,
326
+ ],
327
+ [
328
+ 116,
329
+ 5,
330
+ ],
331
+ [
332
+ 117,
333
+ 5,
334
+ ],
335
+ [
336
+ 117,
337
+ 10,
338
+ ],
339
+ [
340
+ 118,
341
+ 5,
342
+ ],
343
+ [
344
+ 119,
345
+ 5,
346
+ ],
347
+ [
348
+ 122,
349
+ 5,
350
+ ],
351
+ [
352
+ 123,
353
+ 5,
354
+ ],
355
+ [
356
+ 124,
357
+ 5,
358
+ ],
359
+ [
360
+ 125,
361
+ 5,
362
+ ],
363
+ [
364
+ 127,
365
+ 5,
366
+ ],
367
+ [
368
+ 128,
369
+ 17,
370
+ ],
371
+ [
372
+ 137,
373
+ 5,
374
+ ],
375
+ [
376
+ 151,
377
+ 5,
378
+ ],
379
+ [
380
+ 152,
381
+ 5,
382
+ ],
383
+ [
384
+ 153,
385
+ 51,
386
+ ],
387
+ [
388
+ 166,
389
+ 5,
390
+ ],
391
+ [
392
+ 167,
393
+ 5,
394
+ ],
395
+ [
396
+ 173,
397
+ 5,
398
+ ],
399
+ [
400
+ 178,
401
+ 0,
402
+ ],
403
+ [
404
+ 183,
405
+ 0,
406
+ ],
407
+ [
408
+ 184,
409
+ 0,
410
+ ],
411
+ [
412
+ 185,
413
+ 0,
414
+ ],
415
+ [
416
+ 204,
417
+ 0,
418
+ ],
419
+ [
420
+ 210,
421
+ 0,
422
+ ],
423
+ [
424
+ 220,
425
+ 0,
426
+ ],
427
+ [
428
+ 226,
429
+ 0,
430
+ ],
431
+ [
432
+ 227,
433
+ 0,
434
+ ],
435
+ [
436
+ 241,
437
+ 0,
438
+ ],
439
+ ]
440
+ max_width_um = 200
441
+ max_height_um = 100
442
+
443
+ [task.evaluation]
444
+ mode = "post_layout"
445
+
446
+ [[task.evaluation.jobs]]
447
+ id = "artifact"
448
+ stage = "check"
449
+ operation = "layout.artifact"
450
+ gate = "artifact"
451
+
452
+ [task.evaluation.jobs.inputs]
453
+ layout = "candidate"
454
+ task = "task"
455
+
456
+ [[task.evaluation.jobs]]
457
+ id = "drc"
458
+ stage = "check"
459
+ operation = "layout.drc"
460
+ gate = "drc"
461
+ requires = [
462
+ "artifact",
463
+ ]
464
+
465
+ [task.evaluation.jobs.inputs]
466
+ layout = "candidate"
467
+ task = "task"
468
+
469
+ [[task.evaluation.jobs]]
470
+ id = "lvs"
471
+ stage = "check"
472
+ operation = "layout.lvs"
473
+ gate = "lvs"
474
+ requires = [
475
+ "artifact",
476
+ ]
477
+
478
+ [task.evaluation.jobs.inputs]
479
+ layout = "candidate"
480
+ task = "task"
481
+ netlist = "input:netlist"
482
+
483
+ [task.evaluation.jobs.outputs]
484
+ database = "klayout-lvs"
485
+ binding = "json"
486
+
487
+ [[task.evaluation.jobs]]
488
+ id = "geometry"
489
+ stage = "check"
490
+ operation = "layout.geometry"
491
+ gate = "constraint"
492
+ requires = [
493
+ "artifact",
494
+ "drc",
495
+ "lvs",
496
+ ]
497
+
498
+ [task.evaluation.jobs.inputs]
499
+ layout = "candidate"
500
+ task = "task"
501
+ constraints = "input:constraints"
502
+ database = "job:lvs:database"
503
+ binding = "job:lvs:binding"
504
+
505
+ [[task.evaluation.jobs]]
506
+ id = "parasitics"
507
+ stage = "extract"
508
+ operation = "layout.extract_rc"
509
+ requires = [
510
+ "artifact",
511
+ "drc",
512
+ "lvs",
513
+ "geometry",
514
+ ]
515
+
516
+ [task.evaluation.jobs.inputs]
517
+ layout = "candidate"
518
+ task = "task"
519
+
520
+ [task.evaluation.jobs.outputs]
521
+ netlist = "spice"
522
+
523
+ [task.evaluation.jobs.parameters]
524
+ ports = [
525
+ "VDD",
526
+ "CLK",
527
+ "VOUTP",
528
+ "VOUTN",
529
+ "VINP",
530
+ "VINN",
531
+ "VSS",
532
+ ]
533
+
534
+ [[task.evaluation.jobs]]
535
+ id = "negative"
536
+ stage = "simulate"
537
+ operation = "circuit.simulate"
538
+
539
+ [task.evaluation.jobs.inputs]
540
+ deck = "input:performance"
541
+ dut = "job:parasitics:netlist"
542
+
543
+ [task.evaluation.jobs.outputs]
544
+ waveform = "ngspice-raw"
545
+
546
+ [task.evaluation.jobs.parameters.measurements]
547
+ decision_v = "V"
548
+ delay_s = "s"
549
+ power_w = "W"
550
+
551
+ [task.evaluation.jobs.parameters.values]
552
+ polarity = -1
553
+
554
+ [task.evaluation.jobs.parameters.exports]
555
+ waveform = "waveform.raw"
556
+
557
+ [[task.evaluation.jobs]]
558
+ id = "positive"
559
+ stage = "simulate"
560
+ operation = "circuit.simulate"
561
+
562
+ [task.evaluation.jobs.inputs]
563
+ deck = "input:performance"
564
+ dut = "job:parasitics:netlist"
565
+
566
+ [task.evaluation.jobs.outputs]
567
+ waveform = "ngspice-raw"
568
+
569
+ [task.evaluation.jobs.parameters.measurements]
570
+ decision_v = "V"
571
+ delay_s = "s"
572
+ power_w = "W"
573
+
574
+ [task.evaluation.jobs.parameters.values]
575
+ polarity = 1
576
+
577
+ [task.evaluation.jobs.parameters.exports]
578
+ waveform = "waveform.raw"
579
+
580
+ [[task.evaluation.metrics]]
581
+ id = "functional_area"
582
+ category = "physical"
583
+ observations = [
584
+ "geometry:area",
585
+ ]
586
+ unit = "um2"
587
+ direction = "minimize"
588
+ aggregation = "max"
589
+
590
+ [[task.evaluation.metrics]]
591
+ id = "decision"
592
+ category = "performance"
593
+ observations = [
594
+ "negative:decision_v",
595
+ "positive:decision_v",
596
+ ]
597
+ unit = "V"
598
+ direction = "maximize"
599
+ aggregation = "min"
600
+ lower = 2.97
601
+
602
+ [[task.evaluation.metrics]]
603
+ id = "delay"
604
+ category = "performance"
605
+ observations = [
606
+ "negative:delay_s",
607
+ "positive:delay_s",
608
+ ]
609
+ unit = "s"
610
+ direction = "minimize"
611
+ aggregation = "min"
612
+ dimension = "response"
613
+ baseline = [
614
+ "source_negative:delay_s",
615
+ "source_positive:delay_s",
616
+ ]
617
+ normalization = "ratio"
618
+ lower = 0
619
+
620
+ [[task.evaluation.metrics]]
621
+ id = "supply"
622
+ category = "performance"
623
+ observations = [
624
+ "negative:power_w",
625
+ "positive:power_w",
626
+ ]
627
+ unit = "W"
628
+ direction = "minimize"
629
+ aggregation = "min"
630
+ dimension = "supply"
631
+ baseline = [
632
+ "source_negative:power_w",
633
+ "source_positive:power_w",
634
+ ]
635
+ normalization = "ratio"
636
+ lower = 0
637
+ scale = 1e-12
638
+
639
+ [task.evaluation.scoring]
640
+ method = "layout"
641
+ area_metric = "functional_area"
642
+ area_target = 301.49
643
+ rationale = "Clocked comparators: decision delay 71.1%; supply power 18.9%; area 10%. Each objective's weight is divided equally among its metrics."
644
+
645
+ [task.evaluation.scoring.weights]
646
+ functional_area = 0.1
647
+ delay = 0.710526315789
648
+ supply = 0.189473684211
649
+
650
+ [task.evaluation.pre_layout]
651
+ source_report_sha256 = "45bf5e421a40402e85ad6b594cd1a464d5076efb92c85930110d97c8259bd132"
652
+
653
+ [task.evaluation.pre_layout.backends]
654
+ "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******\"}"
655
+
656
+ [task.evaluation.pre_layout.jobs.source_negative]
657
+ operation = "circuit.simulate"
658
+
659
+ [task.evaluation.pre_layout.jobs.source_negative.inputs]
660
+ deck = "input:performance"
661
+ dut = "input:netlist"
662
+
663
+ [task.evaluation.pre_layout.jobs.source_negative.outputs]
664
+ waveform = "ngspice-raw"
665
+
666
+ [task.evaluation.pre_layout.jobs.source_negative.parameters.measurements]
667
+ decision_v = "V"
668
+ delay_s = "s"
669
+ power_w = "W"
670
+
671
+ [task.evaluation.pre_layout.jobs.source_negative.parameters.values]
672
+ polarity = -1
673
+
674
+ [task.evaluation.pre_layout.jobs.source_negative.parameters.exports]
675
+ waveform = "waveform.raw"
676
+
677
+ [task.evaluation.pre_layout.jobs.source_negative.input_sha256]
678
+ deck = "f291cfa28ac8a9c0d85d36712ffbee761dab2793167b829908212de24738b809"
679
+ dut = "0f529f8162a367b1408730f5dee3b06847de139a770fc41be1bd38e92c056e3d"
680
+
681
+ [task.evaluation.pre_layout.jobs.source_negative.measurements.decision_v]
682
+ value = 3.299999
683
+ unit = "V"
684
+
685
+ [task.evaluation.pre_layout.jobs.source_negative.measurements.delay_s]
686
+ value = 1.228056e-09
687
+ unit = "s"
688
+
689
+ [task.evaluation.pre_layout.jobs.source_negative.measurements.power_w]
690
+ value = 9.475911e-05
691
+ unit = "W"
692
+
693
+ [task.evaluation.pre_layout.jobs.source_positive]
694
+ operation = "circuit.simulate"
695
+
696
+ [task.evaluation.pre_layout.jobs.source_positive.inputs]
697
+ deck = "input:performance"
698
+ dut = "input:netlist"
699
+
700
+ [task.evaluation.pre_layout.jobs.source_positive.outputs]
701
+ waveform = "ngspice-raw"
702
+
703
+ [task.evaluation.pre_layout.jobs.source_positive.parameters.measurements]
704
+ decision_v = "V"
705
+ delay_s = "s"
706
+ power_w = "W"
707
+
708
+ [task.evaluation.pre_layout.jobs.source_positive.parameters.values]
709
+ polarity = 1
710
+
711
+ [task.evaluation.pre_layout.jobs.source_positive.parameters.exports]
712
+ waveform = "waveform.raw"
713
+
714
+ [task.evaluation.pre_layout.jobs.source_positive.input_sha256]
715
+ deck = "f291cfa28ac8a9c0d85d36712ffbee761dab2793167b829908212de24738b809"
716
+ dut = "0f529f8162a367b1408730f5dee3b06847de139a770fc41be1bd38e92c056e3d"
717
+
718
+ [task.evaluation.pre_layout.jobs.source_positive.measurements.decision_v]
719
+ value = 3.299999
720
+ unit = "V"
721
+
722
+ [task.evaluation.pre_layout.jobs.source_positive.measurements.delay_s]
723
+ value = 1.228056e-09
724
+ unit = "s"
725
+
726
+ [task.evaluation.pre_layout.jobs.source_positive.measurements.power_w]
727
+ value = 9.475911e-05
728
+ unit = "W"
729
+
730
+ [toolchain.backends.artifact]
731
+ type = "klayout-docker"
732
+
733
+ [toolchain.backends.artifact.settings]
734
+ image = "iclayout-bench-tools:local"
735
+ check = "artifact"
736
+ timeout_seconds = 180
737
+
738
+ [toolchain.backends.drc]
739
+ type = "klayout-docker"
740
+
741
+ [toolchain.backends.drc.settings]
742
+ image = "iclayout-bench-tools:local"
743
+ check = "drc"
744
+ timeout_seconds = 180
745
+ support = "build/support/gf180-physical"
746
+ profile = "drc.json"
747
+
748
+ [toolchain.backends.drc.support_profiles]
749
+ support = "physical"
750
+
751
+ [toolchain.backends.lvs]
752
+ type = "klayout-docker"
753
+
754
+ [toolchain.backends.lvs.settings]
755
+ image = "iclayout-bench-tools:local"
756
+ check = "lvs"
757
+ timeout_seconds = 180
758
+ support = "build/support/gf180-physical"
759
+ profile = "lvs.json"
760
+
761
+ [toolchain.backends.lvs.support_profiles]
762
+ support = "physical"
763
+
764
+ [toolchain.backends.geometry]
765
+ type = "klayout-geometry-docker"
766
+
767
+ [toolchain.backends.geometry.settings]
768
+ image = "iclayout-bench-tools:local"
769
+ timeout_seconds = 180
770
+
771
+ [toolchain.backends.rc]
772
+ type = "magic-rc-docker"
773
+
774
+ [toolchain.backends.rc.settings]
775
+ image = "iclayout-bench-tools:local"
776
+ support = "build/support/gf180-magic"
777
+ technology = "gf180mcuD.tech"
778
+ tech_name = "gf180mcuD"
779
+ style = "ngspice()"
780
+ gds_readonly = false
781
+ grid_subdivision = 10
782
+ case_insensitive_ports = true
783
+ timeout_seconds = 240
784
+
785
+ [toolchain.backends.rc.support_profiles]
786
+ support = "magic"
787
+
788
+ [toolchain.backends.ngspice]
789
+ type = "ngspice-docker"
790
+
791
+ [toolchain.backends.ngspice.settings]
792
+ image = "iclayout-bench-tools:local"
793
+ support = "build/support/gf180-models"
794
+ timeout_seconds = 240
795
+
796
+ [toolchain.backends.ngspice.support_profiles]
797
+ support = "models"
798
+
799
+ [toolchain.bindings]
800
+ "layout.artifact" = "artifact"
801
+ "layout.drc" = "drc"
802
+ "layout.lvs" = "lvs"
803
+ "layout.geometry" = "geometry"
804
+ "layout.extract_rc" = "rc"
805
+ "circuit.simulate" = "ngspice"
806
+
807
+ [origin]
808
+ url = "https://github.com/ishi-kai/Chipathon2023_ADC/tree/3dce439b2125a9d628e43be40c65cf8fce5d795c/gitefu/comp_20240331/comp_20240331.sch"
809
+
810
+ [qualification]
811
+ reference = "reference/comp_20240331.gds"
812
+
813
+ [presentation]
814
+ category = "Mixed-signal"
815
+ summary = "Compares two input voltages using a clocked regenerative decision."
tasks/gf180mcuD/Chipathon2023_ADC/cases/comparator/materials/circuit.spice ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ * Layout-Bench source-library derivative: Xschem wrapper enabled, terminal .end and local path comments removed.
2
+ .subckt comp_20240331 VDD CLK VOUTP VOUTN VINP VINN VSS
3
+
4
+ *.ipin VDD
5
+ *.ipin CLK
6
+ *.ipin VINP
7
+ *.ipin VINN
8
+ *.ipin VSS
9
+ *.opin VOUTP
10
+ *.opin VOUTN
11
+ XM1 net3 CLK VSS VSS nfet_03v3 L=0.28u W=2.80u nf=1 ad='int((nf+1)/2) * W/nf * 0.18u' as='int((nf+2)/2) * W/nf * 0.18u' pd='2*int((nf+1)/2) * (W/nf + 0.18u)'
12
+ + ps='2*int((nf+2)/2) * (W/nf + 0.18u)' nrd='0.18u / W' nrs='0.18u / W' sa=0 sb=0 sd=0 m=1
13
+ XM2 net1 VINP net3 VSS nfet_03v3 L=0.28u W=2.80u nf=1 ad='int((nf+1)/2) * W/nf * 0.18u' as='int((nf+2)/2) * W/nf * 0.18u' pd='2*int((nf+1)/2) * (W/nf + 0.18u)'
14
+ + ps='2*int((nf+2)/2) * (W/nf + 0.18u)' nrd='0.18u / W' nrs='0.18u / W' sa=0 sb=0 sd=0 m=1
15
+ XM4 net1 CLK VDD VDD pfet_03v3 L=0.28u W=2.80u nf=1 ad='int((nf+1)/2) * W/nf * 0.18u' as='int((nf+2)/2) * W/nf * 0.18u' pd='2*int((nf+1)/2) * (W/nf + 0.18u)'
16
+ + ps='2*int((nf+2)/2) * (W/nf + 0.18u)' nrd='0.18u / W' nrs='0.18u / W' sa=0 sb=0 sd=0 m=1
17
+ XM6 net4 net1 VDD VDD pfet_03v3 L=0.28u W=2.80u nf=1 ad='int((nf+1)/2) * W/nf * 0.18u' as='int((nf+2)/2) * W/nf * 0.18u' pd='2*int((nf+1)/2) * (W/nf + 0.18u)'
18
+ + ps='2*int((nf+2)/2) * (W/nf + 0.18u)' nrd='0.18u / W' nrs='0.18u / W' sa=0 sb=0 sd=0 m=1
19
+ XM7 VOUTP VOUTN net4 VDD pfet_03v3 L=0.28u W=2.80u nf=1 ad='int((nf+1)/2) * W/nf * 0.18u' as='int((nf+2)/2) * W/nf * 0.18u' pd='2*int((nf+1)/2) * (W/nf + 0.18u)'
20
+ + ps='2*int((nf+2)/2) * (W/nf + 0.18u)' nrd='0.18u / W' nrs='0.18u / W' sa=0 sb=0 sd=0 m=1
21
+ XM8 net4 net1 VSS VSS nfet_03v3 L=0.28u W=2.80u nf=1 ad='int((nf+1)/2) * W/nf * 0.18u' as='int((nf+2)/2) * W/nf * 0.18u' pd='2*int((nf+1)/2) * (W/nf + 0.18u)'
22
+ + ps='2*int((nf+2)/2) * (W/nf + 0.18u)' nrd='0.18u / W' nrs='0.18u / W' sa=0 sb=0 sd=0 m=1
23
+ XM9 VOUTP net1 VSS VSS nfet_03v3 L=0.28u W=2.80u nf=1 ad='int((nf+1)/2) * W/nf * 0.18u' as='int((nf+2)/2) * W/nf * 0.18u' pd='2*int((nf+1)/2) * (W/nf + 0.18u)'
24
+ + ps='2*int((nf+2)/2) * (W/nf + 0.18u)' nrd='0.18u / W' nrs='0.18u / W' sa=0 sb=0 sd=0 m=1
25
+ XM10 VOUTP VOUTN VSS VSS nfet_03v3 L=0.28u W=2.80u nf=1 ad='int((nf+1)/2) * W/nf * 0.18u' as='int((nf+2)/2) * W/nf * 0.18u' pd='2*int((nf+1)/2) * (W/nf + 0.18u)'
26
+ + ps='2*int((nf+2)/2) * (W/nf + 0.18u)' nrd='0.18u / W' nrs='0.18u / W' sa=0 sb=0 sd=0 m=1
27
+ XM3 net2 VINN net3 VSS nfet_03v3 L=0.28u W=2.80u nf=1 ad='int((nf+1)/2) * W/nf * 0.18u' as='int((nf+2)/2) * W/nf * 0.18u' pd='2*int((nf+1)/2) * (W/nf + 0.18u)'
28
+ + ps='2*int((nf+2)/2) * (W/nf + 0.18u)' nrd='0.18u / W' nrs='0.18u / W' sa=0 sb=0 sd=0 m=1
29
+ XM5 net2 CLK VDD VDD pfet_03v3 L=0.28u W=2.80u nf=1 ad='int((nf+1)/2) * W/nf * 0.18u' as='int((nf+2)/2) * W/nf * 0.18u' pd='2*int((nf+1)/2) * (W/nf + 0.18u)'
30
+ + ps='2*int((nf+2)/2) * (W/nf + 0.18u)' nrd='0.18u / W' nrs='0.18u / W' sa=0 sb=0 sd=0 m=1
31
+ XM11 net5 net2 VDD VDD pfet_03v3 L=0.28u W=2.80u nf=1 ad='int((nf+1)/2) * W/nf * 0.18u' as='int((nf+2)/2) * W/nf * 0.18u' pd='2*int((nf+1)/2) * (W/nf + 0.18u)'
32
+ + ps='2*int((nf+2)/2) * (W/nf + 0.18u)' nrd='0.18u / W' nrs='0.18u / W' sa=0 sb=0 sd=0 m=1
33
+ XM12 VOUTN VOUTP net5 VDD pfet_03v3 L=0.28u W=2.80u nf=1 ad='int((nf+1)/2) * W/nf * 0.18u' as='int((nf+2)/2) * W/nf * 0.18u' pd='2*int((nf+1)/2) * (W/nf + 0.18u)'
34
+ + ps='2*int((nf+2)/2) * (W/nf + 0.18u)' nrd='0.18u / W' nrs='0.18u / W' sa=0 sb=0 sd=0 m=1
35
+ XM13 net5 net2 VSS VSS nfet_03v3 L=0.28u W=2.80u nf=1 ad='int((nf+1)/2) * W/nf * 0.18u' as='int((nf+2)/2) * W/nf * 0.18u' pd='2*int((nf+1)/2) * (W/nf + 0.18u)'
36
+ + ps='2*int((nf+2)/2) * (W/nf + 0.18u)' nrd='0.18u / W' nrs='0.18u / W' sa=0 sb=0 sd=0 m=1
37
+ XM14 VOUTN net2 VSS VSS nfet_03v3 L=0.28u W=2.80u nf=1 ad='int((nf+1)/2) * W/nf * 0.18u' as='int((nf+2)/2) * W/nf * 0.18u' pd='2*int((nf+1)/2) * (W/nf + 0.18u)'
38
+ + ps='2*int((nf+2)/2) * (W/nf + 0.18u)' nrd='0.18u / W' nrs='0.18u / W' sa=0 sb=0 sd=0 m=1
39
+ XM15 VOUTN VOUTP VSS VSS nfet_03v3 L=0.28u W=2.80u nf=1 ad='int((nf+1)/2) * W/nf * 0.18u' as='int((nf+2)/2) * W/nf * 0.18u' pd='2*int((nf+1)/2) * (W/nf + 0.18u)'
40
+ + ps='2*int((nf+2)/2) * (W/nf + 0.18u)' nrd='0.18u / W' nrs='0.18u / W' sa=0 sb=0 sd=0 m=1
41
+ .ends