FF should be initialized to 0

This commit is contained in:
Miodrag Milanovic 2019-10-04 13:27:10 +02:00
parent c0fa6f3e1a
commit 44c3472b9f
1 changed files with 3 additions and 1 deletions

View File

@ -59,7 +59,9 @@ module EFX_FF(
assign ce = CE_POLARITY ? CE : ~CE;
assign sr = SR_POLARITY ? SR : ~SR;
assign d = D_POLARITY ? D : ~D;
initial Q = 1'b0;
generate
if (SR_SYNC == 1)
begin