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

Clock gated signals not synchronised if used as a logical input #662

Closed
veripoolbot opened this issue Jun 28, 2013 · 2 comments
Closed

Clock gated signals not synchronised if used as a logical input #662

veripoolbot opened this issue Jun 28, 2013 · 2 comments
Labels
area: scheduling Issue involves scheduling/ordering of events area: wrong runtime result Issue involves an incorrect runtine result from Verilated model effort: weeks Expect this issue to require weeks or more of invested effort to resolve resolution: fixed Closed; fixed

Comments

@veripoolbot
Copy link
Contributor


Author Name: Charlie Brej
Original Redmine Issue: 662 from https://www.veripool.org
Original Date: 2013-06-28


When a clock gated signal is used as a logical input it loses it's synchronization with the input clock. This is rarely a problem as the clock is only sensed with edge sensitive always statements, but if it is ever an input to logic it becomes unsynchronized again.

Test case attached. Removing the "$display("Clock is %d", clk2);" line makes the test pass again.

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2013-07-03T00:39:26Z


Haven't had a chance to look at this yet, sorry.

@veripoolbot veripoolbot added area: scheduling Issue involves scheduling/ordering of events area: wrong runtime result Issue involves an incorrect runtine result from Verilated model effort: weeks Expect this issue to require weeks or more of invested effort to resolve status: blocked Issue is waiting for another bug, when other bug is fixed, then goes to 'status: assigned' labels Dec 22, 2019
@wsnyder wsnyder added resolution: fixed Closed; fixed and removed status: blocked Issue is waiting for another bug, when other bug is fixed, then goes to 'status: assigned' labels May 15, 2022
@wsnyder
Copy link
Member

wsnyder commented May 15, 2022

Believed fixed in develop-v5 with #3278.

@wsnyder wsnyder closed this as completed May 15, 2022
tgorochowik pushed a commit to antmicro/verilator that referenced this issue Feb 29, 2024
Don't return AstRefDType in process_typedef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: scheduling Issue involves scheduling/ordering of events area: wrong runtime result Issue involves an incorrect runtine result from Verilated model effort: weeks Expect this issue to require weeks or more of invested effort to resolve resolution: fixed Closed; fixed
Projects
None yet
Development

No branches or pull requests

2 participants