aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/pack.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2022-03-31 10:49:00 +0100
committergatecat <gatecat@ds0.me>2022-03-31 10:49:00 +0100
commit2ed68a21db9d04e5688c4c0784b0817f3485926e (patch)
treeffb8bca0933afaee3bc906712b0f3f91fc41b625 /nexus/pack.cc
parent219310b20387a0dd781d4c1b587d04be99148a34 (diff)
downloadnextpnr-2ed68a21db9d04e5688c4c0784b0817f3485926e.tar.gz
nextpnr-2ed68a21db9d04e5688c4c0784b0817f3485926e.tar.bz2
nextpnr-2ed68a21db9d04e5688c4c0784b0817f3485926e.zip
clangformat
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'nexus/pack.cc')
-rw-r--r--nexus/pack.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/nexus/pack.cc b/nexus/pack.cc
index 4eccc634..0870bf40 100644
--- a/nexus/pack.cc
+++ b/nexus/pack.cc
@@ -41,7 +41,7 @@ Property Arch::parse_lattice_param_from_cell(const CellInfo *ci, IdString prop,
}
// Parse a possibly-Lattice-style (C literal in Verilog string) style parameter
-Property Arch::parse_lattice_param(const Property &val, IdString prop, int width, const char* ci) const
+Property Arch::parse_lattice_param(const Property &val, IdString prop, int width, const char *ci) const
{
if (val.is_string) {
const std::string &s = val.str;
@@ -84,8 +84,7 @@ Property Arch::parse_lattice_param(const Property &val, IdString prop, int width
for (auto b : temp.str.substr(width)) {
if (b == Property::S1)
- log_error("Found value for property %s.%s with width greater than %d\n", ci, nameOf(prop),
- width);
+ log_error("Found value for property %s.%s with width greater than %d\n", ci, nameOf(prop), width);
}
temp.update_intval();
return temp.extract(0, width);