mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-30 19:22:31 +00:00 
			
		
		
		
	celltypes: Fix $buf eval
				
					
				
			This commit is contained in:
		
							parent
							
								
									5f8d7ff170
								
							
						
					
					
						commit
						3a1b003cc3
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -381,11 +381,10 @@ struct CellTypes | |||
| 		HANDLE_CELL_TYPE(modfloor) | ||||
| 		HANDLE_CELL_TYPE(pow) | ||||
| 		HANDLE_CELL_TYPE(pos) | ||||
| 		HANDLE_CELL_TYPE(buf) | ||||
| 		HANDLE_CELL_TYPE(neg) | ||||
| #undef HANDLE_CELL_TYPE | ||||
| 
 | ||||
| 		if (type == ID($_BUF_)) | ||||
| 		if (type.in(ID($_BUF_), ID($buf))) | ||||
| 			return arg1; | ||||
| 		if (type == ID($_NOT_)) | ||||
| 			return eval_not(arg1); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue