mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Optionally suppress output from display system tasks in read_verilog
This commit is contained in:
		
							parent
							
								
									510d137996
								
							
						
					
					
						commit
						3ed9030eb4
					
				
					 4 changed files with 35 additions and 27 deletions
				
			
		| 
						 | 
				
			
			@ -45,7 +45,7 @@ namespace AST {
 | 
			
		|||
 | 
			
		||||
// instantiate global variables (private API)
 | 
			
		||||
namespace AST_INTERNAL {
 | 
			
		||||
	bool flag_dump_ast1, flag_dump_ast2, flag_no_dump_ptr, flag_dump_vlog1, flag_dump_vlog2, flag_dump_rtlil, flag_nolatches, flag_nomeminit;
 | 
			
		||||
	bool flag_nodisplay, flag_dump_ast1, flag_dump_ast2, flag_no_dump_ptr, flag_dump_vlog1, flag_dump_vlog2, flag_dump_rtlil, flag_nolatches, flag_nomeminit;
 | 
			
		||||
	bool flag_nomem2reg, flag_mem2reg, flag_noblackbox, flag_lib, flag_nowb, flag_noopt, flag_icells, flag_pwires, flag_autowire;
 | 
			
		||||
	AstNode *current_ast, *current_ast_mod;
 | 
			
		||||
	std::map<std::string, AstNode*> current_scope;
 | 
			
		||||
| 
						 | 
				
			
			@ -1320,11 +1320,12 @@ static void rename_in_package_stmts(AstNode *pkg)
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
// create AstModule instances for all modules in the AST tree and add them to 'design'
 | 
			
		||||
void AST::process(RTLIL::Design *design, AstNode *ast, bool dump_ast1, bool dump_ast2, bool no_dump_ptr, bool dump_vlog1, bool dump_vlog2, bool dump_rtlil,
 | 
			
		||||
void AST::process(RTLIL::Design *design, AstNode *ast, bool nodisplay, bool dump_ast1, bool dump_ast2, bool no_dump_ptr, bool dump_vlog1, bool dump_vlog2, bool dump_rtlil,
 | 
			
		||||
		bool nolatches, bool nomeminit, bool nomem2reg, bool mem2reg, bool noblackbox, bool lib, bool nowb, bool noopt, bool icells, bool pwires, bool nooverwrite, bool overwrite, bool defer, bool autowire)
 | 
			
		||||
{
 | 
			
		||||
	current_ast = ast;
 | 
			
		||||
	current_ast_mod = nullptr;
 | 
			
		||||
	flag_nodisplay = nodisplay;
 | 
			
		||||
	flag_dump_ast1 = dump_ast1;
 | 
			
		||||
	flag_dump_ast2 = dump_ast2;
 | 
			
		||||
	flag_no_dump_ptr = no_dump_ptr;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue