aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/arch.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-07-01 11:45:23 +0100
committergatecat <gatecat@ds0.me>2021-07-01 11:45:23 +0100
commit006a40a3532830857d7bd88145013e1dc14ee934 (patch)
tree6919c4d0b4642bd1ede6639f658f3d380e8b9f07 /fpga_interchange/arch.cc
parent2124da44d87353dd0c7b0d2bf57ddf7789d9c39c (diff)
downloadnextpnr-006a40a3532830857d7bd88145013e1dc14ee934.tar.gz
nextpnr-006a40a3532830857d7bd88145013e1dc14ee934.tar.bz2
nextpnr-006a40a3532830857d7bd88145013e1dc14ee934.zip
interchange: Fix handling of constants in macros
Signed-off-by: gatecat <gatecat@ds0.me>
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 de172d90..c3d5e973 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();