Skip to content

analog M3c-3: PSP103 charge tables for ff, fs, sf and the gate charge in a circuit #10882

Closed

Description

@gHashTag

Goal

The rest of the charge tables of #10777 (M3c of #10486): the drain and gate charge of the IHP SG13G2 sg13_lv_nmos / sg13_lv_pmos for the corners ff, fs and sf (tt and ss are in the charge PR), and the gate charge in a circuit that has a gate node. The charge decks of M3c (psp103_q_tt.cir, psp103_q_ss.cir) differ only in the title and the .lib section, so the other three are the same deck; the cost is the 4 x 625 words per corner in mos_psp103_data.t27.

Why: the whole-converter slice (M4e, PR #10854) needs the gate charge of the comparator input devices, where the node's own capacitance is a few fF and a gate edge is a jump of charge; the corners decide the sweep over process.

Boundary

  • specs/analog/mos_psp103_data.t27
  • specs/analog/mos_psp103.t27
  • specs/analog/decks/psp103_q_ff.cir
  • specs/analog/decks/psp103_q_fs.cir
  • specs/analog/decks/psp103_q_sf.cir

Scenarios

  • Given the ff, fs and sf charge tables, when the 500 fF inverter runs the 400 steps against the ngspice backward Euler run of the same corner, then both 50 percent delays are within 1 percent.
  • Given the fs charge tables loaded into the sf run, when compared with ngspice sf, then the check fails (negative control).
  • Given the gate charge tables, when a circuit with an internal gate node (a MOS gate loaded by a MOS drain) runs, then the gate node's waveform is within 1 percent of the supply of ngspice backward Euler on the same grid.

Requirements

  • FR-001: Every charge table MUST name the PDK commit, the corner, W, L, the temperature and the grid, and MUST come from one ngspice deck run that also prints the current tables, byte for byte.
  • FR-002: A capacitance MUST be read off the same table as the charge it is the derivative of.
  • FR-003: The reader MUST stay exact-integer and unsigned words, with no float on the board path.

Success Criteria

  • t27c test-report specs/analog/mos_psp103.t27 exits 0 with 0 vacuous passes.
  • ff, fs and sf: tpLH and tpHL of the 500 fF inverter within 1 percent of ngspice backward Euler of the same corner.
  • specs/analog/decks/psp103_q_ff.cir, specs/analog/decks/psp103_q_fs.cir and specs/analog/decks/psp103_q_sf.cir regenerate the pasted arrays byte for byte.
  • python3 -I tools/dupe_scan.py reports 0 new duplicate bodies.

Part of #10777
Part of #10486

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions