mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	dfflibmap: add back tab and quote filters for good vibes
This commit is contained in:
		
							parent
							
								
									c6e1d461fa
								
							
						
					
					
						commit
						bf1f236998
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -92,6 +92,9 @@ static bool parse_next_state(const LibertyAst *cell, const LibertyAst *attr, std | |||
| 	auto expr = attr->value; | ||||
| 	auto cell_name = cell->args[0]; | ||||
| 
 | ||||
| 	for (size_t pos = expr.find_first_of("\"\t"); pos != std::string::npos; pos = expr.find_first_of("\"\t")) | ||||
| 		expr.erase(pos, 1); | ||||
| 
 | ||||
| 	// if this isn't an enable flop, the next_state variable is usually just the input pin name.
 | ||||
| 	if (expr[expr.size()-1] == '\'') { | ||||
| 		data_name = expr.substr(0, expr.size()-1); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue