T
talkb
Guest
Can Systemverilog properties (assertions) accept interface/modport
arguments?
property prop_sum1( clk, resetn, x, y, z );
disable iff ( resetn ) @( posedge clk ) x + y === z;
endproperty : my_prop
aprop_sum1 : assert property( prop_sum1( ... ) ) else
$error ( "%m: property failed!" );
For example, is there a way to replace "clk, resetn, x, y, z" with an
interface/modport?
Is that a standardized (IEEE 1800-2005) feature, or is it something that is
a vendor-
specific extension?
arguments?
property prop_sum1( clk, resetn, x, y, z );
disable iff ( resetn ) @( posedge clk ) x + y === z;
endproperty : my_prop
aprop_sum1 : assert property( prop_sum1( ... ) ) else
$error ( "%m: property failed!" );
For example, is there a way to replace "clk, resetn, x, y, z" with an
interface/modport?
Is that a standardized (IEEE 1800-2005) feature, or is it something that is
a vendor-
specific extension?