mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Fix $dlatch handling in async2sync
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
		
							parent
							
								
									6216e45eda
								
							
						
					
					
						commit
						10e57f3880
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -198,6 +198,7 @@ struct Async2syncPass : public Pass {
 | 
			
		|||
						module->addMux(NEW_ID, sig_d, new_q, sig_en, sig_q);
 | 
			
		||||
					}
 | 
			
		||||
 | 
			
		||||
					cell->setPort("\\D", sig_q);
 | 
			
		||||
					cell->setPort("\\Q", new_q);
 | 
			
		||||
					cell->unsetPort("\\EN");
 | 
			
		||||
					cell->unsetParam("\\EN_POLARITY");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue