mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-29 18:52:30 +00:00 
			
		
		
		
	Ignore $scopeinfo in opt_merge
This commit is contained in:
		
							parent
							
								
									9288107f43
								
							
						
					
					
						commit
						bfd9cf63db
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -272,6 +272,9 @@ struct OptMergeWorker | |||
| 				if ((!mode_share_all && !ct.cell_known(cell->type)) || !cell->known()) | ||||
| 					continue; | ||||
| 
 | ||||
| 				if (cell->type == ID($scopeinfo)) | ||||
| 					continue; | ||||
| 
 | ||||
| 				uint64_t hash = hash_cell_parameters_and_connections(cell); | ||||
| 				auto r = sharemap.insert(std::make_pair(hash, cell)); | ||||
| 				if (!r.second) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue