mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Merge pull request #4892 from YosysHQ/emil/fix-memory-libmap-dangling-cells
memory_libmap: update indices on design modification
This commit is contained in:
		
						commit
						df3c62a4ed
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -2258,6 +2258,8 @@ struct MemoryLibMapPass : public Pass {
 | 
			
		|||
					log("using FF mapping for memory %s.%s\n", log_id(module->name), log_id(mem.memid));
 | 
			
		||||
				} else {
 | 
			
		||||
					map.emit(map.cfgs[idx]);
 | 
			
		||||
					// Rebuild indices after modifying module
 | 
			
		||||
					worker = MapWorker(module);
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue