agni

package module
v0.3.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Agni

CI Go Reference Go Report Card Go 1.26

Agni is an engine for electronic design files. It reads schematics and PCBs from several formats into one neutral, protobuf-defined IR, then checks, diffs, renders, and queries them. The front-end normalizes formats the way a compiler normalizes languages into one AST, so every analysis downstream is written once and works on all of them.

What does it do

  • Reads many formats into one IR. EDIF netlists and schematics, KiCad schematics and boards, IPC-2581, xschem, and gEDA all parse into the same ir.Design. Adding a reader is one entry in readers/formats/registry.go.
  • Runs ERC/DRC-like structural checks. They catch missing I2C pull-ups, unprotected exposed signals, power rails without decoupling, and boards that fail track-width rules. Findings come out in plain language and cite the net or component they fire on.
  • Diffs revisions over the IR. It compares two revisions structurally (components, nets, connectivity), not as a text diff of the source files, so it survives reformatting and rename churn.
  • Renders to SVG or a WebGL canvas, drawing either the faithful schematic and board geometry or an auto-laid-out netlist graph.
  • Runs a browser viewer. agni open <design> serves one board and prints its URL; agni serve opens a tree of them. Either renders the design, runs the checks, and locates each finding on the canvas.
  • Runs in the browser with nothing installed. The engine also compiles to WebAssembly, so the public demo opens a KiCad or EDIF design you drop on the page, checks it, queries it and saves a report, without sending the design anywhere.
  • Answers datalog queries. agni query asks arbitrary questions of the design fact base, the same fact base the rules are built on. The engine is jaala.
  • Walks a review checklist and traces signals. agni review scores a design against a team's checklist and saves the page, and agni trace --from U7.3 --to U12.4 follows a signal through the series parts between two pins.
  • Checks against datasheets. It joins a design against extracted datasheet limits and checks, for example, that a rail stays inside a part's recommended operating range.
  • Serves the same answers to other tools. The services the CLI calls are Connect rpcs that agni serve exposes, --remote sends query, check, trace and review to a running server, and clients/python is a typed Python client over the CLI or a server.

Try it in 60 seconds

No private data needed. The demo/ folder holds two shareable KiCad boards: a clean one and the same board with deliberate design issues.

git clone https://github.com/panyam/agni
cd agni
make agni
./bin/agni check demo/showcase.fires.kicad_pro
findings by rule:
  bulk-cap               2
  decoupling-present     2
  esd-protection         2
  i2c-pull-up            1
  input-protection       1
  test-point-coverage    2

  [error]   i2c-pull-up: SCL (I2C net has no pull-up resistor to a rail)
  [warning] input-protection: VBUS (connector feeds a power input with no fuse or TVS in the path)
  [info]    esd-protection: USB_D+ (externally-exposed signal net has no ESD protection)
  ...

Then open the browser viewer on the same boards:

make demo

Load showcase.fires.kicad_pro in the left tree, press Run checks, and click a finding to locate its net on the schematic. See demo/README.md.

With nothing to build, the public demo does the same in the browser, over seed boards or files you drop on it.

To run a release over your own boards, each GitHub release attaches a compose bundle pinned to it, over the ghcr.io/panyam/agni image:

AGNI_DESIGNS=./designs docker compose up -d     # the viewer at http://localhost:8080
docker compose run --rm trial /designs/<board>  # a trial report that holds nothing from the board

How it works

The protobuf IR (protos/, generated into gen/) is the one contract in the middle. Readers (readers/edif/, readers/kicad/, readers/ipc2581/, and the xschem/gEDA readers) are the only code that knows a file format; they produce ir.Design. Everything else (check/, diff/, render/, the query engine, the web service) consumes the IR and never looks at a source file.

The same shape repeats at two more contracts: a geometry IR that N producers fill and N renderers draw, and a parameter IR that N datasheet extractors fill and the checks read.

