mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	cmp2lcu: fail if `LUT_WIDTH < 2
This commit is contained in:
		
							parent
							
								
									34c9b83854
								
							
						
					
					
						commit
						7b09a20c0c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -19,7 +19,7 @@ output [Y_WIDTH-1:0] Y; | |||
| parameter _TECHMAP_CELLTYPE_ = ""; | ||||
| 
 | ||||
| generate | ||||
|     if (_TECHMAP_CELLTYPE_ == "") | ||||
|     if (_TECHMAP_CELLTYPE_ == "" || `LUT_WIDTH < 2) | ||||
|         wire _TECHMAP_FAIL_ = 1; | ||||
|     else if (_TECHMAP_CELLTYPE_ == "$lt") begin | ||||
|         // Transform $lt into $gt by swapping A and B | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue