Skip to content

Commit 3e52cd6

Browse files
committed
[libs][arch] remove multiple definitons of e_directionality
1 parent b38dbae commit 3e52cd6

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

libs/libarchfpga/src/parse_switchblocks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ void check_switchblock(const t_switchblock_inf& sb, const t_arch* arch) {
445445
}
446446

447447
/* check that specified wires exist */
448-
for (const t_wireconn_inf& wireconn : sb->wireconns) {
448+
for (const t_wireconn_inf& wireconn : sb.wireconns) {
449449
check_wireconn(arch, wireconn);
450450
}
451451

libs/libarchfpga/src/physical_types.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1630,11 +1630,6 @@ struct t_chan_width_dist {
16301630
t_chan chan_y_dist;
16311631
};
16321632

1633-
enum e_directionality {
1634-
UNI_DIRECTIONAL,
1635-
BI_DIRECTIONAL
1636-
};
1637-
16381633
/**
16391634
* @brief An attribute of a segment that defines the general category of the wire segment type.
16401635
*

0 commit comments

Comments
 (0)