mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-20 12:53:39 +00:00
further improved const function support
This commit is contained in:
parent
5281562d0e
commit
7c8a7b2131
3 changed files with 22 additions and 17 deletions
|
@ -202,7 +202,7 @@ namespace AST
|
|||
|
||||
// additional functionality for evaluating constant functions
|
||||
struct varinfo_t { RTLIL::Const val; int offset; bool is_signed; };
|
||||
bool has_const_only_constructs();
|
||||
bool has_const_only_constructs(bool &recommend_const_eval);
|
||||
void replace_variables(std::map<std::string, varinfo_t> &variables, AstNode *fcall);
|
||||
AstNode *eval_const_function(AstNode *fcall);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue