Skip to content

Commit 6857133

Browse files
remove arch_inter_die_switch
1 parent 8294d2d commit 6857133

File tree

4 files changed

+0
-32
lines changed

4 files changed

+0
-32
lines changed

libs/libarchfpga/src/physical_types.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1620,14 +1620,6 @@ struct t_segment_inf {
16201620
*/
16211621
short arch_opin_switch_dec = ARCH_FPGA_UNDEFINED_VAL;
16221622

1623-
/**
1624-
* @brief Index of the switch type that connects output pins (OPINs) to this
1625-
* segment from another die (layer). Note that this index is in relation to
1626-
* the switches from the architecture file, not the expanded list of switches
1627-
* that is built at the end of build_rr_graph.
1628-
*/
1629-
short arch_inter_die_switch = ARCH_FPGA_UNDEFINED_VAL;
1630-
16311623
/**
16321624
* @brief The fraction of logic blocks along its length to which this segment can connect.
16331625
* (i.e. internal population).

libs/libarchfpga/src/read_xml_arch_file.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3979,19 +3979,6 @@ static std::vector<t_segment_inf> process_segments(pugi::xml_node parent,
39793979
//Verify only expected sub-tags are found
39803980
expect_only_children(Node, expected_subtags, loc_data);
39813981

3982-
//Get the switch name for different dice wire and track connections
3983-
SubElem = get_single_child(Node, "mux_inter_die", loc_data, ReqOpt::OPTIONAL);
3984-
tmp = get_attribute(SubElem, "name", loc_data, ReqOpt::OPTIONAL).as_string("");
3985-
if (strlen(tmp) != 0) {
3986-
/* Match names */
3987-
int switch_idx = find_switch_by_name(switches, tmp);
3988-
if (switch_idx < 0) {
3989-
archfpga_throw(loc_data.filename_c_str(), loc_data.line(SubElem),
3990-
vtr::string_fmt("'%s' is not a valid mux name.\n", tmp).c_str());
3991-
}
3992-
Segs[i].arch_inter_die_switch = switch_idx;
3993-
}
3994-
39953982
/* Get the wire and opin switches, or mux switch if unidir */
39963983
if (UNI_DIRECTIONAL == Segs[i].directionality) {
39973984
//Get the switch name for same die wire and track connections

vpr/src/route/rr_graph_generation/rr_graph2.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,6 @@ std::vector<t_seg_details> alloc_and_load_seg_details(int* max_chan_width,
295295
const int arch_opin_switch = segment_inf[i].arch_opin_switch;
296296
const int arch_wire_switch_dec = segment_inf[i].arch_wire_switch_dec;
297297
const int arch_opin_switch_dec = segment_inf[i].arch_opin_switch_dec;
298-
const int arch_inter_die_switch = segment_inf[i].arch_inter_die_switch;
299298
VTR_ASSERT((arch_wire_switch == arch_opin_switch && arch_wire_switch_dec == arch_opin_switch_dec) || (directionality != UNI_DIRECTIONAL));
300299

301300
// Set up the tracks of same type
@@ -354,8 +353,6 @@ std::vector<t_seg_details> alloc_and_load_seg_details(int* max_chan_width,
354353
seg_details[cur_track].Cmetal = segment_inf[i].Cmetal;
355354
//seg_details[cur_track].Cmetal_per_m = segment_inf[i].Cmetal_per_m;
356355

357-
seg_details[cur_track].arch_inter_die_switch = arch_inter_die_switch;
358-
359356
if (BI_DIRECTIONAL == directionality) {
360357
seg_details[cur_track].direction = Direction::BIDIR;
361358
} else {

vpr/src/route/rr_graph_generation/rr_types.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,6 @@ struct t_seg_details {
5858
*/
5959
short arch_opin_switch = 0;
6060

61-
/** @brief Index of the switch type that connects output pins (OPINs) *to* this segment
62-
* from *another dice*. Note that this index is in relation to the switches from the
63-
* architecture file, not the expanded list of switches that is built at the end of
64-
* build_rr_graph.
65-
*/
66-
short arch_inter_die_switch = 0;
67-
6861
/** @brief Resistance of a routing track, per unit logic block length. */
6962
float Rmetal = 0;
7063

@@ -137,7 +130,6 @@ class t_chan_seg_details {
137130

138131
short arch_wire_switch() const { return seg_detail_->arch_wire_switch; }
139132
short arch_opin_switch() const { return seg_detail_->arch_opin_switch; }
140-
short arch_inter_die_switch() const { return seg_detail_->arch_inter_die_switch; }
141133

142134
Direction direction() const { return seg_detail_->direction; }
143135

0 commit comments

Comments
 (0)