mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Closes #1714. Fix make failure when NDEBUG=1.
This commit is contained in:
		
							parent
							
								
									760096e8d2
								
							
						
					
					
						commit
						750e7a9a54
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		|  | @ -752,13 +752,11 @@ void reintegrate(RTLIL::Module *module) | ||||||
| 				continue; | 				continue; | ||||||
| 			} | 			} | ||||||
| 
 | 
 | ||||||
| #ifndef NDEBUG |  | ||||||
| 			RTLIL::Module* box_module = design->module(existing_cell->type); | 			RTLIL::Module* box_module = design->module(existing_cell->type); | ||||||
| 			IdString derived_type = box_module->derive(design, existing_cell->parameters); | 			IdString derived_type = box_module->derive(design, existing_cell->parameters); | ||||||
| 			RTLIL::Module* derived_module = design->module(derived_type); | 			RTLIL::Module* derived_module = design->module(derived_type); | ||||||
| 			log_assert(derived_module); | 			log_assert(derived_module); | ||||||
| 			log_assert(mapped_cell->type == stringf("$__boxid%d", derived_module->attributes.at("\\abc9_box_id").as_int())); | 			log_assert(mapped_cell->type == stringf("$__boxid%d", derived_module->attributes.at("\\abc9_box_id").as_int())); | ||||||
| #endif |  | ||||||
| 			mapped_cell->type = existing_cell->type; | 			mapped_cell->type = existing_cell->type; | ||||||
| 
 | 
 | ||||||
| 			RTLIL::Cell *cell = module->addCell(remap_name(mapped_cell->name), mapped_cell->type); | 			RTLIL::Cell *cell = module->addCell(remap_name(mapped_cell->name), mapped_cell->type); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue