I do understand assert(property_name) will check for failurs in property or sequence and
Cover(property_name) will check for coverage in property or sequence. What is the actual use of assume statement?
2 Likes
The distinction is mainly for formal tools. An assume directive is the same as an assert in simulation. A formal tool uses an assume directive as a constraint depending on what level in the hierarchy it is placed.
Hi Dave,
thansks for ur reply. Can u please elaborate on the same?
Rakesh
In reply to rakeeee:
As a methodology note, we suggest you use “assume” if you are writing a property solely based on design inputs. If it is on outputs/internal signals/mix, then use assert.
And yes, we delve into details on this in our SVA book (www.systemverilog.us)
Regards
Ajeetha, CVC
1 Like