FVO — Formal Verification Online
📘 Formal verification guide

SVA vs PSL: choosing a property language for hardware verification

9 min read · Updated

This article is part of our formal verification guide, which covers the foundations, model checking, solvers, theorem proving, equivalence checking and industry use cases.

SystemVerilog Assertions (SVA) and the Property Specification Language (PSL) are the two standard languages for writing temporal properties of hardware. Both are understood by simulators and formal tools, and both can express almost the same behaviours. The right choice depends mostly on your design language and team.

Quick answer

  • Verilog or SystemVerilog designs: use SVA. It is part of the SystemVerilog standard, has the widest tool support and is what interviewers expect.
  • VHDL designs: PSL is the natural fit — VHDL-2008 includes PSL directly — although many mixed-language teams write SVA in a separate bound checker file.
  • Learning formal verification: start with SVA; the concepts transfer to PSL in a day.

History in brief

SVAPSL
StandardIEEE 1800 (SystemVerilog)IEEE 1850
OriginsMerged into SystemVerilog in the early 2000s from donated assertion languagesIBM's "Sugar" language, standardised by Accellera and then IEEE
Host languagesSystemVerilog onlyVerilog, VHDL, SystemVerilog and SystemC flavours
Logic basisLinear temporal logic with regular sequencesLinear temporal logic (FL) plus an optional branching extension (OBE, CTL-style)

Syntax side by side

The same three requirements in both languages:

SVA
// 1. grant within 1 to 4 cycles of a request
a1: assert property (@(posedge clk) disable iff (rst) req |-> ##[1:4] gnt);

// 2. never two grants at once
a2: assert property (@(posedge clk) $onehot0(gnt));

// 3. every request is eventually granted
a3: assert property (@(posedge clk) req |-> s_eventually gnt);
PSL
-- PSL (VHDL flavour)
default clock is rising_edge(clk);

-- 1. grant within 1 to 4 cycles of a request
a1: assert always (({req} |=> {[*0 to 3]; gnt}) abort rst);

-- 2. never two grants at once
a2: assert always onehot0(gnt);

-- 3. every request is eventually granted
a3: assert always (req -> eventually! gnt);

PSL sequences are written in curly braces as SEREs (sequential extended regular expressions), and its suffix implication |=> starts the right-hand side one cycle after the left-hand side ends — the same meaning as SVA's |=>. PSL's [*0 to 3] corresponds to SVA's [*0:3], and abort plays the role of SVA's disable iff.

Operator map

ConceptSVAPSL
Always (invariant)implicit in assert propertyalways
Next cycle##1, nexttimenext, ; inside SEREs
Cycle range##[m:n][*m to n] repetition of true
Overlapping / non-overlapping implication|-> / |=>|-> / |=> (on SEREs)
Consecutive repetitionb[*3]b[*3]
Goto repetitionb[->3]b[->3]
Non-consecutive repetitionb[=3]b[=3]
Strong eventuallys_eventuallyeventually!
Untiluntil, s_untiluntil, until!
Reset / abortdisable iffabort, async_abort, sync_abort
Past values$past, $rose, $fell, $stableprev(), rose(), fell(), stable()

The strong (!) versus weak distinction matters in both languages: a weak "eventually" or unbounded wait can never fail in a formal proof. Puzzle 17 in our waveform problems chapter shows why.

What each language does better

SVA strengths

  • Native to SystemVerilog: properties can use the design's types, functions, packages and bind.
  • Local variables in sequences, rich sampled-value functions and tight integration with coverage.
  • The broadest support across simulators, formal tools, emulation and assertion IP.

PSL strengths

  • Works with VHDL designs without a second language.
  • A compact, readable temporal-logic style (always, next, until) that maps closely to textbook LTL.
  • An optional branching-time extension for model-checking specialists.

Recommendation

For new projects in SystemVerilog, write SVA. For VHDL-only teams, PSL embedded in VHDL-2008 avoids mixed-language overhead. Whatever you choose, keep properties in separate checker modules or files, write covers alongside assertions and review assumptions — those habits matter far more than the syntax. Learn SVA hands-on in SystemVerilog Assertions essentials, and see where property languages fit in the formal verification guide.

Learn it hands-on

More from the formal verification guide

← Back to formal verification foundations: the complete guide

Discussion

No comments yet.

Was this page helpful?

Tip: select any text on the page before clicking Report and it will be quoted in your report.