Browse Source

Add description of osvvm_fsm_psl_coverage example

T. Meissner 3 years ago
parent
commit
8f92c2a446
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      README.md

+ 7
- 0
README.md View File

@@ -8,6 +8,13 @@ Example to use OSVVMs CoveragePkg package to do FSM state coverage. State change
8 8
 in an object of type CovPType. The testbench accesses these state coverage data CoveragePkg procedures. So, the testbench
9 9
 can react to the FSM coverage if necessary. Furthermore the state changes are checked by some PSL assertions.
10 10
 
11
+### osvvm_fsm_psl_coverage
12
+This is the same as the osvvm_fsm_coverage but instead of using cross coverage of previous and current FSM state it's using
13
+PSL endpoints to cover FSM state changes. There is a PSL endpoint for each state change we want to cover. The endpoints
14
+are synched in clock domain and used as simple BINs to do FSM state coverage as in the osvvm_fsm_coverage example.
15
+This example shows the power of evaluating PSL endpoints in VHDL, as you can describe complex behaviour over time a lot
16
+simpler in PSL than in VHDL.
17
+
11 18
 ### psl_endpoint_eval_in_vhdl
12 19
 Example to show a recently feature added to GHDL which allows to evaluate PSL endpoints in VHDL code. It simply defines
13 20
 an PSL endpoint and sets a boolean value dependent on the value of the PSL endpoint.