mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	FF should be initialized to 0
This commit is contained in:
		
							parent
							
								
									c0fa6f3e1a
								
							
						
					
					
						commit
						44c3472b9f
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue