mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
Fix typo
This commit is contained in:
parent
6d74cf0d2b
commit
3775763f51
|
@ -373,7 +373,7 @@ void json_import(Design *design, string &modname, JsonNode *node)
|
||||||
wire = module->addWire(net_name, GetSize(bits_node->data_array));
|
wire = module->addWire(net_name, GetSize(bits_node->data_array));
|
||||||
|
|
||||||
if (net_node->data_dict.count("upto") != 0) {
|
if (net_node->data_dict.count("upto") != 0) {
|
||||||
JsonNode *val = net_node->data_dict.at("offset");
|
JsonNode *val = net_node->data_dict.at("upto");
|
||||||
if (val->type == 'N')
|
if (val->type == 'N')
|
||||||
wire->upto = val->data_number != 0;
|
wire->upto = val->data_number != 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue