File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ using namespace std;
22
22
23
23
#include " fasm.h"
24
24
25
+ #include " post_routing_pb_pin_fixup.h"
26
+
25
27
/*
26
28
* Exit codes to signal success/failure to scripts
27
29
* calling vpr
@@ -79,6 +81,17 @@ int main(int argc, const char **argv) {
79
81
bool flow_succeeded = false ;
80
82
flow_succeeded = vpr_flow (vpr_setup, Arch);
81
83
84
+ /* Sync netlist to the actual routing (necessary if there are block
85
+ ports with equivalent pins) */
86
+ if (flow_succeeded) {
87
+ sync_netlists_to_routing (g_vpr_ctx.device (),
88
+ g_vpr_ctx.mutable_atom (),
89
+ g_vpr_ctx.mutable_clustering (),
90
+ g_vpr_ctx.placement (),
91
+ g_vpr_ctx.routing (),
92
+ vpr_setup.PackerOpts .pack_verbosity > 2 );
93
+ }
94
+
82
95
/* Actually write output FASM file. */
83
96
flow_succeeded = write_fasm ();
84
97
if (!flow_succeeded) {
You can’t perform that action at this time.
0 commit comments