mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Merge pull request #1721 from YosysHQ/dave/tribuf-unused
deminout: Don't demote inouts with unused bits
This commit is contained in:
		
						commit
						ddcd87b577
					
				
					 2 changed files with 15 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -121,8 +121,7 @@ struct DeminoutPass : public Pass {
 | 
			
		|||
									goto tribuf_bit;
 | 
			
		||||
							} else {
 | 
			
		||||
						tribuf_bit:
 | 
			
		||||
								if (bits_used.count(bit))
 | 
			
		||||
									new_input = true;
 | 
			
		||||
								new_input = true;
 | 
			
		||||
							}
 | 
			
		||||
						}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue