diff options
| author | Clifford Wolf <clifford@clifford.at> | 2013-06-10 13:19:04 +0200 | 
|---|---|---|
| committer | Clifford Wolf <clifford@clifford.at> | 2013-06-10 13:19:04 +0200 | 
| commit | db98a18edb02a5c3a0c3f26efec0e01f8232790a (patch) | |
| tree | 2f1d2758fe775d7d39b0a09561525681f9c6452f /frontends/ast/ast.h | |
| parent | af79b4bd9827ec0c8aff284a44e861ab0d0efff1 (diff) | |
| download | yosys-db98a18edb02a5c3a0c3f26efec0e01f8232790a.tar.gz yosys-db98a18edb02a5c3a0c3f26efec0e01f8232790a.tar.bz2 yosys-db98a18edb02a5c3a0c3f26efec0e01f8232790a.zip | |
Enabled AST/Verilog front-end optimizations per default
Diffstat (limited to 'frontends/ast/ast.h')
| -rw-r--r-- | frontends/ast/ast.h | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/frontends/ast/ast.h b/frontends/ast/ast.h index acf10f9ad..c8de580e3 100644 --- a/frontends/ast/ast.h +++ b/frontends/ast/ast.h @@ -190,13 +190,13 @@ namespace AST  	};  	// process an AST tree (ast must point to an AST_DESIGN node) and generate RTLIL code -	void process(RTLIL::Design *design, AstNode *ast, bool dump_ast = false, bool dump_ast_diff = false, bool dump_vlog = false, bool nolatches = false, bool nomem2reg = false, bool mem2reg = false, bool lib = false); +	void process(RTLIL::Design *design, AstNode *ast, bool dump_ast = false, bool dump_ast_diff = false, bool dump_vlog = false, bool nolatches = false, bool nomem2reg = false, bool mem2reg = false, bool lib = false, bool noopt = false);  	// parametric modules are supported directly by the AST library  	// therfore we need our own derivate of RTLIL::Module with overloaded virtual functions  	struct AstModule : RTLIL::Module {  		AstNode *ast; -		bool nolatches, nomem2reg, mem2reg, lib; +		bool nolatches, nomem2reg, mem2reg, lib, noopt;  		virtual ~AstModule();  		virtual RTLIL::IdString derive(RTLIL::Design *design, std::map<RTLIL::IdString, RTLIL::Const> parameters);  		virtual void update_auto_wires(std::map<RTLIL::IdString, int> auto_sizes); @@ -218,7 +218,7 @@ namespace AST  namespace AST_INTERNAL  {  	// internal state variables -	extern bool flag_dump_ast, flag_dump_ast_diff, flag_nolatches, flag_nomem2reg, flag_mem2reg, flag_lib; +	extern bool flag_dump_ast, flag_dump_ast_diff, flag_nolatches, flag_nomem2reg, flag_mem2reg, flag_lib, flag_noopt;  	extern AST::AstNode *current_ast, *current_ast_mod;  	extern std::map<std::string, AST::AstNode*> current_scope;  	extern RTLIL::SigSpec *genRTLIL_subst_from, *genRTLIL_subst_to, ignoreThisSignalsInInitial; | 
