mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	For abc9, run clkpart before ff_map and after abc9
This commit is contained in:
		
							parent
							
								
									7b2bccb3d3
								
							
						
					
					
						commit
						eb11c06a69
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -513,6 +513,7 @@ struct SynthXilinxPass : public ScriptPass | |||
| 
 | ||||
| 		if (check_label("map_ffs")) { | ||||
| 			if (abc9 || help_mode) { | ||||
| 				run("clkpart -set_attr clkpart 1", "('-abc9' only)"); | ||||
| 				run("techmap -map " + ff_map_file, "('-abc9' only)"); | ||||
| 			} | ||||
| 		} | ||||
|  | @ -537,6 +538,7 @@ struct SynthXilinxPass : public ScriptPass | |||
| 				else | ||||
| 					abc9_opts += " -lut +/xilinx/abc9_xc7.lut"; | ||||
| 				run("abc9" + abc9_opts); | ||||
| 				run("clkpart -unpart clkpart"); | ||||
| 			} | ||||
| 			else { | ||||
| 				if (nowidelut) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue