mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Add $bmux and $demux cells.
This commit is contained in:
		
							parent
							
								
									db33b1e535
								
							
						
					
					
						commit
						93508d58da
					
				
					 25 changed files with 694 additions and 49 deletions
				
			
		| 
						 | 
				
			
			@ -1188,6 +1188,8 @@ struct FirrtlBackend : public Backend {
 | 
			
		|||
		log("Write a FIRRTL netlist of the current design.\n");
 | 
			
		||||
		log("The following commands are executed by this command:\n");
 | 
			
		||||
		log("        pmuxtree\n");
 | 
			
		||||
		log("        bmuxmap\n");
 | 
			
		||||
		log("        demuxmap\n");
 | 
			
		||||
		log("\n");
 | 
			
		||||
	}
 | 
			
		||||
	void execute(std::ostream *&f, std::string filename, std::vector<std::string> args, RTLIL::Design *design) override
 | 
			
		||||
| 
						 | 
				
			
			@ -1210,7 +1212,9 @@ struct FirrtlBackend : public Backend {
 | 
			
		|||
		log_header(design, "Executing FIRRTL backend.\n");
 | 
			
		||||
		log_push();
 | 
			
		||||
 | 
			
		||||
		Pass::call(design, stringf("pmuxtree"));
 | 
			
		||||
		Pass::call(design, "pmuxtree");
 | 
			
		||||
		Pass::call(design, "bmuxmap");
 | 
			
		||||
		Pass::call(design, "demuxmap");
 | 
			
		||||
 | 
			
		||||
		namecache.clear();
 | 
			
		||||
		autoid_counter = 0;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue