mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-30 19:22:31 +00:00 
			
		
		
		
	Use hex addresses in smtbmc vcd mem traces
This commit is contained in:
		
							parent
							
								
									1a6c02a532
								
							
						
					
					
						commit
						fbd52ec6dd
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -637,7 +637,7 @@ def write_vcd_trace(steps_start, steps_stop, index): | |||
|                 assert len(tdata) == len(rdata) | ||||
| 
 | ||||
|                 netpath = mempath[:] | ||||
|                 netpath[-1] += "<%d>" % int(addr, 2) | ||||
|                 netpath[-1] += "<%0*x>" % ((len(addr)+3) // 4, int(addr, 2)) | ||||
|                 vcd.add_net([topmod] + netpath, width) | ||||
| 
 | ||||
|                 for i in range(steps_start, steps_stop): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue