A deliberately small fixture imports one active contact through a package boundary into a combinational inverter, grounds the input low, raises the output high, and probes the result into an analyzer where the observed and expected traces coincide exactly.
Downstream public-API inverter smoke test

ff-spartan6-consumer-smoke

repository URL pending

Scope

ff-spartan6-consumer-smoke is a deliberately small downstream consumer that checks whether the public ff-spartan6 circuit API can be imported and used under safe, cubical Agda settings. Its formalization constructs a one-bit input expression and packages an inversion of that signal as a combinational design. It then observes the design on a low input, turning the expected high output into a machine-checked equality. Consumer.Everything serves as the aggregation entry point that brings the consumer check into a single typechecking target. With two checked modules and 24 lines of Agda, the library is scoped as a package-boundary smoke test rather than a broad hardware model.

Most important results

The consumer successfully exercises the dependency’s public Expression and Design interfaces. It assembles a one-input, one-output inverter using the exported combinationalDesign operation. The observed low-to-high behavior is discharged by reflexivity, showing that this packaged circuit computes to the expected value. The Consumer.Everything module provides one target that checks the complete smoke-test surface.

Library modules

2 checked modules

Select a module to inspect its generated Agda source view.

Skip to content

Agda libraries

ff-spartan6-consumer-smoke

ff-spartan6-consumer-smoke is a deliberately small downstream consumer that checks whether the public ff-spartan6 circuit API can be imported and used under safe, cubical Agda settings.

Downstream public-API inverter smoke testA deliberately small fixture imports one active contact through a package boundary into a combinational inverter, grounds the input low, raises the output high, and probes the result into an analyzer where the observed and expected traces coincide exactly.
A deliberately small fixture imports one active contact through a package boundary into a combinational inverter, grounds the input low, raises the output high, and probes the result into an analyzer where the observed and expected traces coincide exactly.

Scope

ff-spartan6-consumer-smoke is a deliberately small downstream consumer that checks whether the public ff-spartan6 circuit API can be imported and used under safe, cubical Agda settings. Its formalization constructs a one-bit input expression and packages an inversion of that signal as a combinational design. It then observes the design on a low input, turning the expected high output into a machine-checked equality. Consumer.Everything serves as the aggregation entry point that brings the consumer check into a single typechecking target. With two checked modules and 24 lines of Agda, the library is scoped as a package-boundary smoke test rather than a broad hardware model.

Most important results

The consumer successfully exercises the dependency’s public Expression and Design interfaces. It assembles a one-input, one-output inverter using the exported combinationalDesign operation. The observed low-to-high behavior is discharged by reflexivity, showing that this packaged circuit computes to the expected value. The Consumer.Everything module provides one target that checks the complete smoke-test surface.

Source browser

Modules

Browse modulesOpen generated Agda sources

Cabinet index

Explore Formal Foundry

Search the archive

Find a page

Type to search the published content.