Corpus / Design rules

Every documented diagram, checked

`verifyNetlist` runs over every `schemd` fence in the documentation. The rules are the compiler's own, so what passes here is what passes in your build.

Diagrams
57
Clean
54
Errors
0
Warnings
1
Notes
2
Demonstrations
12

Which rules fired

  • disconnected-subcircuit The diagram contains more than one independent connected group. 3 ok
  • unconnected-component A declared component takes part in no connection. 1 warn
View as table
How many documented diagrams each design rule fired on, by severity.
CategorydiagramsShare
disconnected-subcircuit375.0%
unconnected-component125.0%

Deliberate demonstrations

Pages that teach a rule must break it. These diagrams declare the diagnostics they expect, so they never masquerade as defects.

  • Five further variants component-reference

    • expected unconnected-component Component RH7 takes part in no connection.
    • expected unconnected-component Component CV7 takes part in no connection.
    • expected unconnected-component Component TX7 takes part in no connection.
    • expected unconnected-component Component DV7 takes part in no connection.
    • expected unconnected-component Component QG7 takes part in no connection.
    • expected disconnected-subcircuit The diagram contains 5 independent connected groups.
  • Four-lane reversal bus grammar

    • expected disconnected-subcircuit The diagram contains 4 independent connected groups.
  • A corridor with a budget limits

    • expected unconnected-component Component PACK takes part in no connection.
    • expected disconnected-subcircuit The diagram contains 2 independent connected groups.
  • Power and sense on one sheet limits

    • expected disconnected-subcircuit The diagram contains 2 independent connected groups.
  • Few lines, real routing work limits

    • expected disconnected-subcircuit The diagram contains 2 independent connected groups.
  • Math that stays upright math-labels

    • expected unconnected-component Component V8 takes part in no connection.
    • expected unconnected-component Component R8 takes part in no connection.
    • expected unconnected-component Component Q8 takes part in no connection.
    • expected unconnected-component Component O8 takes part in no connection.
    • expected disconnected-subcircuit The diagram contains 4 independent connected groups.
  • A shorted rail netlist

    • expected shorted-supply Net v48 ties supply rails VH2, HR2 together.
  • Two outputs, one node netlist

    • expected multiple-drivers Net $1 is driven by IRQA.out, IRQB.out.
  • Repeated Zener diodes output-modes

    • expected unconnected-component Component ZA takes part in no connection.
    • expected unconnected-component Component ZB takes part in no connection.
    • expected unconnected-component Component ZC takes part in no connection.
    • expected disconnected-subcircuit The diagram contains 3 independent connected groups.
  • A bounded route around a bracket performance

    • expected unconnected-component Component BRK takes part in no connection.
    • expected disconnected-subcircuit The diagram contains 2 independent connected groups.
  • Terminal to terminal placement

    • expected disconnected-subcircuit The diagram contains 2 independent connected groups.
  • Cross-domain 1.3 specimen roadmap

    • expected unconnected-component Component PU4 takes part in no connection.
    • expected unconnected-component Component LX4 takes part in no connection.
    • expected unconnected-component Component DC4 takes part in no connection.
    • expected unconnected-component Component HQ4 takes part in no connection.
    • expected unconnected-component Component BOX4 takes part in no connection.
    • expected disconnected-subcircuit The diagram contains 5 independent connected groups.

Check your own diagrams

The same rules run as a service, so a project can gate its own build without installing the compiler. Nothing is stored and no source leaves the request.

curl -X POST https://schemd.johnowolabiidogun.dev/api/verify \
  -H 'content-type: application/json' \
  -d '{"source": "source:V1 \"AC\" at (100,150) #blue [type=voltage-ac]\n..."}'

{"ok": false, "counts": {"errors": 1, "warnings": 0, "notes": 0},
 "diagnostics": [{"code": "shorted-supply", "severity": "error", "line": 4, ...}]}

ok answers the only question a build asks. The badge below reports this corpus:

schemd conformance badge

Flagged diagrams

  • Chip select across a bus pair nets

    • info disconnected-subcircuit The diagram contains 4 independent connected groups.
    Open in the playground
  • Around the transformer nets

    • warning unconnected-component Component TFM takes part in no connection.
    • info disconnected-subcircuit The diagram contains 3 independent connected groups.
    Open in the playground
  • Enable across an address bus overview

    • info disconnected-subcircuit The diagram contains 5 independent connected groups.
    Open in the playground