aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/arch.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-07-01 13:12:38 +0100
committerGitHub <noreply@github.com>2021-07-01 13:12:38 +0100
commitddff2e2e5e940ca32bc34b401ea37b71cefa4ab9 (patch)
tree3d31531cfc5afcee31491b7dbff5ed236f38881a /fpga_interchange/arch.cc
parent79ab283890eb3ccc89bb4b409ea648f34eb58407 (diff)
parent006a40a3532830857d7bd88145013e1dc14ee934 (diff)
downloadnextpnr-ddff2e2e5e940ca32bc34b401ea37b71cefa4ab9.tar.gz
nextpnr-ddff2e2e5e940ca32bc34b401ea37b71cefa4ab9.tar.bz2
nextpnr-ddff2e2e5e940ca32bc34b401ea37b71cefa4ab9.zip
Merge pull request #744 from YosysHQ/gatecat/const-in-macro
interchange: Fix handling of constants in macros
Diffstat (limited to 'fpga_interchange/arch.cc')
-rw-r--r--fpga_interchange/arch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpga_interchange/arch.cc b/fpga_interchange/arch.cc
index e9bc4559..be40ddfd 100644
--- a/fpga_interchange/arch.cc
+++ b/fpga_interchange/arch.cc
@@ -754,8 +754,8 @@ bool Arch::getBudgetOverride(const NetInfo *net_info, const PortRef &sink, delay
bool Arch::pack()
{
decode_lut_cells();
- merge_constant_nets();
expand_macros();
+ merge_constant_nets();
pack_ports();
pack_default_conns();
pack_cluster();