mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	xilinx: Still map LUT7/LUT8 to Xilinx specific primitives.
Then if targeting vpr map all the Xilinx specific LUTs back into generic Yosys LUTs.
This commit is contained in:
		
							parent
							
								
									9850de405a
								
							
						
					
					
						commit
						b111ea1228
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		|  | @ -235,10 +235,9 @@ struct SynthXilinxPass : public Pass | ||||||
| 
 | 
 | ||||||
| 		if (check_label(active, run_from, run_to, "map_cells")) | 		if (check_label(active, run_from, run_to, "map_cells")) | ||||||
| 		{ | 		{ | ||||||
|  | 			Pass::call(design, "techmap -map +/xilinx/cells_map.v"); | ||||||
| 			if (vpr) | 			if (vpr) | ||||||
| 			    Pass::call(design, "techmap -D NO_LUT -map +/xilinx/cells_map.v"); | 			    Pass::call(design, "techmap -map +/xilinx/lut2lut.v"); | ||||||
| 			else |  | ||||||
| 			    Pass::call(design, "techmap -map +/xilinx/cells_map.v"); |  | ||||||
| 			Pass::call(design, "dffinit -ff FDRE Q INIT -ff FDCE Q INIT -ff FDPE Q INIT"); | 			Pass::call(design, "dffinit -ff FDRE Q INIT -ff FDCE Q INIT -ff FDPE Q INIT"); | ||||||
| 			Pass::call(design, "clean"); | 			Pass::call(design, "clean"); | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue