mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 19:52:31 +00:00 
			
		
		
		
	Alphabetically sort port names in "show" output
This commit is contained in:
		
							parent
							
								
									f56b92818b
								
							
						
					
					
						commit
						f7bb8f244b
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -355,6 +355,9 @@ struct ShowWorker | |||
| 					out_ports.push_back(conn.first); | ||||
| 			} | ||||
| 
 | ||||
| 			std::sort(in_ports.begin(), in_ports.end(), RTLIL::sort_by_id_str()); | ||||
| 			std::sort(out_ports.begin(), out_ports.end(), RTLIL::sort_by_id_str()); | ||||
| 
 | ||||
| 			std::string label_string = "{{"; | ||||
| 
 | ||||
| 			for (auto &p : in_ports) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue