Clock gated signals not synchronised if used as a logical input #662
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
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.
The text was updated successfully, but these errors were encountered: