Program Listing for File FPGARemapper.h

Return to documentation for file (src/partition/refine/pipeline/FPGARemapper.h)

#ifndef PARTITION_REFINE_PIPELINE_FPGAREMAPPER_H_
#define PARTITION_REFINE_PIPELINE_FPGAREMAPPER_H_

#include "refine/core/RefineTypes.h"


class FPGARemapper {
 public:
  static int computeDistCut(bool force_topo, int max_hop,
                            const vector<vector<int>> &cut_weights,
                            const vector<vector<int>> &dist,
                            const vector<int> &mapping);

  static void FPGASwap(bool has_fix, bool force_topo, int max_hop,
                       const vector<vector<int>> &cut_weights,
                       const vector<vector<int>> &dist, vector<int> &mapping,
                       const vector<int> &fixed_assign, bool weighted);

  static void FPGASwapForMaxTDMDelay(const vector<vector<int>> &cut_weights,
                                     const fpga &fpgas, vector<int> &mapping);
};

#endif