Use fast path for 32-bit Const integer constructor in more places
This commit is contained in:
@@ -258,7 +258,7 @@ Const json_parse_attr_param_value(JsonNode *node)
|
||||
}
|
||||
} else
|
||||
if (node->type == 'N') {
|
||||
value = Const(node->data_number, 32);
|
||||
value = Const(node->data_number);
|
||||
if (node->data_number < 0)
|
||||
value.flags |= RTLIL::CONST_FLAG_SIGNED;
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user