mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	bugfix in blif front-end
This commit is contained in:
		
							parent
							
								
									83499dc1ba
								
							
						
					
					
						commit
						6061b7bd58
					
				
					 2 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -207,10 +207,10 @@ void parse_blif(RTLIL::Design *design, std::istream &f, std::string dff_name)
 | 
			
		|||
				RTLIL::SigSpec input_sig, output_sig;
 | 
			
		||||
				while ((p = strtok(NULL, " \t\r\n")) != NULL) {
 | 
			
		||||
					RTLIL::Wire *wire;
 | 
			
		||||
					if (module->wires_.count(stringf("\\%s", p)) > 0) {
 | 
			
		||||
						wire = module->wires_.at(stringf("\\%s", p));
 | 
			
		||||
					if (module->wires_.count(RTLIL::escape_id(p)) > 0) {
 | 
			
		||||
						wire = module->wires_.at(RTLIL::escape_id(p));
 | 
			
		||||
					} else {
 | 
			
		||||
						wire = module->addWire(stringf("\\%s", p));
 | 
			
		||||
						wire = module->addWire(RTLIL::escape_id(p));
 | 
			
		||||
					}
 | 
			
		||||
					input_sig.append(wire);
 | 
			
		||||
				}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue