Under the hood
Aristotle compiles your RTL deterministically into a Lean model of the circuit. To prove an assertion, Aristotle shows that it holds on every trace the model permits under the stated assumptions.Submitting a design
You can upload Verilog or SystemVerilog files directly in the Aristotle web UI. Include any supporting design files and describe the properties you want verified in your prompt. No CLI installation is required to use the web UI.Optional CLI installation
If you prefer to submit designs from the command line, install the CLI with uv:Example workflow
This example uses a 5-tap systolic filter in a file namedsemisystolic_fir.sv:
filter_spec.md that describes its operation in English:
semisystolic_fir.sv and filter_spec.md, along with any
supporting design files, and enter the prompt: “Perform the formal verification of the semisystolic_fir
circuit specified in the file filter_spec.md”.
To submit it from the command line, put semisystolic_fir.sv and filter_spec.md together in one directory and
submit that directory:
aristotle questions <project-id> command that aristotle submit prints.
The CLI uploads the directory, except what an ignore rule matches and a few kinds of file it never sends, such as
files named like credentials. In a git repository, git’s ignore rules apply; elsewhere, or in a folder git ignores,
only the directory’s top-level .gitignore does. Add --include-ignored to upload what the ignore rules match too,
such as sources a build generates. Without an aristotle.f, -f, or -F (see
Specifying SystemVerilog build options), nothing from outside the directory
goes up. A link to a file goes up only when the file it points to does too, and a link to a folder never does. So the
directory has to hold everything the design needs, such as included headers, library modules, and the specification.
Add --dry-run to list what would go up without sending anything.
Open the project’s Properties pane to see which properties are Proved, Refuted, or
Unresolved. Open a property for its full description, assumptions, and any refutation evidence. Click a file
under Related files to open it in the code pane. Once Aristotle measures it, a proved property also shows its
proof coverage. The run also returns a human-readable ARISTOTLE_SUMMARY.md.
The summaries below are illustrative, not transcripts of a particular run. The wording, properties, and artifact
names depend on the run. If Aristotle proves the requested FIR property, the summary might read:
Spec/ files. A Proved result applies to the
stated property under its assumptions. If a property is Unresolved, open its row for the reason.
To illustrate a refutation, suppose the tap’s multiply-accumulate assignment were changed to:
Reading the properties
Spec/Property.lean states each property about a trace: a sequence of snapshots of the module. On its own, a property
is a statement about any such sequence. The proof relates that statement to the traces your RTL can produce:
- A universal property, such as an assertion, holds for every trace your RTL can produce. A property relating two designs holds for every trace of each.
- An existential property, such as an SVA cover, holds for some trace your RTL can produce.
- When a refutation includes a proof of the negation, that proof is also about the traces your RTL can produce.
Reading proof coverage
Proof coverage is the share of your code referenced by Aristotle’s proofs. Open a proved property to see its figure, such as “Proofs cover 82% of the source”. Under Related files, its Not covered group lists the main Verilog its proofs don’t use. Click a file to open it at those lines. The run’s summary also lists each proved property’s coverage, then the coverage of all its proofs together. Code that is not referenced in any proof is not necessary to prove your properties, so low coverage points to logic that hasn’t been verified in any way. To raise coverage, add properties about that code or strengthen existing ones. High coverage doesn’t mean every behavior of that code is verified, only that the proofs make use of most parts of the code. When a figure reads “about”, the actual coverage may be lower. For a more precise figure, ask Aristotle in the same project to minimize coverage. Each step of a coverage measurement has a five-minute limit, which a large design can exceed. The run then finishes without a proof coverage section in its summary and records no new figures. Its proved and refuted properties stand.Implementing, fixing, and optimizing RTL
Aristotle can also write a new design. Describe it in your prompt and attach any specifications. State the properties the design must satisfy or ask Aristotle to derive them from the specification. Aristotle implements the design in SystemVerilog, verifies the properties against it and returns the new source files with the results. Aristotle changes your design files only when you ask it to, in your prompt or in answer to one of its questions. When a property is refuted with a counterexample, reply in the same project and ask Aristotle to fix the design. It edits the RTL, verifies your properties against the revised design, and lists what it changed in the summary. To review a fix before it is applied, ask for a proposed fix instead: your files stay unchanged until you approve it. To optimize a design, synthesize it yourself, reply in the project with the reports attached, and say which metrics to improve. Aristotle revises the RTL, verifies the same properties again, and estimates the effect of each change, which your next synthesis run then measures. Name every metric that matters: Aristotle optimizes what you ask for.Specifying what to verify
Aristotle reads and proves SVA in your sources, within the subset described in SystemVerilog Assertion support is partial. It also formalizes requests in plain English into compact Lean statements about the design’s traces.Specifying SystemVerilog build options
Aristotle infers the build from the sources, so most designs need no build options. When a design has more than one candidate top module, or needs defines or include directories, list them with its sources in a filelist namedaristotle.f at the root of the directory you submit:
aristotle submit reads aristotle.f as a simulator reads a filelist, so the one your flow writes usually works as
it is. Nested -f and -F filelists, +incdir+ and +define+, comments, quotes, and environment variables all
work, and options that don’t change which files make up the design, such as -sv or +librescan, are left out. A
-v file goes up as an ordinary source, so a filelist with one needs --top. Every file the filelists name, and every
header the sources include, goes up, even when an ignore rule matches it. A file from
outside the directory goes up under _ext/. An option the CLI doesn’t know, a file that isn’t there, or a variable
that isn’t set stops the command before anything is sent. Add --dry-run to see each file of the design with where
it comes from, and the aristotle.f that would go up.
The design on the command line
--top, -f, and -F on aristotle submit add to the design the directory’s aristotle.f describes, or describe it
on their own, with paths relative to the current directory. A --top replaces any top module the filelists name.
Without --project-dir, only the design’s files go up:
--top and --blackbox need a filelist that names the design’s sources. For a directory with no filelist, name the
top module in the prompt instead.
Black boxes
--blackbox <module> has Aristotle treat a module, such as a foundry cell, as a black box with unconstrained
outputs. Give it on the command line, once per module, or on a line of aristotle.f. A file that declares nothing but
black boxes stays out of the upload, whether the filelists name it or it is a .v, .sv, .vh, or .svh file in
the directory. The entire file is excluded, including any `define directives. A file that declares a black box
beside another design unit stops the command: move the module to a file of its own. So does a header the design
includes that declares one: drop the `include and name the header in the filelists instead. The CLI can’t see a
module that a macro declares, or a model encrypted whole, so take such a file out of the filelists and the directory
yourself. Add --dry-run to list the files each black box leaves out.
Through an assistant
If your assistant uses Aristotle’s MCP server, tell it the design’s top module, defines, include directories, and black boxes. It writes the top module, defines, and include directories into anaristotle.f at the root of the
project it uploads, in the format Aristotle reads, and names each black box when it
starts the run. The server doesn’t take a black box’s source out of an upload, so a model that mustn’t be sent has to
stay outside the project’s folder. For nested filelists, files outside the project’s folder, or generated sources an
ignore rule matches, use the CLI.
The format Aristotle reads
Aristotle itself reads a simpler form ofaristotle.f: the one the CLI generates, and the one to follow when you write
it by hand, for example to upload with a design in the web UI. In the web UI, end the prompt with
Use aristotle.f as the commands file., the line the CLI adds. For options the CLI accepts, it uploads your filelist as
written if it already follows this form, or generates one that does. A generated one can’t use -y yet: name the
library’s files instead.
- One option, or one source file, per line, with a space between an option and its value:
-I include,--top top. List the source files as well as any options. - Paths are relative to the folder holding
aristotle.f, and stay inside it. There are no globs, environment variables, nested filelists, or+...+forms. - A line that starts with
#or//is a comment.
The example workflow needs no
aristotle.f. To name its top module explicitly:
Checking properties in CI
aristotle ci checks the properties listed in an aristotle.toml at the root of your repository, and reports each
one as a test in your CI system: a proved property passes, and a refuted one fails. It takes the design’s build
options and black boxes from the aristotle.f committed at the root of the repository. Unlike aristotle submit, it
expands no environment variables, and by default it sends only files git tracks there. Every aristotle ci run proves
every property again, so run it only when the design, its filelists, the Lean files saved for lean properties, or
aristotle.toml changes. aristotle ci setup
has Aristotle propose properties for you to review and commit. It doesn’t read aristotle.f, so it sends a black
box’s file with the rest of the checkout: match a model you mustn’t send with a .gitignore rule. In GitHub Actions,
add the action after the checkout:
Private deploymentsCreate the key on your deployment. Give the step an
env key that sets ARISTOTLE_WEB_URL to the address of your deployment. Run the job on a runner that reaches the deployment, over Tailscale or its allowed network.Current limitations
Aristotle’s hardware verification has the following limitations.X and Z values are unconstrained
Aristotle uses a two-state formal model: every bit is either0 or 1. When
SystemVerilog says that a bit is unknown (x) or high-impedance (z), Aristotle
models that bit as unconstrained: it may be either 0 or 1, and a proof must
hold for both possibilities.
For example, 4'b10xz keeps the upper two bits fixed at 10, while each lower
bit is allowed to take either value. The same treatment applies to undriven
nets, uninitialized flip-flops and memories, division or modulo by zero,
out-of-range memory reads, and out-of-bounds dynamic bit or part selects. For a
partially out-of-bounds part select, the in-range bits are still constrained to
the selected source bits and only the out-of-range bits are unconstrained.
x is not a
third value that propagates through every downstream expression. It represents
an unspecified hardware value, and ordinary logic operates on whichever 0 or
1 that value takes. Separately unknown bits are not assumed to have the same
value. Consequently, a successful proof cannot depend on an x resolving in a
particular way, but waveforms may not show the same X propagation as a simulator.
In the circuit, case equality also has two-state semantics. If neither operand
contains an x or z literal, === and !== are treated like == and !=.
In a comparison such as a === 4'b10xx, the unknown literal bits are treated as
wildcards and only the known bits are compared. This differs from IEEE case
equality, which tests whether those bits are literally X, and from
assertions, where such a
comparison is constant. Aristotle reports a warning when it encounters a case
comparison; do not use ===, !==, or $isunknown to check for X/Z values in
a property.
SystemVerilog Assertion support is partial
Aristotle can import module-level concurrentassert property, assume property,
and cover property directives. The supported subset includes:
- explicit
posedgeandnegedgeclock events on a module signal; - most combinational expressions your RTL can use, including packed-struct fields, set membership, and replication, but not struct expressions under a sampled-value function or calls to your own functions that don’t reduce to a constant;
$past(e)and$past(e, n)with a constant positiven,$sampled,$stable,$changed,$rose,$fell,$countones,$onehot, and$onehot0.$roseand$fellread the least significant bit of a wider operand and don’t take an unpacked array. An explicit clock, as in$past(e, 1, , @(posedge clk))or$rose(e, @(posedge clk)), must repeat the directive’s clock and is unsupported when that clock has aniffgate.$past,$stable,$changed,$rose, and$fellare unsupported insidedisable iff. A$pastgating expression is unsupported;- fixed, bounded, and unbounded sequence delays (
##N,##[m:n], and##[m:$]), plus sequenceandandor; - consecutive, nonconsecutive, and goto repetition (
[*n],[=n], and[->n]), including ranges; - property
not,and, andor, overlapped and non-overlapped implication (|->and|=>),s_eventually, anddisable iff.
assert, assume, and cover, the enclosing procedure determines
when the condition is checked:
- At module level, in
always_comb, or inalways @*, the condition is checked at every model step. Ininitial, it is checked only at step zero. - In an
alwaysoralways_ffblock with a singleposedgeornegedgeevent, the condition reads the values just before that edge. Sampled-value functions such as$pastare supported here. They are unsupported in unclocked immediate directives.
iff gate. In initial, an unguarded concurrent directive starts
one attempt at its first clock tick. Concurrent directives in always_comb or
always @* and guarded concurrent directives in initial are omitted.
Supported if and case branches guard both kinds of directive. For example,
always @(posedge clk) if (en) assert (valid); checks valid only on rising
edges where en is set. Assertion actions such as else $error(...) are
ignored. Directives inside action blocks or procedures with multiple or nested
event controls are omitted. Inferring a directive’s clock from default clocking
is unsupported. The model does not distinguish the scheduling of #0 and
final deferred assertions.
In a directive, a case comparison with a constant containing x or z bits is
false for === and true for !==. For example, a !== 'x always holds and
produces a warning. Any other use of such a constant, directly or through a
parameter, omits the directive. At an input to a checker instance omitted from
synthesis, === and !== between two-state operands mean == and !=.
A connection that still contains an x or z literal omits that checker’s
directives.
An unsupported directive is omitted rather than approximated, while
supported directives and the circuit itself are still processed. The
generated AristotleHWOut/Public/SVA_WARNINGS.md file lists every
omitted directive with its source location and reason. If SVA
processing fails as a whole, Aristotle still verifies the circuit and
the report states that all SVA directives were omitted. Review this
report before relying on the SVA results.
Initial state
Aristotle preserves initialization by default. To verify an ASIC without procedural initialization, ask “Ignore all proceduralinitial blocks when verifying this design.”
In the web UI you can also put --ignore-initial on its own line in the
aristotle.f you upload. With aristotle submit,
use the prompt because the CLI rejects this filelist option.
Skipping an initial block omits its assignments, assertions, assumptions, and covers.
The proof does not use those assumptions or check those assertions or covers.
Declaration initializers still apply. For example, reg [3:0] a = 4'b0100; sets
a to 4'b0100 at time zero even with the option enabled. To remove a declaration
initializer, edit the source or explicitly ask Aristotle to change it.
Memory write-port ordering
Aristotle supports two kinds of memory write-port ordering, covering the majority of real designs:- Totally ordered. A single writer, or multiple writers with a clear priority chain (for example, several non-blocking assignments to the same memory within one
alwaysblock, where the last write wins on an address collision). These lower to a direct sequential application of the writes. - Completely unordered. Multiple writers with no priority relationship between them (for example, separate
alwaysblocks writing the same memory). These lower to an order-independent relational constraint: per address, the unique active writer determines the new value. If two or more writers are active at the same address in the same cycle, that location is left unconstrained—modeling'x—even if the writers supply identical data (the relation does not compare the values).
Inout ports are not supported
Bidirectional (inout) ports are rejected. Designs must use separate input and
output ports.
Static variables in functions and tasks
Aristotle models static functions and tasks asautomatic. A local variable in one
of them that would keep its value from one call to the next is not modeled
faithfully. If the design relies on that value, keep it in a module-level variable
instead.
Writes into another module are not supported
Aristotle keeps the module hierarchy, so an assignment to a signal inside another module instance is rejected. No option flattens the design to accept it: drive the signal through a port instead.Delays are not supported
A delay is rejected, whether in a continuous assignment such asassign #1 y = a;,
a net declaration such as wire #1 y = a;, or procedural code such as
q <= #1 d;. The error message mentions --ignore-timing, but Aristotle doesn’t
accept that option: a model that ignored the delays could prove properties the
design doesn’t have.
Unnamed generate blocks can’t be referenced
SystemVerilog doesn’t let a design refer to an unnamed generate block by its implicit name, so a reference such asgenblk1[0].value is rejected. Name the
block, as in begin : g_lane, and refer to g_lane[0].value.
Clocks
Aristotle supports independent clock domains and gated clocks. Time advances in global steps. Each clock input is a one-bit wire whose value can change between steps, subject to the clock assumptions in the specification. Each proof is conditional on those assumptions, which appear under Definitions. Specify the clock behavior in your prompt. If a design has multiple clocks and you do not specify their behavior, Aristotle asks you to choose it. Without an answer, Aristotle uses free clocks and leaves liveness properties unresolved. For a single clock with no stated behavior, Aristotle assumes a free clock. If it detects a liveness property, such as eventual completion, the default is fair. A design without clocks has no clock assumption. Aristotle has four built-in clock options:- Free: any clock may stop at any time.
- Fair: each clock has infinitely many rising edges, with no fixed rate.
- Fixed frequency: each clock has a stated period. Their phases stay independent.
- In sync: the chosen clocks share one waveform.
Example: Two fair clocks
HereTop is an example module with input clocks wclk and rclk.
Its Spec/Setup.lean imports the generated public interface and states that
both clocks are fair:
Latches
Aristotle supports level-sensitive latches, including those inferred from incompletealways @* blocks and explicit always_latch constructs. A latch
follows its input while its enable is active and holds its value otherwise: