mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Fix for abc9_test022
This commit is contained in:
		
							parent
							
								
									13e233217c
								
							
						
					
					
						commit
						b4321a31bb
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		|  | @ -277,8 +277,10 @@ struct XAigerWriter | ||||||
| 							} | 							} | ||||||
| 						} | 						} | ||||||
| 						if (is_output) { | 						if (is_output) { | ||||||
|  | 							input_bits.insert(b); | ||||||
| 							SigBit O = sigmap(b); | 							SigBit O = sigmap(b); | ||||||
| 							input_bits.insert(O); | 							if (O != b) | ||||||
|  | 								alias_map[O] = b; | ||||||
| 							undriven_bits.erase(O); | 							undriven_bits.erase(O); | ||||||
| 						} | 						} | ||||||
| 					} | 					} | ||||||
|  | @ -346,8 +348,10 @@ struct XAigerWriter | ||||||
| 
 | 
 | ||||||
| 						int offset = 0; | 						int offset = 0; | ||||||
| 						for (const auto &b : rhs.bits()) { | 						for (const auto &b : rhs.bits()) { | ||||||
|  | 							ci_bits.emplace_back(b, cell, port_name, offset++); | ||||||
| 							SigBit O = sigmap(b); | 							SigBit O = sigmap(b); | ||||||
| 							ci_bits.emplace_back(O, cell, port_name, offset++); | 							if (O != b) | ||||||
|  | 								alias_map[O] = b; | ||||||
| 							undriven_bits.erase(O); | 							undriven_bits.erase(O); | ||||||
| 						} | 						} | ||||||
| 					} | 					} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue