mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Fixed dfflibmap for cell libraries with no set-reset-ff
This commit is contained in:
		
							parent
							
								
									5e39e6ece2
								
							
						
					
					
						commit
						cdf0f10760
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -342,7 +342,7 @@ static bool expand_cellmap(std::string pattern, std::string inv) | ||||||
| 
 | 
 | ||||||
| static void map_sr_to_arst(const char *from, const char *to) | static void map_sr_to_arst(const char *from, const char *to) | ||||||
| { | { | ||||||
| 	if (cell_mappings.count(to) > 0) | 	if (!cell_mappings.count(from) || cell_mappings.count(to) > 0) | ||||||
| 		return; | 		return; | ||||||
| 
 | 
 | ||||||
| 	char from_clk_pol = from[8], from_set_pol = from[9], from_clr_pol = from[10]; | 	char from_clk_pol = from[8], from_set_pol = from[9], from_clr_pol = from[10]; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue