Verilog 17 : Assertions in – OVL, PSL, and FIFO Verification
Chapter 1: Introduction to Assertions 1.1 What are Assertions? Definition : Assertions are statements in HDL that check if a design behaves as expected during simulation. They do not change the design behavior , but monitor it. Think of them as automatic examiners : they raise an alert if something goes wrong. Example Analogy: Imagine a traffic light controller. Assertion: “The red and green lights should never be ON at the same time.” If violated, simulation stops or logs a warning. 1.2 Assertion Languages SystemVerilog Assertions (SVA) – built-in assertions in SystemVerilog Open Verification Library (OVL) – a library of reusable assertion modules Property Specification Language (PSL) – industry-standard assertion language 1.3 Advantages of Using Assertions Early Detection of Bugs: Catches design violations during simulation. Self-Checking Testbenches: Reduces manual verification effort. Reusable Verification Components: Assertion...