mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
The clock gater was not implemented correctly. Now it is level sensitive to a low clock.
This commit is contained in:
parent
fe22fd2db8
commit
0670c57fd2
@ -38,7 +38,7 @@ module clockgater
|
|||||||
logic enable_q;
|
logic enable_q;
|
||||||
|
|
||||||
|
|
||||||
always @(E or SE) begin
|
always @(~CLK) begin
|
||||||
enable_q <= E | SE;
|
enable_q <= E | SE;
|
||||||
end
|
end
|
||||||
assign ECLK = enable_q & CLK;
|
assign ECLK = enable_q & CLK;
|
||||||
|
Loading…
Reference in New Issue
Block a user