Philosophy

  • One neutral IR serves every format. A schematic is a schematic whether it came from KiCad, EDIF, or IPC-2581. Normalize each format once, and write every analysis once against the IR. Add a reader and every check, diff, render, and query works on the new format; add an analysis and it works on every format.
  • Format-neutrality is enforced in CI. Analyses read the IR, never source files, and the IR carries no field a second format could not populate. Architectural constraints checked in CI keep the core from accreting format-specific special cases.
  • Silence is never coverage. A check that cannot evaluate reports "not applicable" or flags what it could not model; it never returns a false pass. Findings cite the net, component, or datasheet page they come from, and unverified data is marked as such. You can always tell "clean" from "not checked".
  • Verify against reality. Readers and rules are checked against the native tools (kicad-cli ERC/DRC) and real design exports, not only hand-written fixtures. A feature is done when it works on a real file.
  • The core is open, with a clear boundary. The engine is shareable under Apache-2.0. Proprietary formats, house rules, and confidential designs live in a private extension that depends on the engine without forking it.
  • Agni stays legible to software engineers. EDA carries decades of domain vocabulary. It maps it to concepts software engineers already know (an IR, a linter, a semantic diff, a lockfile), so you can contribute without an EE degree. See the software-analogy map.

Formats read today

Format Extensions Netlist Faithful geometry
EDIF 2.0.0 .edn .edf .edif (netlist), .eds (schematic) yes schematic
KiCad .kicad_sch .kicad_pcb .kicad_pro yes schematic + board
IPC-2581 .xml .cvg yes board
xschem .sch (sniffed) yes schematic
gEDA gschem .sch (sniffed) yes schematic
Telesis .tel yes none

A hierarchical EDIF netlist reads its top cell by default and says which blocks it left out. --flatten-hierarchy, flatten_hierarchy: true in a design's design.yaml, or the viewer's Read every block reads every block it places.

Documentation

Full documentation lives at panyam.github.io/agni.

  • Getting started covers installing, a first check, reading the report, and gating CI.
  • User guide covers concepts, the CLI, checks, diff, and the query language, for someone new to the tool.
  • Software-analogy map maps hardware ideas onto software ones. If you read code but not schematics, start here.
  • Overview opens the engineering docs on IR and ingestion, geometry and rendering, semantic diff, and the format primers.
  • examples/README.md lists runnable walkthroughs, one per feature.
  • CONSTRAINTS.md holds the enforceable architectural rules. Read it before proposing changes.
  • SECURITY.md says how to report a vulnerability.
  • Open core explains the split between this public engine and a private extension that adds proprietary readers and rules without forking it.

Status

Agni reads real exports from every listed format and runs its full analysis over them. It is young, with bounded format coverage (see each reader's notes), a growing rule catalog, and an early datasheet extraction pipeline. The architecture is settled and the breadth is still growing. Issues and readers for new formats are welcome.

Building

make build requires Go 1.26.9 and pnpm (for the web viewer bundle). make testall also needs buf 1.61 on your PATH, python3, a Chromium for the browser tests, and network access to fetch the pinned sample corpus. CONTRIBUTING.md has the details.

pnpm install                      # once: the web workspace (web/, web-shared/, datasheet/web/)
make build                        # web bundle + go build ./...
make install                      # install the agni CLI to $GOBIN
make testall                      # the full gate: vet, lint, gosec, gitleaks, Go, wasm, web, browser and Python tests, docs checks

License

Apache-2.0. See LICENSE and NOTICE.

Documentation

Overview

Package agni composes the engine for a program that embeds Agni as a library rather than running the `agni` binary. One call produces the composed rule catalog, the relation registry, and the services that run over them.

There are FOUR global registration hooks and three fail quietly when a binary misses one. Without stdlib/rules/builtin the catalog is empty, without stdlib/relations the fact base is, and either reports every design clean, so New refuses both at startup. See docsite/content/build/extending.md#compose-in-main.

Every option takes a VALUE (a loaded profile set, a parsed declaration, an fs.FS), never a path. Reading files is the caller's job (C22, C13).

Index

Constants

This section is empty.

Variables

View Source
var MissingBuiltinsError = errors.New(
	`agni: the built-in rule catalog is not installed, so none of the shipped EE rules will run and a ` +
		`design is checked only against whatever this program composed itself. ` +
		`Add: import _ "github.com/panyam/agni/stdlib/rules/builtin"`)

MissingBuiltinsError reports that the built-in rule source was never installed, so the shipped EE rule catalog is absent and a run reports only whatever the caller composed itself.

The check asks check.BuiltinRules rather than measuring the composed catalog. stdlib/profiles registers its own source from an init and this package imports it, so a program missing the built-ins still composes a NON-EMPTY catalog holding the interface-profile rules alone.

View Source
var MissingRelationsError = errors.New(
	`agni: no fact relations are installed, so every datalog rule matches nothing and reports clean. ` +
		`Add: import _ "github.com/panyam/agni/stdlib/relations"`)

MissingRelationsError reports that no relation catalog was installed, so the fact base is empty and every datalog-authored rule matches nothing. Without this error the mistake neither fails to build nor errors at runtime.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	// contains filtered or unexported fields
}

Engine holds one rule catalog, one relation registry, and the project-resolution ports the services run against. New builds it once and nothing mutates it, so two surfaces built from one Engine agree about which rules are in effect.

func New

func New(opts ...Option) (*Engine, error)

New composes an Engine from the registered built-ins plus the options given. It fails when a registration hook is unpopulated, returning MissingBuiltinsError or MissingRelationsError, each naming the import that fixes it.

It returns an error where check.CatalogWith and facts.NewRegistry panic. Those run from an init or a composing main, where a startup panic is the convention; New runs inside an embedder's program, which has to decide for itself what to do about a bad composition.

func (*Engine) Catalog

func (e *Engine) Catalog() *check.Catalog

Catalog returns the composed rule catalog, holding the built-ins, every RegisterSource'd suite, and the profile, intent and ad-hoc sources the options supplied. Callers must not mutate the rules it holds.

func (*Engine) ProfileIndex

func (e *Engine) ProfileIndex() map[string][]profiles.Profile

ProfileIndex returns the by-name interface-profile index the review's absence gate reads. An interface counts as evaluating when any profile under its name is in the run, and the item scoped to it unions their nets.

A caller running a review itself needs it, and it MUST come from the same call that built the catalog. A separately built index can silently disagree, clearing the gate on an interface whose rules the catalog dropped, so the item scores a clean pass on an interface nothing checked.

func (*Engine) ProjectResolver

func (e *Engine) ProjectResolver() *service.ProjectResolver

ProjectResolver returns the resolver the rule-running services use to find a design's project and compose that project's config into a run. It is nil when no project store or config resolver was supplied, and the services accept nil by running on the engine's composed defaults.

func (*Engine) ProjectService

func (e *Engine) ProjectService() *service.ProjectService

ProjectService returns the project/design listing service, or nil when no store was supplied.

func (*Engine) Registry

func (e *Engine) Registry() *facts.Registry

Registry returns the composed relation registry, for a caller running its own queries through core/query's *From entry points rather than through a service.

func (*Engine) RuleServices

RuleServices builds the two services that RUN rules from this Engine's one catalog, the CheckService behind a check panel and ListRules, and the ReviewService behind the review resources.

They come back TOGETHER and the catalog is not a parameter, so a caller cannot hand the two surfaces different catalogs (WS3-048). A rule missing from the check panel's catalog looks exactly like a rule that ran and found nothing.

func (*Engine) Warnings

func (e *Engine) Warnings() []string

Warnings reports compositions that are legitimate but worth saying out loud, each naming the import that would change it. An embedder may want the engine without one of these pieces, and nothing else reports their absence; an empty catalog or fact base gets an error from New instead.

type Option

type Option func(*builder)

Option configures New. Every option carries a VALUE rather than a path, since reading config is the caller's business (C22).

func WithConfigResolver

func WithConfigResolver(c service.ConfigResolver) Option

WithConfigResolver supplies what resolves an analysis config's URIs into engine values: a project's interface profiles, its seeded parameters, its symbol paths, a design's intent. This is where per-design config enters a run, so a server serving several projects composes each one's own rules rather than applying one team's config to every design.

func WithFSProjectStore

func WithFSProjectStore(trees ...Tree) Option

WithFSProjectStore supplies the shipped project store, which walks each tree for descriptors. It takes an fs.FS rather than a path because an fs.FS has no parent to climb into, so a resolution walk stops at the tree root.

It exposes the default store without making internal/projects public API. A caller that outgrows the directory shape implements service.ProjectStore and passes WithProjectStore instead.

func WithProducerVersion

func WithProducerVersion(v string) Option

WithProducerVersion stamps the build identity onto every results document the engine writes, a stored review run and a saved check report alike, so the document records which engine produced it. An embedder passes its own version string; the CLI passes the engine's.

