Skip to content

analog: netlist block class and picture plan (Wave B of #13650) #13665

Closed

Description

@gHashTag

Wave B of the netlist-to-T27F constructor: give every census block one class by rule, and one picture plan per class in the netlist token kinds. Refs #13650.

The census (Wave A) lists 17 blocks and 247 element lines for the reference deck (external, pinned by hash). Two specs build on it. The meaning spec maps five counts of a census row (pins, instances, MOS, MIM, passives) to one of six classes, never reading the block name. The structure spec maps a class to its frame kind, the item kinds its body shows, whether the body folds into one counted box, and the inference label of each part.

Measured on the 17 rows: 1 top, 6 leaf, 1 array, 5 composite, 4 mixed; 0 element lines left undrawn; 185 body items with the array folded.

Not in scope: pixels, layout, nets and pins, function naming, other decks.

Boundary

  • specs/analog/netlist_meaning.t27
  • specs/analog/netlist_structure.t27

User Scenarios

  • Given a census row of a block, when the meaning rule reads its five counts, then the block gets exactly one of six classes and the block name is never read.
  • Given a classified block, when the structure table is read, then every element line of the block is drawn as an exact item or inside one folded box.

Requirements

  • FR-001: The class of a block MUST come from its census counts by one rule, first match wins.
  • FR-002: The picture plan MUST use only the token kinds and labels of the netlist token schema.
  • FR-003: The plan MUST leave 0 element lines of the reference deck undrawn.
  • FR-004: A class frame MUST be labelled derived and a body item exact; an empty block MUST be a refusal labelled unknown.

Success Criteria

  • 17 blocks classified, 0 blocks without a class, 0 lines undrawn.
  • The lab run of both specs ends with exit 0 and reports blocked=0 for each.

Activity

  1. gHashTag commented on Nov 14, 2026

    @gHashTag
    CollaboratorAuthor

    Wave B evidence.

  2. gHashTag commented on Nov 17, 2026

    @gHashTag
    CollaboratorAuthor

    Spec created: specs/t27os/analog_netlist.t27 (typecheck OK, 1 test passes).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions