mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	ast: Substitute rvalues when parsing out print arguments
Apply the local substitutions stemming from process context when parsing out format arguments to `$display` or other statements.
This commit is contained in:
		
							parent
							
								
									d4d951657f
								
							
						
					
					
						commit
						2d0fc040cf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -759,7 +759,7 @@ struct AST_INTERNAL::ProcessGenerator
 | 
			
		|||
						arg.realtime = true;
 | 
			
		||||
					} else {
 | 
			
		||||
						arg.type = VerilogFmtArg::INTEGER;
 | 
			
		||||
						arg.sig = node->genRTLIL();
 | 
			
		||||
						arg.sig = node->genWidthRTLIL(-1, false, &subst_rvalue_map.stdmap());
 | 
			
		||||
						arg.signed_ = is_signed;
 | 
			
		||||
					}
 | 
			
		||||
					args.push_back(arg);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue