mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-29 18:52:30 +00:00 
			
		
		
		
	Handle latch symbols too
This commit is contained in:
		
							parent
							
								
									5a593ff41c
								
							
						
					
					
						commit
						02f603ac1a
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		|  | @ -186,7 +186,7 @@ static void parse_aiger_ascii(RTLIL::Design *design, std::istream &f, std::strin | |||
| 
 | ||||
|     std::string s; | ||||
|     for (int c = f.peek(); c != EOF; c = f.peek(), ++line_count) { | ||||
|         if (c == 'i' || c == 'o') { | ||||
|         if (c == 'i' || c == 'l' || c == 'o') { | ||||
|             f.ignore(1); | ||||
|             if (!(f >> l1 >> s)) | ||||
|                 log_error("Line %d cannot be interpreted as a symbol entry!\n", line_count); | ||||
|  | @ -202,8 +202,6 @@ static void parse_aiger_ascii(RTLIL::Design *design, std::istream &f, std::strin | |||
| 
 | ||||
|             module->rename(wire, stringf("\\%s", s.c_str())); | ||||
|         } | ||||
|         else if (c == 'l') { | ||||
|         } | ||||
|         else if (c == 'b' || c == 'j' || c == 'f') { | ||||
|             // TODO
 | ||||
|         } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue