flow "Netlist" v1.0
# Kireth Research — Semantic Library / Engineering Entities
# Original semantic Flow Algebra representation; source page content not independently verified.
IDENTITY:
id: engineering.circuit_and_pcb.netlist
name: "Netlist"
type: "EngineeringInformationEntity"
domain: [electrical_engineering, electronics, circuit_design, pcb_design]
definition: "A structured description of components, their terminals and the electrical nets connecting those terminals."
representation: [schematic_netlist, pcb_netlist, simulation_netlist]
AUTHORS:
research: "Kireth Research"
collaboration: "Sky — Recursive AI"
licence: "Open Research Licence; attribution and citation required"
SOURCE:
canonical_url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/circuit-and-pcb-entities/netlist-ontology.html"
source_status: "URL supplied by user; this flow is newly constructed, not a verified transcription"
citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/circuit-and-pcb-entities/netlist-ontology.html"
PURPOSE:
- Express logical electrical connectivity independently of visual schematic layout.
- Enable circuit simulation, electrical rule checking, PCB layout and design comparison.
- Preserve component references, pin identities, net identities and source provenance.
- Detect open connections, shorts, conflicting net assignments and mapping inconsistencies.
STATE_MODEL:
S_t = (I_t, R_t, B_t, K_t)
I_t: "Netlist input: component instances, pins, nets, attributes and hierarchy"
R_t: "Connectivity rules, electrical constraints and transformations"
B_t: "Scope, design boundaries, library mappings and accepted tolerances"
K_t: "Known topology, validated references, evidence and revision history"
E_t = expand(I_t, R_t)
V_t = {x in E_t | valid(x, B_t, K_t)}
x_star = argmax_x P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x_star, evidence_t)
termination: "No unresolved blocking errors, or explicit stop with diagnostic report"
ENTITIES:
Netlist:
attributes: [identifier, format, revision, source_design, hierarchy, generation_time]
contains: [ComponentInstance, Terminal, Net, Connection, Constraint]
ComponentInstance:
attributes: [reference_designator, library_id, value, footprint, variant, population_status]
relationships: [has_terminal, assigned_footprint, belongs_to_sheet]
Terminal:
attributes: [component_reference, pin_number, pin_name, electrical_type, physical_pad]
relationships: [belongs_to_component, member_of_net]
Net:
attributes: [net_id, name, net_class, voltage_domain, reference_status]
relationships: [connects_terminal, has_constraint, crosses_hierarchy]
Connection:
attributes: [terminal_id, net_id, evidence_source, confidence]
uniqueness: "A terminal has at most one resolved electrical net in a given design variant"
Constraint:
types: [power_domain, isolation, differential_pair, impedance, clearance, current, net_tie]
HierarchicalPort:
attributes: [sheet_path, port_name, direction, global_or_local_scope]
ValidationFinding:
attributes: [rule_id, severity, affected_entities, evidence, disposition]
DesignRevision:
attributes: [revision_id, parent_revision, changeset, author, timestamp]
PATHWAYS:
ingest:
input: [schematic_export, CAD_netlist, SPICE_deck, interchange_format]
steps: [detect_format, parse_records, preserve_source_identifiers, record_provenance]
output: "Parsed netlist graph or explicit parse errors"
normalise:
steps: [canonicalise_component_refs, resolve_pin_aliases, resolve_net_names, expand_hierarchy]
invariant: "Canonicalisation must not silently merge distinct electrical nets"
construct_graph:
steps: [create_component_vertices, create_terminal_vertices, create_net_vertices, add_membership_edges]
model: "Bipartite connectivity between terminals and nets, with component ownership edges"
validate:
steps: [check_reference_uniqueness, check_pin_existence, check_net_membership, check_power_conflicts, check_unconnected_pins]
output: [errors, warnings, informational_findings]
transform:
operations: [flatten_hierarchy, extract_subcircuit, map_footprints, export_simulation, export_pcb]
precondition: "Preserve pin-to-net mapping and document any intentional exceptions"
compare:
steps: [align_components, align_pin_mappings, compare_net_partitions, report_differences]
output: [added_components, removed_components, changed_connections, renamed_nets]
verify:
steps: [run_erc, compare_schematic_to_pcb, validate_against_design_intent, approve_revision]
MINI_RECURSION_ENGINE:
initialise: "Load a netlist and applicable design rules"
observe: "Find the highest-severity unresolved topology or mapping discrepancy"
expand: "Inspect adjacent nets, terminals, component properties and source evidence"
evaluate: "Rank possible interpretations without changing original evidence"
apply: "Propose a minimal, reversible correction or flag for human review"
revalidate: "Rerun affected connectivity and electrical rules"
stop_when: [no_blocking_findings, review_required, iteration_limit_reached]
max_iterations: 32
safeguard: "Never auto-approve an electrically consequential connectivity change"
INFERENCE_RULES:
- id: NET-001
if: "Two terminals belong to the same resolved net"
then: "They are logically connected in the ideal netlist topology"
caveat: "Physical continuity, parasitics and assembly quality are not guaranteed"
- id: NET-002
if: "One terminal is assigned to two distinct nets in the same resolved variant"
then: "Report a contradictory terminal-to-net mapping"
- id: NET-003
if: "A referenced component pin is absent from the selected library definition"
then: "Report a pin-mapping or library mismatch"
- id: NET-004
if: "A required input or power terminal has no net connection"
then: "Report an unconnected-pin finding subject to pin-type and no-connect exceptions"
- id: NET-005
if: "Incompatible power-output drivers share one net"
then: "Flag a possible electrical contention condition for review"
- id: NET-006
if: "A net crosses hierarchical boundaries without a valid port or global-net rule"
then: "Flag unresolved hierarchical connectivity"
- id: NET-007
if: "PCB pad-to-net assignments differ from the approved schematic netlist"
then: "Report a schematic-to-layout connectivity mismatch"
- id: NET-008
if: "Two netlists have identical terminal partitions after approved alias resolution"
then: "Classify them as connectivity-equivalent, not necessarily behaviourally equivalent"
- id: NET-009
if: "An intentional net-tie or zero-ohm link joins otherwise separate nets"
then: "Preserve the distinct net identities and represent the joining component explicitly"
- id: NET-010
if: "A design revision changes component pin numbering or footprint mapping"
then: "Require renewed pin-to-pad and PCB connectivity verification"
ENGINEERING_CONSTRAINTS:
topology: "Electrical nets are sets of connected terminals; net names are labels, not proof of physical continuity"
kirchhoff: "Circuit analyses may apply KCL at nodes, subject to their modelling assumptions"
pin_mapping: "Logical pin identifiers must map to physical footprint pads through verified library data"
isolation: "Separate safety and voltage domains unless an approved interface explicitly connects them"
physical_reality: "Track resistance, via reliability, creepage, clearance and EMC require PCB-level evidence"
simulation: "Ideal netlist connectivity alone does not establish real-world circuit behaviour"
traceability: "Every inferred or repaired connection must retain provenance and revision history"
CONFIDENCE:
source_alignment: "Unverified until compared against the live ontology page"
levels:
high: "Explicit component-pin-to-net association confirmed by trusted source and library"
medium: "Association derived through documented hierarchy or alias mapping"
low: "Ambiguous names, missing library data or inferred connections without corroboration"
downgrade_on: [unresolved_hierarchy, missing_pins, ambiguous_net_aliases, conflicting_sources]
require_human_review_for: [power_conflict, isolation_change, pin_swap, footprint_change, net_merge]
SEMANTIC_EQUIVALENCE:
synonyms: [electrical_netlist, circuit_connectivity_list, schematic_netlist]
related_not_identical: [circuit_schematic, wiring_diagram, pcb_layout, bill_of_materials]
equivalence_test: "Compare canonical component-terminal-to-net incidence, with explicit variant and hierarchy rules"
non_equivalence: "Matching net names or drawing appearance alone does not establish matching connectivity"
FLOW_HASH:
method: "SHA-256 over canonical serialisation of this flow's substantive fields"
value: "COMPUTE_ON_PUBLICATION"
note: "A stable hash requires agreed canonicalisation and final published content"
UPDATE_MODEL:
version: "1.0"
update_triggers: [source_ontology_revision, library_change, netlist_format_change, validation_rule_change]
process: [capture_change, validate_mapping, rerun_rules, compare_revisions, publish_with_citation]
backward_compatibility: "Preserve stable identifiers where semantics remain unchanged"
review_policy: "Electrical and safety-related changes require competent engineering review"
END_FLOW
Download Code
Copy to Clipboard