func WithProfiles

func WithProfiles(ps []profiles.Profile) Option

WithProfiles composes interface profiles into the catalog. A profile whose Name matches a built-in SUPERSEDES that built-in's rules rather than running alongside them, and the review's profile index tracks that, so an item scoped to the interface cannot pass on rules no longer in the run.

Load them with profiles.LoadDir for a directory of YAML, or build the values in Go.

func WithProjectResolver

func WithProjectResolver(r *service.ProjectResolver) Option

WithProjectResolver supplies an already-composed resolver, for a caller that built one to share with the services this package does not construct (the design, diff, query, check and review services all take the same resolver). It is the composed form of WithProjectStore plus WithConfigResolver and wins over both, so one run cannot resolve projects two ways.

func WithProjectStore

func WithProjectStore(s service.ProjectStore) Option

WithProjectStore supplies the store that answers which projects and designs exist and which design an artifact belongs to. A deployment backed by a PLM system, an index, or a database implements service.ProjectStore and passes it here; WithFSProjectStore is the shipped directory-walking one.

func WithRelations

func WithRelations(opts ...facts.Option) Option

WithRelations composes extra fact relations into the registry, for an overlay that projects its own tuples out of the Model. The built-in relation catalog arrives through the blank import of stdlib/relations rather than through this option, because it installs as one bulk payload.

func WithSources

func WithSources(srcs ...check.RuleSource) Option

WithSources composes arbitrary rule sources into the catalog: a house suite built in Go, a naming convention's rules, anything satisfying check.RuleSource. They compose after the profile sources, and a source implementing check.SupersedingSource replaces what it names.

func WithoutDatalogRules

func WithoutDatalogRules() Option

WithoutDatalogRules declares that shipping with no datalog-authored rule suite is intended, and drops the warning New would otherwise record. It changes nothing about the composition. The warning exists because the absence is invisible from a report.

type RuleLoader

type RuleLoader interface {
	service.Loader
	service.ReviewLoader
	service.ConventionLoader
}

RuleLoader is the union of the loader interfaces CheckService and ReviewService take, so one call can build both without widening either service's own contract.

type RuleServiceDeps

type RuleServiceDeps struct {
	Loader         RuleLoader
	ReviewStore    service.ReviewStore
	Specs          param.ParamProvider
	BaseConvention string
}

RuleServiceDeps is the per-deployment I/O a rule-running service needs and the Engine does not hold: where designs are read from, where stored runs live, the seeded datasheet corpus, and the name of the deployment's base naming convention.

type Tree

type Tree struct {
	Mount string
	FS    fs.FS
}

Tree is one named filesystem WithFSProjectStore searches for project and design descriptors. Mount is the name a mount:// URI addresses the tree by, and FS is its root.

Directories

