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