kind = "layout_case" id = "freepdk45.OpenRAM.write_driver" title = "Complementary SRAM Write Driver" status = "qualified" in_core = true core_order = 12 [task] hours = 1 kind = "netlist_to_gds" family = "freepdk45_write_driver" coefficient = 3 environment = "freepdk45-nominal-predictive-rc" [task.inputs.description] path = "problem.md" format = "text" sha256 = "ab0fb48829e03e4044282974fcb1f013815288095f19e61a2f7ae8ed794ecafb" [task.inputs.netlist] path = "materials/circuit.spice" format = "spice" subcircuit = "write_driver" sha256 = "40cf5d0d27b138b06a7b6b0bbdffefbf6a0569fae6092f1fd6d64c5501a952b4" [task.inputs.performance] path = "materials/testbench.spice" format = "spice" sha256 = "19a9877fbcf0ba3dd24ac064665d1f0badc540fea356e02e9f7ec9a0a3ad74a7" [task.inputs.ngspice_startup] path = "materials/ngspice.spiceinit" format = "text" sha256 = "2ef8c1ce0b4d65b62053c99e75b2bad1d1158582c6ca6cfc19b1e255c84ecfbc" [task.constraints] quality = [ { id = "area", type = "functional_bbox_area", layers_from = "outline" }, ] [[task.constraints.hard]] id = "outline" type = "bbox_max" functional_layers = [ [ 1, 0, ], [ 2, 0, ], [ 3, 0, ], [ 4, 0, ], [ 5, 0, ], [ 6, 0, ], [ 7, 0, ], [ 8, 0, ], [ 9, 0, ], [ 10, 0, ], [ 11, 0, ], [ 12, 0, ], [ 13, 0, ], [ 14, 0, ], [ 15, 0, ], [ 16, 0, ], [ 17, 0, ], [ 18, 0, ], [ 19, 0, ], [ 20, 0, ], [ 21, 0, ], [ 22, 0, ], [ 23, 0, ], [ 24, 0, ], [ 25, 0, ], [ 26, 0, ], [ 27, 0, ], [ 28, 0, ], [ 29, 0, ], ] max_width_um = 100 max_height_um = 100 [task.output] path = "output/final.gds" format = "gds" top_cell = "write_driver" max_bytes = 10485760 [task.evaluation] mode = "post_layout" [[task.evaluation.jobs]] id = "artifact" stage = "check" operation = "layout.artifact" gate = "artifact" [task.evaluation.jobs.inputs] layout = "candidate" task = "task" [[task.evaluation.jobs]] id = "drc" stage = "check" operation = "layout.drc" gate = "drc" [task.evaluation.jobs.inputs] layout = "candidate" task = "task" [[task.evaluation.jobs]] id = "lvs" stage = "check" operation = "layout.lvs" gate = "lvs" [task.evaluation.jobs.inputs] layout = "candidate" task = "task" netlist = "input:netlist" [task.evaluation.jobs.outputs] database = "klayout-lvs" binding = "json" [[task.evaluation.jobs]] id = "geometry" stage = "check" operation = "layout.geometry" gate = "constraint" requires = [ "artifact", "drc", "lvs", ] [task.evaluation.jobs.inputs] layout = "candidate" task = "task" constraints = "input:constraints" database = "job:lvs:database" binding = "job:lvs:binding" [[task.evaluation.jobs]] id = "parasitics" stage = "extract" operation = "layout.extract_rc" requires = [ "artifact", "drc", "lvs", "geometry", ] [task.evaluation.jobs.inputs] layout = "candidate" task = "task" [task.evaluation.jobs.outputs] netlist = "spice" [task.evaluation.jobs.parameters] ports = [ "din", "bl", "br", "wen", "vdd", "gnd", ] [[task.evaluation.jobs]] id = "nominal" stage = "simulate" operation = "circuit.simulate" [task.evaluation.jobs.inputs] startup = "input:ngspice_startup" deck = "input:performance" dut = "job:parasitics:netlist" [task.evaluation.jobs.outputs] waveform = "ngspice-raw" [task.evaluation.jobs.parameters.exports] waveform = "waveform.raw" [task.evaluation.jobs.parameters.measurements] bl_low = "V" br_high = "V" bl_high = "V" br_low = "V" z_bl = "V" z_br = "V" supply = "W" data_delay_bl = "s" data_delay_br = "s" data_delay_fall_bl = "s" data_delay_fall_br = "s" [[task.evaluation.metrics]] id = "functional_area" category = "physical" observations = [ "geometry:area", ] unit = "um2" direction = "minimize" aggregation = "max" [[task.evaluation.metrics]] id = "bl_low" category = "performance" observations = [ "nominal:bl_low", ] unit = "V" direction = "minimize" aggregation = "max" [task.evaluation.metrics.requirement] upper = 0.1 rationale = "The declared truth-table, SRAM sense or polarity-correct comparator output must reach its stated CMOS logic level at every functional sample under the fixed supply and load." [[task.evaluation.metrics]] id = "br_high" category = "performance" observations = [ "nominal:br_high", ] unit = "V" direction = "maximize" aggregation = "min" [task.evaluation.metrics.requirement] lower = 0.9 rationale = "The declared truth-table, SRAM sense or polarity-correct comparator output must reach its stated CMOS logic level at every functional sample under the fixed supply and load." [[task.evaluation.metrics]] id = "bl_high" category = "performance" observations = [ "nominal:bl_high", ] unit = "V" direction = "maximize" aggregation = "min" [task.evaluation.metrics.requirement] lower = 0.9 rationale = "The declared truth-table, SRAM sense or polarity-correct comparator output must reach its stated CMOS logic level at every functional sample under the fixed supply and load." [[task.evaluation.metrics]] id = "br_low" category = "performance" observations = [ "nominal:br_low", ] unit = "V" direction = "minimize" aggregation = "max" [task.evaluation.metrics.requirement] upper = 0.1 rationale = "The declared truth-table, SRAM sense or polarity-correct comparator output must reach its stated CMOS logic level at every functional sample under the fixed supply and load." [[task.evaluation.metrics]] id = "z_bl" category = "performance" observations = [ "nominal:z_bl", ] unit = "V" direction = "target" aggregation = "max" [task.evaluation.metrics.requirement] lower = 0.45 upper = 0.55 rationale = "With the write driver disabled, both outputs must return to the 0.5 V passive load midpoint within 50 mV; this tests the required high-impedance state rather than driven logic." [[task.evaluation.metrics]] id = "z_br" category = "performance" observations = [ "nominal:z_br", ] unit = "V" direction = "target" aggregation = "max" [task.evaluation.metrics.requirement] lower = 0.45 upper = 0.55 rationale = "With the write driver disabled, both outputs must return to the 0.5 V passive load midpoint within 50 mV; this tests the required high-impedance state rather than driven logic." [[task.evaluation.metrics]] id = "supply" category = "performance" observations = [ "nominal:supply", ] unit = "W" direction = "minimize" aggregation = "max" dimension = "supply" baseline = [ "source_nominal:supply", ] normalization = "ratio" scale = 1e-12 [task.evaluation.metrics.requirement] lower = 0 rationale = "The declared powered circuit must consume nonnegative net energy from its supplies and driven references over the stated observation; power magnitude remains a quality objective." [[task.evaluation.metrics]] id = "data_delay" category = "performance" observations = [ "nominal:data_delay_bl", "nominal:data_delay_br", "nominal:data_delay_fall_bl", "nominal:data_delay_fall_br", ] baseline = [ "source_nominal:data_delay_bl", "source_nominal:data_delay_br", "source_nominal:data_delay_fall_bl", "source_nominal:data_delay_fall_br", ] unit = "s" direction = "minimize" aggregation = "max" dimension = "response" normalization = "ratio" [task.evaluation.metrics.requirement] lower = 0.0 rationale = "The declared ordered-event interval or crossing frequency has a nonnegative measurement domain, and its crossing must exist for a usable observation." [task.evaluation.metrics.quality_target] value = 7e-11 rationale = "Complete every enabled data-to-bitline transition within 70 ps under the declared 10 fF and 100 kohm loads." [task.evaluation.scoring] method = "layout" area_metric = "functional_area" area_target = 1.8 rationale = "The 1.8 um2 area goal rewards sharing in the two complementary tristate branches, without changing their 12 transistors. Data delay carries 70%, area 20% and supply power 10%. The worst source-paired loaded transition receives the complete timing weight. The 70 ps engineering timing goal and disabled high-impedance checks remain unchanged." [task.evaluation.scoring.weights] functional_area = 0.2 data_delay = 0.7 supply = 0.1 [task.evaluation.pre_layout] source_report_sha256 = "ee7456186ea8414e431cc12afb1c29503316c8e161645a19c80a566866d8735d" [task.evaluation.pre_layout.backends] "circuit.simulate" = "{\"adapter\": \"ngspice-docker\", \"adapter_sha256\": \"b31d9cd1eefc0739b5ca5d9de5b495674b1f0581e8bc61db6a8b372897a0ec20\", \"compatibility\": null, \"cpu_budget\": 8, \"executable_workspace\": false, \"execution_sha256\": \"7f6228054295b3b6f8c13b457ac41ed7e6fb868cff93c76b928402aab17ed48e\", \"image_id\": \"sha256:a280e1c61fcf6e950f3585fedd83fabcfaa4e295a5c8f58e4543d2e7d5a6c207\", \"limits\": {\"cpus\": null, \"memory_mb\": null, \"pids\": null}, \"max_parallel_jobs\": 8, \"resistor_formulation\": \"conductance\", \"retry_policy\": {\"backoff_seconds\": 1, \"max_attempts\": 3, \"max_backoff_seconds\": 2}, \"support_sha256\": \"25c7f76fc1800bcafca34c2e69f6f460e276849eb7d43893748b0303283b7f2f\", \"thread_environment\": {\"OMP_NUM_THREADS\": \"1\", \"OMP_THREAD_LIMIT\": \"1\"}, \"threads\": 1, \"timeout_seconds\": 120.0, \"tool_version\": \"******\\n** ngspice-47 : Circuit level simulation program\\n** Compiled with KLU Direct Linear Solver\\n** The U. C. Berkeley CAD Group\\n** Copyright 1985-1994, Regents of the University of California.\\n** Copyright 2001-2026, The ngspice team.\\n** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html\\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\\n** Creation Date: Fri Nov 13 02:32:42 UTC 2026\\n******\"}" [task.evaluation.pre_layout.jobs.source_nominal] operation = "circuit.simulate" [task.evaluation.pre_layout.jobs.source_nominal.inputs] startup = "input:ngspice_startup" deck = "input:performance" dut = "input:netlist" [task.evaluation.pre_layout.jobs.source_nominal.outputs] waveform = "ngspice-raw" [task.evaluation.pre_layout.jobs.source_nominal.parameters.exports] waveform = "waveform.raw" [task.evaluation.pre_layout.jobs.source_nominal.parameters.measurements] bl_low = "V" br_high = "V" bl_high = "V" br_low = "V" z_bl = "V" z_br = "V" supply = "W" data_delay_bl = "s" data_delay_br = "s" data_delay_fall_bl = "s" data_delay_fall_br = "s" [task.evaluation.pre_layout.jobs.source_nominal.input_sha256] startup = "2ef8c1ce0b4d65b62053c99e75b2bad1d1158582c6ca6cfc19b1e255c84ecfbc" deck = "19a9877fbcf0ba3dd24ac064665d1f0badc540fea356e02e9f7ec9a0a3ad74a7" dut = "40cf5d0d27b138b06a7b6b0bbdffefbf6a0569fae6092f1fd6d64c5501a952b4" [task.evaluation.pre_layout.jobs.source_nominal.measurements.bl_high] value = 0.986067 unit = "V" [task.evaluation.pre_layout.jobs.source_nominal.measurements.bl_low] value = 0.0150365 unit = "V" [task.evaluation.pre_layout.jobs.source_nominal.measurements.br_high] value = 0.988626 unit = "V" [task.evaluation.pre_layout.jobs.source_nominal.measurements.br_low] value = 0.0267076 unit = "V" [task.evaluation.pre_layout.jobs.source_nominal.measurements.data_delay_bl] value = 5.40899e-11 unit = "s" [task.evaluation.pre_layout.jobs.source_nominal.measurements.data_delay_br] value = 6.29462e-11 unit = "s" [task.evaluation.pre_layout.jobs.source_nominal.measurements.data_delay_fall_bl] value = 6.78364e-11 unit = "s" [task.evaluation.pre_layout.jobs.source_nominal.measurements.data_delay_fall_br] value = 4.74972e-11 unit = "s" [task.evaluation.pre_layout.jobs.source_nominal.measurements.supply] value = 2.17428e-05 unit = "W" [task.evaluation.pre_layout.jobs.source_nominal.measurements.z_bl] value = 0.501559 unit = "V" [task.evaluation.pre_layout.jobs.source_nominal.measurements.z_br] value = 0.50235 unit = "V" [toolchain.backends.artifact] type = "klayout-docker" [toolchain.backends.artifact.settings] image = "iclayout-eda-open:local" check = "artifact" timeout_seconds = 120 [toolchain.backends.drc] from_pdk = "drc" [toolchain.backends.lvs] from_pdk = "lvs" [toolchain.backends.geometry] type = "klayout-geometry-docker" [toolchain.backends.geometry.settings] image = "iclayout-eda-open:local" timeout_seconds = 60 [toolchain.backends.rc] type = "magic-rc-docker" [toolchain.backends.rc.settings] gds_ignore_layers = [ [ 6, 0, ], [ 7, 0, ], [ 8, 0, ], [ 230, 0, ], [ 239, 0, ], ] image = "iclayout-eda-open:local" support = "magic-vtg" technology = "freepdk45.tech" tech_name = "freepdk45" style = "spice3(sim)" gds_readonly = false case_insensitive_ports = true label_layers = [ [ 9, 0, ], [ 11, 0, ], [ 13, 0, ], [ 15, 0, ], [ 17, 0, ], [ 19, 0, ], [ 21, 0, ], [ 23, 0, ], [ 25, 0, ], [ 27, 0, ], [ 29, 0, ], ] timeout_seconds = 120 [toolchain.backends.rc.support_profiles] support = "magic-vtg" [toolchain.backends.ngspice] type = "ngspice-docker" [toolchain.backends.ngspice.settings] max_parallel_jobs = 8 threads = 1 cpu_budget = 8 image = "iclayout-eda-open:local" support = "models" timeout_seconds = 120 [toolchain.backends.ngspice.support_profiles] support = "models" [toolchain.bindings] "layout.artifact" = "artifact" "layout.drc" = "drc" "layout.lvs" = "lvs" "layout.geometry" = "geometry" "layout.extract_rc" = "rc" "circuit.simulate" = "ngspice" [origin] url = "https://github.com/ferdous313/OpenRAM/blob/420a33e731d7d80bf9c7cd54ffbeec3603259847/technology/freepdk45/sp_lib/write_driver.sp" [presentation] category = "Logic & memory" summary = "Drives complementary bitlines during a write and releases them when disabled."