Path Synopsis
Package artifact defines how the engine NAMES a stored artifact: a design, a board export, a datasheet, a checklist, anything the injected Loader resolves to bytes.
Package artifact defines how the engine NAMES a stored artifact: a design, a board export, a datasheet, a checklist, anything the injected Loader resolves to bytes.
Package census is the element-coverage guard (WS6-011).
Package census is the element-coverage guard (WS6-011).
cmd
agni command
Command agni is the CLI for the EDA tooling engine.
Command agni is the CLI for the EDA tooling engine.
agni-wasm command
agni-wasm is the engine as WebAssembly, for a browser to run with no server (agni issue 178).
agni-wasm is the engine as WebAssembly, for a browser to run with no server (agni issue 178).
core
check
Package check runs rule checks over a netlist IR Design.
Package check runs rule checks over a netlist IR Design.
check/naming
Package naming compiles an operator-supplied net-naming convention into a check.RuleSource (WS3-015).
Package naming compiles an operator-supplied net-naming convention into a check.RuleSource (WS3-015).
classify
Package classify holds the format-neutral ingestion passes that stamp derived facts onto the IR, so check reads a data fact instead of re-parsing vendor strings on every model build.
Package classify holds the format-neutral ingestion passes that stamp derived facts onto the IR, so check reads a data fact instead of re-parsing vendor strings on every model build.
diff
Package diff computes a semantic diff between two netlist IR Designs.
Package diff computes a semantic diff between two netlist IR Designs.
facts
Package facts is the fact/relation layer.
Package facts is the fact/relation layer.
graph
Package graph builds a netlist-graph view of a design from the core IR alone, for formats that carry no schematic page (IPC-2581, a bare netlist, a board-only export).
Package graph builds a netlist-graph view of a design from the core IR alone, for formats that carry no schematic page (IPC-2581, a bare netlist, a board-only export).
ident
Package ident compares identifiers that name the same thing in two documents that spell it differently: a pin map against a netlist, a selected function against a vendor's pin table.
Package ident compares identifiers that name the same thing in two documents that spell it differently: a pin map against a netlist, a selected function against a vendor's pin table.
model
Package model is the design read-surface CONTRACT: the Model interface a rule or query evaluates against, plus the value types that interface exposes.
Package model is the design read-surface CONTRACT: the Model interface a rule or query evaluates against, plus the value types that interface exposes.
num
Package num narrows integers for the wire, saturating rather than wrapping.
Package num narrows integers for the wire, saturating rather than wrapping.
param
Package param loads and validates parameter-IR PartSpecs (agni.v1.param), the datasheet-parameter contract in docsite/content/architecture/datasheet-layer.md#the-parameter-contract.
Package param loads and validates parameter-IR PartSpecs (agni.v1.param), the datasheet-parameter contract in docsite/content/architecture/datasheet-layer.md#the-parameter-contract.
query
Package query is the design query surface (WS3-029): Datalog over the design's fact base, so an engineer runs ad-hoc queries ("search your whole design as relations, including datasheets") and every answer carries the provenance of the facts that produced it.
Package query is the design query surface (WS3-029): Datalog over the design's fact base, so an engineer runs ad-hoc queries ("search your whole design as relations, including datasheets") and every answer carries the provenance of the facts that produced it.
render
Package render turns the geometry sidecar (agni.v1.geom) into drawable output.
Package render turns the geometry sidecar (agni.v1.geom) into drawable output.
report
Package report aggregates a check run into the shape a person reads: what was checked, what it rests on, and what to do about the parts that failed.
Package report aggregates a check run into the shape a person reads: what was checked, what it rests on, and what to do about the parts that failed.
results
Package results reads and writes the check-result document (agni.v1.checks.CheckResults), the artifact half of the checks contract (WS3-103).
Package results reads and writes the check-result document (agni.v1.checks.CheckResults), the artifact half of the checks contract (WS3-103).
results/foreign
Package foreign imports a check-result document from another tool's report (WS3-104).
Package foreign imports a check-result document from another tool's report (WS3-104).
review
Package review runs a project's declared design-review checklist (a "manifest") against one design and reports, per checklist item, whether its check passed, failed, did not apply, or is not yet automated (WS3-050).
Package review runs a project's declared design-review checklist (a "manifest") against one design and reports, per checklist item, whether its check passed, failed, did not apply, or is not yet automated (WS3-050).
svg
Package svg is a zero-dependency SVG element writer.
Package svg is a zero-dependency SVG element writer.
timing
Package timing records where one request's time went (agni issue 914): its stages, which cache layer answered each read, how long each rule took, and the plan of each query evaluated.
Package timing records where one request's time went (agni issue 914): its stages, which cache layer answered each read, how long each rule took, and the plan of each query evaluated.
validate
Package validate holds the reader-health invariants behind `agni validate` (WS6-007), which are structural sanity checks over what a reader produced.
Package validate holds the reader-health invariants behind `agni validate` (WS6-007), which are structural sanity checks over what a reader produced.
Package feedback is the report a trial of agni sends back from a machine that holds designs we never see (agni issue 1057).
Package feedback is the report a trial of agni sends back from a machine that holds designs we never see (agni issue 1057).
Package fshost serves designs from a mount table of fs.FS values.
Package fshost serves designs from a mount table of fs.FS values.
gen
Package intake produces a SANITIZED, deterministic summary of a design, the factual skeleton the /design-intake onboarding workflow builds on (WS3-091).
Package intake produces a SANITIZED, deterministic summary of a design, the factual skeleton the /design-intake onboarding workflow builds on (WS3-091).
internal
constraints
Package constraints sweeps the repo's SOURCE for CONSTRAINTS.md rules that no single package owns, so `go test ./...` (and therefore `make testall`) enforces them.
Package constraints sweeps the repo's SOURCE for CONSTRAINTS.md rules that no single package owns, so `go test ./...` (and therefore `make testall`) enforces them.
expect
Package expect loads a test design's expected findings from a sidecar file, so one artifact drives both the conformance harness (this repo) and, later, the web viewer's expectations panel (roadmap WS9-018).
Package expect loads a test design's expected findings from a sidecar file, so one artifact drives both the conformance harness (this repo) and, later, the web viewer's expectations panel (roadmap WS9-018).
geomath
Package geomath is the shared geometry math for the geom sidecar, mapping symbol-local coordinates into sheet (world) coordinates under a placement Transform.
Package geomath is the shared geometry math for the geom sidecar, mapping symbol-local coordinates into sheet (world) coordinates under a placement Transform.
mcpserver
Package mcpserver serves agni's analysis to an LLM client over the Model Context Protocol (agni issue 910).
Package mcpserver serves agni's analysis to an LLM client over the Model Context Protocol (agni issue 910).
native
Package native shells out to a format's own CLI to produce a golden reference render (SVG) to validate the WebGL/SVG paths against.
Package native shells out to a format's own CLI to produce a golden reference render (SVG) to validate the WebGL/SVG paths against.
netgraph
Package netgraph assembles a pin-level netlist from schematic geometry.
Package netgraph assembles a pin-level netlist from schematic geometry.
opscmd
Package opscmd holds the operational subcommands every agni binary carries, `version` and `healthcheck`, so agni and agnids report their build and answer a container's probe the same way rather than each keeping a copy (C33, agni issue 744).
Package opscmd holds the operational subcommands every agni binary carries, `version` and `healthcheck`, so agni and agnids report their build and answer a container's probe the same way rather than each keeping a copy (C33, agni issue 744).
paramclient
Package paramclient reaches a published PartSpec corpus over the contract's PartSpecService, as a param.Fetcher (agni issue 749).
Package paramclient reaches a published PartSpec corpus over the contract's PartSpecService, as a param.Fetcher (agni issue 749).
projects
Package projects is the filesystem-backed implementation of service.ProjectStore.
Package projects is the filesystem-backed implementation of service.ProjectStore.
refdes
Package refdes holds what a reference designator MEANS, for the layers that have to agree on it.
Package refdes holds what a reference designator MEANS, for the layers that have to agree on it.
server
Package server is the Connect translation layer over the transport-neutral service implementations (CONSTRAINTS C13), with one adapter per service and each method a pure unwrap/call/wrap plus the sentinel-to-code mapping in toConnectErr.
Package server is the Connect translation layer over the transport-neutral service implementations (CONSTRAINTS C13), with one adapter per service and each method a pure unwrap/call/wrap plus the sentinel-to-code mapping in toConnectErr.
sexpr
Package sexpr is the shared s-expression parser for the format readers (KiCad, EDIF) and the coverage census.
Package sexpr is the shared s-expression parser for the format readers (KiCad, EDIF) and the coverage census.
symread
Package symread is the shared netlist-tier logic of the symbol-file schematic readers (xschem, gEDA gschem, and any future dialect such as Lepton EDA).
Package symread is the shared netlist-tier logic of the symbol-file schematic readers (xschem, gEDA gschem, and any future dialect such as Lepton EDA).
version
Package version reports the engine build's identity, so an artifact the engine writes can name what produced it.
Package version reports the engine build's identity, so an artifact the engine writes can name what produced it.
viewerrooms
Package viewerrooms lets an agent drive a viewer tab the reader has open (agni issue 1154).
Package viewerrooms lets an agent drive a viewer tab the reader has open (agni issue 1154).
wasmengine
Package wasmengine composes the services the browser engine serves (agni issue 178).
Package wasmengine composes the services the browser engine serves (agni issue 178).
yamlpb
Package yamlpb binds a YAML document to a protobuf message, so a config the operator writes as YAML keeps the message as its one schema (CONSTRAINTS C26).
Package yamlpb binds a YAML document to a protobuf message, so a config the operator writes as YAML keeps the message as its one schema (CONSTRAINTS C26).
Package mounts is the containment boundary of the web tier, the named root folders the server exposes plus the join that keeps every client-supplied path inside its mount.
Package mounts is the containment boundary of the web tier, the named root folders the server exposes plus the join that keeps every client-supplied path inside its mount.
readers
edif
Package edif parses EDIF 2.0.0 netlists into the agni IR.
Package edif parses EDIF 2.0.0 netlists into the agni IR.
formats
Package formats is the single registry of design-file formats the engine reads: for each extension, the UI label, the netlist reader, and the faithful-geometry reader.
Package formats is the single registry of design-file formats the engine reads: for each extension, the UI label, the netlist reader, and the faithful-geometry reader.
geda
Package geda reads gEDA gschem schematic (.sch) and symbol (.sym) files into the agni IR.
Package geda reads gEDA gschem schematic (.sch) and symbol (.sym) files into the agni IR.
ipc2581
Package ipc2581 reads IPC-2581 (revision A/B/C) interchange XML into the neutral IR (agni.v1.ir).
Package ipc2581 reads IPC-2581 (revision A/B/C) interchange XML into the neutral IR (agni.v1.ir).
kicad
Package kicad reads KiCad s-expression files (.kicad_pcb, .kicad_sch) into the neutral IR (agni.v1.ir).
Package kicad reads KiCad s-expression files (.kicad_pcb, .kicad_sch) into the neutral IR (agni.v1.ir).
telesis
Package telesis reads the flat Telesis netlist (`.tel`) that the Mentor/Siemens schematic flow emits into the neutral IR.
Package telesis reads the flat Telesis netlist (`.tel`) that the Mentor/Siemens schematic flow emits into the neutral IR.
xschem
Package xschem reads xschem schematic (.sch) and symbol (.sym) files into the agni IR.
Package xschem reads xschem schematic (.sch) and symbol (.sym) files into the agni IR.
Package service holds the importable, transport-neutral service implementations (CONSTRAINTS C13).
Package service holds the importable, transport-neutral service implementations (CONSTRAINTS C13).
stdlib
lib
Package lib is the shipped library of derived relations: Datalog modules over the relations stdlib/relations projects, registered in the fact layer's vocabulary at the paths their file names give (agni issue 751).
Package lib is the shipped library of derived relations: Datalog modules over the relations stdlib/relations projects, registered in the fact layer's vocabulary at the paths their file names give (agni issue 751).
profiles
Package profiles turns a declarative interface definition into check rules (WS3-034).
Package profiles turns a declarative interface definition into check rules (WS3-034).
relations
Package relations is the standard EDB relation catalog, the built-in projectors that turn a check.Model (and a seeded datasheet library) into the query engine's netlist, board and datasheet facts.
Package relations is the standard EDB relation catalog, the built-in projectors that turn a check.Model (and a seeded datasheet library) into the query engine's netlist, board and datasheet facts.
reviewquery
Package reviewquery registers the datalog engine as the compiler for a review manifest's inline query bindings.
Package reviewquery registers the datalog engine as the compiler for a review manifest's inline query bindings.
ruledef
Package ruledef reads and writes rule DEFINITIONS, the declarative source a rule compiles from (WS3-103).
Package ruledef reads and writes rule DEFINITIONS, the declarative source a rule compiles from (WS3-103).
rules/builtin
Package builtin is the standard EE rule catalog.
Package builtin is the standard EE rule catalog.
rules/datalog
Package datalog holds check rules authored as datalog queries (via query.RuleFromQuery, WS3-038) rather than as Go or Spec.
Package datalog holds check rules authored as datalog queries (via query.RuleFromQuery, WS3-038) rather than as Go or Spec.
rules/intent
Package intent checks a loaded design against a DESIGN-INTENT declaration, an authored statement of what a design is SUPPOSED to contain.
Package intent checks a loaded design against a DESIGN-INTENT declaration, an authored statement of what a design is SUPPOSED to contain.
tools
catalogdocs command
Command catalogdocs generates the docsite's rule and relation catalog (issue 14) from the composed engine catalog and the embedded per-rule and per-relation Detail markdown.
Command catalogdocs generates the docsite's rule and relation catalog (issue 14) from the composed engine catalog and the embedded per-rule and per-relation Detail markdown.
wasmbench command
Command wasmbench measures the engine the browser runs, natively, over one board (agni issue 852).
Command wasmbench measures the engine the browser runs, natively, over one board (agni issue 852).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL