mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Merge pull request #2199 from YosysHQ/mmicko/sim_memory
sim - error when memrd and memwr detected
This commit is contained in:
		
						commit
						3fb5b4fd8a
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -163,7 +163,10 @@ struct SimInstance
 | 
			
		|||
 | 
			
		||||
				mem_database[cell] = mem;
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			if (cell->type.in(ID($memwr),ID($memrd)))
 | 
			
		||||
			{
 | 
			
		||||
				log_error("$memrd and $memwr cells have to be merged to stand-alone $mem cells (execute memory_collect pass)\n");
 | 
			
		||||
			}
 | 
			
		||||
			if (cell->type.in(ID($assert), ID($cover), ID($assume))) {
 | 
			
		||||
				formal_database.insert(cell);
 | 
			
		||||
			}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue