mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Error out if -abc9 and -retime specified
This commit is contained in:
		
							parent
							
								
									27b27b8781
								
							
						
					
					
						commit
						6bbd286e03
					
				
					 3 changed files with 15 additions and 6 deletions
				
			
		|  | @ -227,6 +227,9 @@ struct SynthIce40Pass : public ScriptPass | |||
| 		if (device_opt != "hx" && device_opt != "lp" && device_opt !="u") | ||||
| 			log_cmd_error("Invalid or no device specified: '%s'\n", device_opt.c_str()); | ||||
| 
 | ||||
| 		if (abc == "abc9" && retime) | ||||
| 			log_cmd_error("-retime option not currently compatible with -abc9!\n"); | ||||
| 
 | ||||
| 		log_header(design, "Executing SYNTH_ICE40 pass.\n"); | ||||
| 		log_push(); | ||||
| 
 | ||||
|  | @ -296,7 +299,7 @@ struct SynthIce40Pass : public ScriptPass | |||
| 				run("techmap"); | ||||
| 			else | ||||
| 				run("techmap -map +/techmap.v -map +/ice40/arith_map.v"); | ||||
| 			if ((retime || help_mode) && abc != "abc9") | ||||
| 			if (retime || help_mode) | ||||
| 				run(abc + " -dff", "(only if -retime)"); | ||||
| 			run("ice40_opt"); | ||||
| 		} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue