mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	deminout: Consider $tribuf cells
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
		
							parent
							
								
									d3fe9465f3
								
							
						
					
					
						commit
						4c59447168
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -83,9 +83,9 @@ struct DeminoutPass : public Pass { | ||||||
| 						for (auto bit : sigmap(conn.second)) | 						for (auto bit : sigmap(conn.second)) | ||||||
| 							bits_used.insert(bit); | 							bits_used.insert(bit); | ||||||
| 
 | 
 | ||||||
| 					if (conn.first == "\\Y" && cell->type.in("$mux", "$pmux", "$_MUX_", "$_TBUF_")) | 					if (conn.first == "\\Y" && cell->type.in("$mux", "$pmux", "$_MUX_", "$_TBUF_", "$tribuf")) | ||||||
| 					{ | 					{ | ||||||
| 						bool tribuf = (cell->type == "$_TBUF_"); | 						bool tribuf = (cell->type == "$_TBUF_" || cell->type == "$tribuf"); | ||||||
| 
 | 
 | ||||||
| 						if (!tribuf) { | 						if (!tribuf) { | ||||||
| 							for (auto &c : cell->connections()) { | 							for (auto &c : cell->connections()) { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue