mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 12:28:44 +00:00
FF should be initialized to 0
This commit is contained in:
parent
c0fa6f3e1a
commit
44c3472b9f
|
@ -60,6 +60,8 @@ module EFX_FF(
|
|||
assign sr = SR_POLARITY ? SR : ~SR;
|
||||
assign d = D_POLARITY ? D : ~D;
|
||||
|
||||
initial Q = 1'b0;
|
||||
|
||||
generate
|
||||
if (SR_SYNC == 1)
|
||||
begin
|
||||
|
|
Loading…
Reference in a new issue