aboutsummaryrefslogtreecommitdiffstats
path: root/nexus
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2021-01-28 16:10:22 +0000
committerGitHub <noreply@github.com>2021-01-28 16:10:22 +0000
commit15b2852b916c1299dfc1d91a217de3060701bfbe (patch)
tree8e7ffbce4b7d253f05d0bb58ea6430aae8e1b065 /nexus
parent0d9790421699a22fc6a5962b41910c3b7d089353 (diff)
parent94e8847d674388c3c8ac663fa4912bb8029b2951 (diff)
downloadnextpnr-15b2852b916c1299dfc1d91a217de3060701bfbe.tar.gz
nextpnr-15b2852b916c1299dfc1d91a217de3060701bfbe.tar.bz2
nextpnr-15b2852b916c1299dfc1d91a217de3060701bfbe.zip
Merge pull request #556 from YosysHQ/dave/cleanup
General opportunistic cleanup
Diffstat (limited to 'nexus')
-rw-r--r--nexus/arch.h2
-rw-r--r--nexus/pack.cc3
2 files changed, 2 insertions, 3 deletions
diff --git a/nexus/arch.h b/nexus/arch.h
index e9984ee6..8952ba6f 100644
--- a/nexus/arch.h
+++ b/nexus/arch.h
@@ -1354,7 +1354,7 @@ struct Arch : BaseCtx
void post_place_opt();
// -------------------------------------------------
- // Assign architecure-specific arguments to nets and cells, which must be
+ // Assign architecture-specific arguments to nets and cells, which must be
// called between packing or further
// netlist modifications, and validity checks
void assignArchInfo();
diff --git a/nexus/pack.cc b/nexus/pack.cc
index 99a6e214..df479ef5 100644
--- a/nexus/pack.cc
+++ b/nexus/pack.cc
@@ -1700,9 +1700,8 @@ struct NexusPacker
: std::string("USED_AS_LOWER_BIT_GENERATION");
}
// Create final mult36 if needed
- CellInfo *mult36 = nullptr;
if (mult36_used) {
- mult36 = create_dsp_cell(ci->name, id_MULT36_CORE, preadd9[0], 6, 6);
+ create_dsp_cell(ci->name, id_MULT36_CORE, preadd9[0], 6, 6);
}
// Configure output registers