mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Added missing dont_use handling for SR FFs to dfflibmap
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
		
							parent
							
								
									4a65b823db
								
							
						
					
					
						commit
						705c366a91
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -240,6 +240,10 @@ static void find_cell_sr(LibertyAst *ast, std::string cell_type, bool clkpol, bo
 | 
				
			||||||
		if (cell->id != "cell" || cell->args.size() != 1)
 | 
							if (cell->id != "cell" || cell->args.size() != 1)
 | 
				
			||||||
			continue;
 | 
								continue;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							LibertyAst *dn = cell->find("dont_use");
 | 
				
			||||||
 | 
							if (dn != NULL && dn->value == "true")
 | 
				
			||||||
 | 
								continue;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		LibertyAst *ff = cell->find("ff");
 | 
							LibertyAst *ff = cell->find("ff");
 | 
				
			||||||
		if (ff == NULL)
 | 
							if (ff == NULL)
 | 
				
			||||||
			continue;
 | 
								continue;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue