mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Fix opt_rmdff handling of $dlatchsr
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
		
							parent
							
								
									0d636964b8
								
							
						
					
					
						commit
						fba499b866
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -154,6 +154,9 @@ bool handle_dffsr(RTLIL::Module *mod, RTLIL::Cell *cell)
 | 
				
			||||||
	if (used_pol_set && used_pol_clr && pol_set != pol_clr)
 | 
						if (used_pol_set && used_pol_clr && pol_set != pol_clr)
 | 
				
			||||||
		return did_something;
 | 
							return did_something;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if (cell->type == "$dlatchsr")
 | 
				
			||||||
 | 
							return did_something;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	State unified_pol = used_pol_set ? pol_set : pol_clr;
 | 
						State unified_pol = used_pol_set ? pol_set : pol_clr;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (cell->type == "$dffsr")
 | 
						if (cell->type == "$dffsr")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue