mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Added "techmap -share_map" option
This commit is contained in:
		
							parent
							
								
									019b301541
								
							
						
					
					
						commit
						20175afd29
					
				
					 2 changed files with 13 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -372,6 +372,11 @@ struct TechmapPass : public Pass {
 | 
			
		|||
		log("        transforms the internal RTL cells to the internal gate\n");
 | 
			
		||||
		log("        library.\n");
 | 
			
		||||
		log("\n");
 | 
			
		||||
		log("    -share_map filename\n");
 | 
			
		||||
		log("        like -map, but look for the file in the share directory (where the\n");
 | 
			
		||||
		log("        yosys data files are). this is mainly used internally when techmap\n");
 | 
			
		||||
		log("        is called from other commands.\n");
 | 
			
		||||
		log("\n");
 | 
			
		||||
		log("When a module in the map file has the 'techmap_celltype' attribute set, it will\n");
 | 
			
		||||
		log("match cells with a type that match the text value of this attribute.\n");
 | 
			
		||||
		log("\n");
 | 
			
		||||
| 
						 | 
				
			
			@ -423,6 +428,10 @@ struct TechmapPass : public Pass {
 | 
			
		|||
				map_files.push_back(args[++argidx]);
 | 
			
		||||
				continue;
 | 
			
		||||
			}
 | 
			
		||||
			if (args[argidx] == "-share_map" && argidx+1 < args.size()) {
 | 
			
		||||
				map_files.push_back(get_share_file_name(args[++argidx]));
 | 
			
		||||
				continue;
 | 
			
		||||
			}
 | 
			
		||||
			break;
 | 
			
		||||
		}
 | 
			
		||||
		extra_args(args, argidx, design);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue