Formal Verification · Hard · SystemVerilog

FIFO Safety Properties

Prove that FIFO occupancy never leaves its legal range.

Task

For a FIFO with DEPTH=8 and a 4-bit count, assert count <= DEPTH and assert that full exactly matches count==DEPTH.

Examples

Constraints

Concepts to review

formal, FIFO, SVA

Open HDLForge to solve this problem in the interactive editor.

Related problems