SVA vs PSL: choosing a property language for hardware verification
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
| SVA | PSL | |
|---|---|---|
| Standard | IEEE 1800 (SystemVerilog) | IEEE 1850 |
| Origins | Merged into SystemVerilog in the early 2000s from donated assertion languages | IBM's "Sugar" language, standardised by Accellera and then IEEE |
| Host languages | SystemVerilog only | Verilog, VHDL, SystemVerilog and SystemC flavours |
| Logic basis | Linear temporal logic with regular sequences | Linear temporal logic (FL) plus an optional branching extension (OBE, CTL-style) |
Syntax side by side
The same three requirements in both languages:
// 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 (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
| Concept | SVA | PSL |
|---|---|---|
| Always (invariant) | implicit in assert property | always |
| Next cycle | ##1, nexttime | next, ; inside SEREs |
| Cycle range | ##[m:n] | [*m to n] repetition of true |
| Overlapping / non-overlapping implication | |-> / |=> | |-> / |=> (on SEREs) |
| Consecutive repetition | b[*3] | b[*3] |
| Goto repetition | b[->3] | b[->3] |
| Non-consecutive repetition | b[=3] | b[=3] |
| Strong eventually | s_eventually | eventually! |
| Until | until, s_until | until, until! |
| Reset / abort | disable iff | abort, async_abort, sync_abort |
| Past values | $past, $rose, $fell, $stable | prev(), 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.