mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Add bwmuxmap pass
This commit is contained in:
		
							parent
							
								
									7203ba7bc1
								
							
						
					
					
						commit
						be752a20dc
					
				
					 7 changed files with 76 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1417,6 +1417,7 @@ struct BtorBackend : public Backend {
 | 
			
		|||
		log_push();
 | 
			
		||||
		Pass::call(design, "bmuxmap");
 | 
			
		||||
		Pass::call(design, "demuxmap");
 | 
			
		||||
		Pass::call(design, "bwmuxmap");
 | 
			
		||||
		log_pop();
 | 
			
		||||
 | 
			
		||||
		size_t argidx;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1215,6 +1215,7 @@ struct FirrtlBackend : public Backend {
 | 
			
		|||
		Pass::call(design, "pmuxtree");
 | 
			
		||||
		Pass::call(design, "bmuxmap");
 | 
			
		||||
		Pass::call(design, "demuxmap");
 | 
			
		||||
		Pass::call(design, "bwmuxmap");
 | 
			
		||||
 | 
			
		||||
		namecache.clear();
 | 
			
		||||
		autoid_counter = 0;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1744,6 +1744,7 @@ struct Smt2Backend : public Backend {
 | 
			
		|||
		log_push();
 | 
			
		||||
		Pass::call(design, "bmuxmap");
 | 
			
		||||
		Pass::call(design, "demuxmap");
 | 
			
		||||
		Pass::call(design, "bwmuxmap");
 | 
			
		||||
		log_pop();
 | 
			
		||||
 | 
			
		||||
		size_t argidx;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -744,6 +744,7 @@ struct SmvBackend : public Backend {
 | 
			
		|||
		log_push();
 | 
			
		||||
		Pass::call(design, "bmuxmap");
 | 
			
		||||
		Pass::call(design, "demuxmap");
 | 
			
		||||
		Pass::call(design, "bwmuxmap");
 | 
			
		||||
		log_pop();
 | 
			
		||||
 | 
			
		||||
		size_t argidx;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2329,6 +2329,7 @@ struct VerilogBackend : public Backend {
 | 
			
		|||
		if (!noexpr) {
 | 
			
		||||
			Pass::call(design, "bmuxmap");
 | 
			
		||||
			Pass::call(design, "demuxmap");
 | 
			
		||||
			Pass::call(design, "bwmuxmap");
 | 
			
		||||
		}
 | 
			
		||||
		Pass::call(design, "clean_zerowidth");
 | 
			
		||||
		log_pop();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue