3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 06:03:23 +00:00

verilog: fix const func eval with upto variables

This commit is contained in:
Zachary Snow 2022-01-11 23:51:08 -07:00 committed by Zachary Snow
parent ca876e7c12
commit 90bb47d181
5 changed files with 99 additions and 3 deletions

View file

@ -268,6 +268,7 @@ namespace AST
struct varinfo_t {
RTLIL::Const val;
int offset;
bool range_swapped;
bool is_signed;
AstNode *arg = nullptr;
bool explicitly_sized;