I wrote some of the assumptions in my fifo design and now the assertion passing in my design.Before assemptions that assert property was failing.
assumptions are as below:
///Assumtion to check underflow:
assume_underflow :assume property(assume_property_underflow) $info("assumption holds"); else $error("Assumption failed underflow");
(!read && empty); /*$info("Assumption undeflow holds");
else $error("Assertion underflow does not hold");*/
///Assumtion to check overflow:
assume_overflow :assume property(assume_property_overflow) else $error("Assumption failed overflow");
((!write or !read) and full); /*$info("Assumption overflow holds");
else $error("Assumption overflow does not hold");*/
Please see these logics are correct?