mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	read_aiger to ignore line after ands for ascii, not binary
This commit is contained in:
		
							parent
							
								
									430a7548bc
								
							
						
					
					
						commit
						9268a271fb
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -235,6 +235,7 @@ void AigerReader::parse_aiger_ascii()
 | 
			
		|||
        RTLIL::Wire *i2_wire = createWireIfNotExists(module, l3);
 | 
			
		||||
        module->addAndGate(NEW_ID, i1_wire, i2_wire, o_wire);
 | 
			
		||||
    }
 | 
			
		||||
    std::getline(f, line); // Ignore up to start of next line
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static unsigned parse_next_delta_literal(std::istream &f, unsigned ref)
 | 
			
		||||
| 
						 | 
				
			
			@ -342,8 +343,6 @@ void AigerReader::parse_aiger_binary()
 | 
			
		|||
        and_cell->setPort("\\B", i2_wire);
 | 
			
		||||
        and_cell->setPort("\\Y", o_wire);
 | 
			
		||||
    }
 | 
			
		||||
    std::getline(f, line); // Ignore up to start of next line
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
struct AigerFrontend : public Frontend {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue