Skip to content

Commit 8294d2d

Browse files
remove direct pin to other layer's track connectivity
1 parent cd680d7 commit 8294d2d

File tree

6 files changed

+113
-200
lines changed

6 files changed

+113
-200
lines changed

libs/libarchfpga/src/physical_types_util.cpp

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -609,24 +609,6 @@ bool is_opin(int ipin, t_physical_tile_type_ptr type) {
609609
return false;
610610
}
611611

612-
bool is_pin_conencted_to_layer(t_physical_tile_type_ptr type, int ipin, int from_layer, int to_layer, unsigned num_of_avail_layer) {
613-
// if type is empty, there is no pins
614-
if (type->is_empty()) {
615-
return false;
616-
}
617-
618-
// ipin should be a valid pin in physical type
619-
VTR_ASSERT(ipin < type->num_pins);
620-
unsigned pin_layer = from_layer + type->pin_layer_offset[ipin];
621-
// if pin_offset specifies a layer that doesn't exist in arch file, we do a wrap around
622-
pin_layer = (pin_layer < num_of_avail_layer) ? pin_layer : pin_layer % num_of_avail_layer;
623-
if (from_layer == to_layer || int(pin_layer) == to_layer) {
624-
return true;
625-
}
626-
627-
return false;
628-
}
629-
630612
std::string block_type_pin_index_to_name(t_physical_tile_type_ptr type, int pin_physical_num, bool is_flat) {
631613
int max_ptc = get_tile_pin_max_ptc(type, is_flat);
632614
VTR_ASSERT(pin_physical_num < max_ptc);

libs/libarchfpga/src/physical_types_util.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,6 @@
115115
///@brief Returns true if the absolute physical pin index is an output of the given physical tile type
116116
bool is_opin(int ipin, t_physical_tile_type_ptr type);
117117

118-
///@brief Returns true if the specified pin is located at "from_layer" and it is connected to "to_layer"
119-
bool is_pin_conencted_to_layer(t_physical_tile_type_ptr type, int ipin, int from_layer, int to_layer, unsigned num_of_avail_layer);
120-
121118
/**
122119
* @brief Returns the corresponding physical pin based on the input parameters:
123120
*

0 commit comments

Comments
 (0)