mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Fixed handling of internal signals in show command
This commit is contained in:
		
							parent
							
								
									181b479e77
								
							
						
					
					
						commit
						2887e4305f
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -201,14 +201,14 @@ struct ShowWorker | ||||||
| 			const char *shape = "diamond"; | 			const char *shape = "diamond"; | ||||||
| 			if (it.second->port_input || it.second->port_output) | 			if (it.second->port_input || it.second->port_output) | ||||||
| 				shape = "octagon"; | 				shape = "octagon"; | ||||||
| 			if (it.first[0] == '\\') | 			if (it.first[0] == '\\') { | ||||||
| 				fprintf(f, "n%d [ shape=%s, label=\"%s\" ];\n", | 				fprintf(f, "n%d [ shape=%s, label=\"%s\" ];\n", | ||||||
| 						id2num(it.first), shape, escape(it.first)); | 						id2num(it.first), shape, escape(it.first)); | ||||||
| 				if (it.second->port_input) | 				if (it.second->port_input) | ||||||
| 					all_sources.insert(stringf("n%d", id2num(it.first))); | 					all_sources.insert(stringf("n%d", id2num(it.first))); | ||||||
| 				else if (it.second->port_output) | 				else if (it.second->port_output) | ||||||
| 					all_sinks.insert(stringf("n%d", id2num(it.first))); | 					all_sinks.insert(stringf("n%d", id2num(it.first))); | ||||||
| 			else { | 			} else { | ||||||
| 				wires_on_demand[stringf("n%d", id2num(it.first))] = it.first; | 				wires_on_demand[stringf("n%d", id2num(it.first))] = it.first; | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue