📄 assert_quiescent_state_logic.v
字号:
// Accellera Standard V1.0 Open Verification Library (OVL).
// Accellera Copyright (c) 2005. All rights reserved.
parameter assert_name = "ASSERT_QUIESCENT_STATE";
`include "std_ovl_task.h"
`ifdef OVL_INIT_MSG
initial
ovl_init_msg_t; // Call the User Defined Init Message Routine
`endif
`ifdef OVL_ASSERT_ON
reg r_sample_event;
always @(posedge clk) r_sample_event <= sample_event;
`ifdef OVL_END_OF_SIMULATION
reg r_EOS;
always @(posedge clk) r_EOS <= `OVL_END_OF_SIMULATION;
`endif
always @(posedge clk) begin
if (`OVL_RESET_SIGNAL != 1'b0) begin
`ifdef OVL_END_OF_SIMULATION
if (((r_EOS == 1'b0 && `OVL_END_OF_SIMULATION ==1'b1) ||
(r_sample_event == 1'b0 && sample_event == 1'b1)) &&
(state_expr != check_value)) begin
`else
if ((r_sample_event == 1'b0 && sample_event == 1'b1) &&
(state_expr != check_value)) begin
`endif
ovl_error_t("");
end
end
end
`endif // OVL_ASSERT_ON
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -