Hi everyone. I was wondering if anyone here has used the formal verification tools included with Yosis before. The tool is called SymbiYosis and I have a question about cover statements. I come from a formal background and understand the assert statements and how the logic works. I don't quite understand what exactly the cover statements do. Looking at one of their examples we have:
Copy code
if (~rst) begin
// waddr and raddr can only be non zero if reset is low
w_nreset: cover (waddr || raddr);
I don't understand how this proves that when rst is high, waddr and raddr can only be zero
Jelmer Lap
09/30/2024, 9:08 AM
One thing I failed to notice is that they also assert that waddr and raddr are zero when reset is high, so that is understandable. But I still don't get what would be the use of this cover statement
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.