mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +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 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…
	
	Add table
		Add a link
		
	
		Reference in a new issue