diff options
author | myrtle <gatecat@ds0.me> | 2022-07-18 08:39:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-18 08:39:05 +0100 |
commit | 5667113f8a8f23cf0385a3e0ae88cd844e622443 (patch) | |
tree | fb27cb7b7d8a3a79d7d1b14049396a9cf2596dd6 /gowin/pack.cc | |
parent | 664cec54b92844745e21a4e86dcf8e3cca09d781 (diff) | |
parent | ecddac7b18526940db529389b7efdae299b7dd12 (diff) | |
download | nextpnr-5667113f8a8f23cf0385a3e0ae88cd844e622443.tar.gz nextpnr-5667113f8a8f23cf0385a3e0ae88cd844e622443.tar.bz2 nextpnr-5667113f8a8f23cf0385a3e0ae88cd844e622443.zip |
Merge pull request #998 from yrabbit/clock-wip
gowin: add a separate router for the clocks
Diffstat (limited to 'gowin/pack.cc')
-rw-r--r-- | gowin/pack.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gowin/pack.cc b/gowin/pack.cc index 9f4b54e2..dbf949d4 100644 --- a/gowin/pack.cc +++ b/gowin/pack.cc @@ -26,6 +26,8 @@ #include "log.h" #include "util.h" +#include "globals.h" + NEXTPNR_NAMESPACE_BEGIN static void make_dummy_alu(Context *ctx, int alu_idx, CellInfo *ci, CellInfo *packed_head, @@ -1098,6 +1100,7 @@ bool Arch::pack() Context *ctx = getCtx(); try { log_break(); + pre_pack(ctx); pack_constants(ctx); pack_sram(ctx); pack_gsr(ctx); @@ -1108,6 +1111,7 @@ bool Arch::pack() pack_alus(ctx); pack_lut_lutffs(ctx); pack_nonlut_ffs(ctx); + post_pack(ctx); ctx->settings[id_pack] = 1; ctx->assignArchInfo(); log_info("Checksum: 0x%08x\n", ctx->checksum()); |