clangformat
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
98b09c369f
commit
a9a9251e42
@ -1349,7 +1349,8 @@ class MachXO2Packer
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!found)
|
if (!found)
|
||||||
log_error("Unsupported frequency '%s' on %s '%s'\n", freq.c_str(), ci->type.c_str(ctx), ci->name.c_str(ctx));
|
log_error("Unsupported frequency '%s' on %s '%s'\n", freq.c_str(), ci->type.c_str(ctx),
|
||||||
|
ci->name.c_str(ctx));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -94,7 +94,8 @@ Property Arch::parse_lattice_param(const Property &val, IdString prop, int width
|
|||||||
if (int(val.str.size()) > width) {
|
if (int(val.str.size()) > width) {
|
||||||
for (auto b : val.str.substr(width)) {
|
for (auto b : val.str.substr(width)) {
|
||||||
if (b == Property::S1)
|
if (b == Property::S1)
|
||||||
log_error("Found bitvector value for property %s.%s with width greater than %d - perhaps a string was "
|
log_error("Found bitvector value for property %s.%s with width greater than %d - perhaps a string "
|
||||||
|
"was "
|
||||||
"converted to bits?\n",
|
"converted to bits?\n",
|
||||||
ci, nameOf(prop), width);
|
ci, nameOf(prop), width);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user