📄 assert_implication_logic.sv
字号:
// Accellera Standard V1.0 Open Verification Library (OVL).
// Accellera Copyright (c) 2005. All rights reserved.
parameter assert_name = "ASSERT_IMPLICATION";
`include "std_ovl_task.h"
`ifdef OVL_INIT_MSG
initial
ovl_init_msg_t; // Call the User Defined Init Message Routine
`endif
property ASSERT_IMPLICATION_P;
@(posedge clk)
disable iff (`OVL_RESET_SIGNAL != 1'b1)
antecedent_expr |-> consequent_expr;
endproperty
`ifdef OVL_ASSERT_ON
generate
case (property_type)
`OVL_ASSERT : A_ASSERT_IMPLICATION_P:
assert property (ASSERT_IMPLICATION_P) else ovl_error_t("");
`OVL_ASSUME : M_ASSERT_IMPLICATION_P:
assume property (ASSERT_IMPLICATION_P);
default : ovl_error_t("");
endcase
endgenerate
`endif // OVL_ASSERT_ON
`ifdef OVL_COVER_ON
generate
if (coverage_level != `OVL_COVER_NONE) begin
cover_antecedent:
cover property (@(posedge clk) ( (`OVL_RESET_SIGNAL != 1'b0) &&
antecedent_expr) )
ovl_cover_t("cover_antecedent covered");
end
endgenerate
`endif // OVL_COVER_ON
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -