mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Added $logic_not handling to fsm_detect
This commit is contained in:
		
							parent
							
								
									c89ceee219
								
							
						
					
					
						commit
						b7535a6c75
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -89,6 +89,8 @@ static bool check_state_users(RTLIL::SigSpec sig) | |||
| 		RTLIL::Cell *cell = cellport.first; | ||||
| 		if (muxtree_cells.count(cell) > 0) | ||||
| 			continue; | ||||
| 		if (cell->type == "$logic_not" && assign_map(cell->getPort("\\A")) == sig) | ||||
| 			continue; | ||||
| 		if (cellport.second != "\\A" && cellport.second != "\\B") | ||||
| 			return false; | ||||
| 		if (!cell->hasPort("\\A") || !cell->hasPort("\\B") || !cell->hasPort("\\Y")) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue