mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	ice40: synth_ice40 cleanup
This commit is contained in:
		
							parent
							
								
									5d5029fa75
								
							
						
					
					
						commit
						23c53a6bdd
					
				
					 1 changed files with 3 additions and 13 deletions
				
			
		|  | @ -412,19 +412,9 @@ struct SynthIce40Pass : public ScriptPass | ||||||
| 		if (check_label("map_cells")) | 		if (check_label("map_cells")) | ||||||
| 		{ | 		{ | ||||||
| 			if (help_mode) | 			if (help_mode) | ||||||
| 				run("techmap [-map +/ice40/ff_map.v] [-map +/ice40/cells_map.v]", "(skip if -abc9; skip if -vpr)"); | 				run("techmap -map +/ice40/cells_map.v", "(skip if -vpr)"); | ||||||
| 			else if (vpr) | 			else if (!vpr) | ||||||
| 				run("techmap -map +/ice40/ff_map.v"); | 				run("techmap -map +/ice40/cells_map.v"); | ||||||
| 			else { |  | ||||||
| 				std::string techmap_args; |  | ||||||
| 				if (!abc9) |  | ||||||
| 					techmap_args += " -map +/ice40/ff_map.v"; |  | ||||||
| 				if (!vpr) |  | ||||||
| 					techmap_args += " -map +/ice40/cells_map.v"; |  | ||||||
| 				if (!techmap_args.empty()) |  | ||||||
| 					run("techmap " + techmap_args); |  | ||||||
| 			} |  | ||||||
| 
 |  | ||||||
| 			run("clean"); | 			run("clean"); | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue