mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-28 10:19:26 +00:00 
			
		
		
		
	opt_dff: Fix behavior on $ff with D == Q.
This commit is contained in:
		
							parent
							
								
									c1646a00ac
								
							
						
					
					
						commit
						48eea3efcf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -554,7 +554,7 @@ struct OptDffWorker | ||||||
| 					// The D input path is effectively useless, so remove it (this will be a const-input D latch, SR latch, or a const driver).
 | 					// The D input path is effectively useless, so remove it (this will be a const-input D latch, SR latch, or a const driver).
 | ||||||
| 					log("Handling D = Q on %s (%s) from module %s (removing D path).\n", | 					log("Handling D = Q on %s (%s) from module %s (removing D path).\n", | ||||||
| 							log_id(cell), log_id(cell->type), log_id(module)); | 							log_id(cell), log_id(cell->type), log_id(module)); | ||||||
| 					ff.has_clk = ff.has_ce = false; | 					ff.has_gclk = ff.has_clk = ff.has_ce = false; | ||||||
| 					changed = true; | 					changed = true; | ||||||
| 				} | 				} | ||||||
| 			} | 			} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue