blob: f143d1ed86327dc9eb4c575b0b658c9d628aaf3b [file] [log] [blame] [edit]
#ifndef RR_GRAPH_SBOX_H
#define RR_GRAPH_SBOX_H
#include <vector>
std::vector<int> get_switch_box_tracks(const int from_i,
const int from_j,
const int from_track,
const t_rr_type from_type,
const int to_i,
const int to_j,
const t_rr_type to_type,
const std::vector<int>*** switch_block_conn);
vtr::NdMatrix<std::vector<int>, 3> alloc_and_load_switch_block_conn(size_t nodes_per_chan,
enum e_switch_block_type switch_block_type,
int Fs);
int get_simple_switch_block_track(enum e_side from_side, enum e_side to_side, int from_track, enum e_switch_block_type switch_block_type, int nodes_per_chan);
#endif