aboutsummaryrefslogtreecommitdiffstats
path: root/machxo2/pack.cc
diff options
context:
space:
mode:
Diffstat (limited to 'machxo2/pack.cc')
-rw-r--r--machxo2/pack.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/machxo2/pack.cc b/machxo2/pack.cc
index 786a84d6..c745a1c0 100644
--- a/machxo2/pack.cc
+++ b/machxo2/pack.cc
@@ -142,6 +142,8 @@ static void set_net_constant(Context *ctx, NetInfo *orig, NetInfo *constnet, boo
log_info("FACADE_FF %s is driven by a constant\n", uc->name.c_str(ctx));
std::unique_ptr<CellInfo> lc = create_machxo2_cell(ctx, id_FACADE_SLICE, uc->name.str(ctx) + "_CONST");
+ std::copy(uc->attrs.begin(), uc->attrs.end(), std::inserter(lc->attrs, lc->attrs.begin()));
+
dff_to_lc(ctx, uc, lc.get(), true);
packed_cells.insert(uc->name);