mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	equiv_simple: Do not special-case flip-flop types in cone expansion
If there's an asynchronous flip-flop type, it will be caught by not having a synchronous SAT model later on. Otherwise we can support all flip-flops.
This commit is contained in:
		
							parent
							
								
									26644ea779
								
							
						
					
					
						commit
						dbf11da50a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -60,7 +60,7 @@ struct EquivSimpleWorker
 | 
			
		|||
		for (auto &conn : cell->connections())
 | 
			
		||||
			if (yosys_celltypes.cell_input(cell->type, conn.first))
 | 
			
		||||
				for (auto bit : sigmap(conn.second)) {
 | 
			
		||||
					if (cell->type.in(ID($dff), ID($_DFF_P_), ID($_DFF_N_), ID($ff), ID($_FF_))) {
 | 
			
		||||
					if (RTLIL::builtin_ff_cell_types().count(cell->type)) {
 | 
			
		||||
						if (!conn.first.in(ID::CLK, ID::C))
 | 
			
		||||
							next_seed.insert(bit);
 | 
			
		||||
					} else
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue