Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spill_register_flushable assertion improvement #197

Open
tsyw opened this issue Aug 14, 2023 · 1 comment
Open

spill_register_flushable assertion improvement #197

tsyw opened this issue Aug 14, 2023 · 1 comment

Comments

@tsyw
Copy link

tsyw commented Aug 14, 2023

When downstream has backpressure, the flush function cannot work properly. so can we add the following sva property?
assupe property (
@(posedge clk_i) disable iff (!rst_ni)
flush_i |-> ready_i
) else $warning("Trying to flush when downstream not ready");

@tsyw
Copy link
Author

tsyw commented Aug 14, 2023

sorry for the typo:
assume property ( @(posedge clk_i) disable iff (!rst_ni) flush_i |-> ready_i ) else $warning("Trying to flush when downstream not ready");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant