@@ -1586,7 +1586,7 @@ enum e_directionality {
1586
1586
};
1587
1587
1588
1588
/* X_AXIS: Data that describes an x-directed wire segment (CHANX) *
1589
- * Y_AXIS: Data that describes an y-directed wire segment (CHANY) *
1589
+ * Y_AXIS: Data that describes an y-directed wire segment (CHANY) *
1590
1590
* BOTH_AXIS: Data that can be applied to both x-directed and y-directed wire segment */
1591
1591
enum e_parallel_axis {
1592
1592
X_AXIS,
@@ -1643,65 +1643,65 @@ enum e_Fc_type {
1643
1643
*/
1644
1644
struct t_segment_inf {
1645
1645
/* *
1646
- * @brief The name of the segment type
1646
+ * @brief The name of the segment type
1647
1647
*/
1648
1648
std::string name;
1649
1649
1650
1650
/* *
1651
- * @brief ratio of tracks which are of this segment type.
1651
+ * @brief ratio of tracks which are of this segment type.
1652
1652
*/
1653
1653
int frequency;
1654
1654
1655
1655
/* *
1656
- * @brief Length (in clbs) of the segment.
1656
+ * @brief Length (in clbs) of the segment.
1657
1657
*/
1658
1658
int length;
1659
1659
1660
1660
/* *
1661
- * @brief Index of the switch type that connects other wires to this segment.
1662
- * Note that this index is in relation to the switches from the architecture file,
1663
- * not the expanded list of switches that is built at the end of build_rr_graph.
1661
+ * @brief Index of the switch type that connects other wires to this segment.
1662
+ * Note that this index is in relation to the switches from the architecture file,
1663
+ * not the expanded list of switches that is built at the end of build_rr_graph.
1664
1664
*/
1665
1665
short arch_wire_switch;
1666
1666
1667
1667
/* *
1668
- * @brief Index of the switch type that connects output pins to this segment.
1669
- * Note that this index is in relation to the switches from the architecture file,
1670
- * not the expanded list of switches that is built at the end of build_rr_graph.
1668
+ * @brief Index of the switch type that connects output pins to this segment.
1669
+ * Note that this index is in relation to the switches from the architecture file,
1670
+ * not the expanded list of switches that is built at the end of build_rr_graph.
1671
1671
*/
1672
1672
short arch_opin_switch;
1673
1673
1674
1674
/* *
1675
- * @brief Same as arch_wire_switch but used only for decremental tracks if it is
1676
- * specified in the architecture file. If -1, this value was not set in the
1677
- * architecture file and arch_wire_switch should be used for "DEC_DIR" wire segments.
1675
+ * @brief Same as arch_wire_switch but used only for decremental tracks if it is
1676
+ * specified in the architecture file. If -1, this value was not set in the
1677
+ * architecture file and arch_wire_switch should be used for "DEC_DIR" wire segments.
1678
1678
*/
1679
1679
short arch_wire_switch_dec = -1 ;
1680
1680
1681
1681
/* *
1682
- * @brief Same as arch_opin_switch but used only for decremental tracks if
1683
- * it is specified in the architecture file. If -1, this value was not set in
1684
- * the architecture file and arch_opin_switch should be used for "DEC_DIR" wire segments.
1682
+ * @brief Same as arch_opin_switch but used only for decremental tracks if
1683
+ * it is specified in the architecture file. If -1, this value was not set in
1684
+ * the architecture file and arch_opin_switch should be used for "DEC_DIR" wire segments.
1685
1685
*/
1686
1686
short arch_opin_switch_dec = -1 ;
1687
1687
1688
1688
/* *
1689
- * @brief Index of the switch type that connects output pins (OPINs) to this
1690
- * segment from another die (layer). Note that this index is in relation to
1691
- * the switches from the architecture file, not the expanded list of switches
1692
- * that is built at the end of build_rr_graph.
1689
+ * @brief Index of the switch type that connects output pins (OPINs) to this
1690
+ * segment from another die (layer). Note that this index is in relation to
1691
+ * the switches from the architecture file, not the expanded list of switches
1692
+ * that is built at the end of build_rr_graph.
1693
1693
*/
1694
1694
short arch_inter_die_switch = -1 ;
1695
1695
1696
1696
/* *
1697
- * @brief The fraction of logic blocks along its length to which this segment can connect.
1698
- * (i.e. internal population).
1697
+ * @brief The fraction of logic blocks along its length to which this segment can connect.
1698
+ * (i.e. internal population).
1699
1699
*/
1700
1700
float frac_cb;
1701
1701
1702
1702
/* *
1703
- * @brief The fraction of the length + 1 switch blocks along the segment to which the segment can connect.
1704
- * Segments that aren't long lines must connect to at least two switch boxes.
1703
+ * @brief The fraction of the length + 1 switch blocks along the segment to which the segment can connect.
1704
+ * Segments that aren't long lines must connect to at least two switch boxes.
1705
1705
*/
1706
1706
float frac_sb;
1707
1707
@@ -1718,27 +1718,27 @@ struct t_segment_inf {
1718
1718
enum e_directionality directionality;
1719
1719
1720
1720
/* *
1721
- * @brief Defines what axis the segment is parallel to. See e_parallel_axis
1722
- * comments for more details on the values.
1721
+ * @brief Defines what axis the segment is parallel to. See e_parallel_axis
1722
+ * comments for more details on the values.
1723
1723
*/
1724
1724
enum e_parallel_axis parallel_axis;
1725
1725
1726
1726
/* *
1727
- * @brief A vector of booleans indicating whether the segment can connect to a logic block.
1727
+ * @brief A vector of booleans indicating whether the segment can connect to a logic block.
1728
1728
*/
1729
1729
std::vector<bool > cb;
1730
1730
1731
1731
/* *
1732
- * @brief A vector of booleans indicating whether the segment can connect to a switch block.
1732
+ * @brief A vector of booleans indicating whether the segment can connect to a switch block.
1733
1733
*/
1734
1734
std::vector<bool > sb;
1735
1735
1736
1736
/* *
1737
1737
* @brief The index of the segment as stored in the appropriate Segs list.
1738
- * Upon loading the architecture, we use this field to keep track of the
1739
- * segment's index in the unified segment_inf vector. This is useful when
1740
- * building the rr_graph for different Y & X channels in terms of track
1741
- * distribution and segment type.
1738
+ * Upon loading the architecture, we use this field to keep track of the
1739
+ * segment's index in the unified segment_inf vector. This is useful when
1740
+ * building the rr_graph for different Y & X channels in terms of track
1741
+ * distribution and segment type.
1742
1742
*/
1743
1743
int seg_index;
1744
1744
@@ -1747,7 +1747,7 @@ struct t_segment_inf {
1747
1747
* Possible values are:
1748
1748
* - GENERAL: The segment is part of the general routing resources.
1749
1749
* - GCLK: The segment is part of the global routing network.
1750
- * For backward compatibility, this attribute is optional. If not specified,
1750
+ * For backward compatibility, this attribute is optional. If not specified,
1751
1751
* the resource type for the segment is considered to be GENERAL.
1752
1752
*/
1753
1753
enum SegResType res_type = SegResType::GENERAL;
@@ -1797,12 +1797,12 @@ constexpr std::array<const char*, size_t(SwitchType::NUM_SWITCH_TYPES)> SWITCH_T
1797
1797
1798
1798
/* Constant/Reserved names for switches in architecture XML
1799
1799
* Delayless switch:
1800
- * The zero-delay switch created by VPR internally
1800
+ * The zero-delay switch created by VPR internally
1801
1801
* This is a special switch just to ease CAD algorithms
1802
1802
* It is mainly used in
1803
- * - the edges between SOURCE and SINK nodes in routing resource graphs
1803
+ * - the edges between SOURCE and SINK nodes in routing resource graphs
1804
1804
* - the edges in CLB-to-CLB connections (defined by <directlist> in arch XML)
1805
- *
1805
+ *
1806
1806
*/
1807
1807
constexpr const char * VPR_DELAYLESS_SWITCH_NAME = " __vpr_delayless_switch__" ;
1808
1808
0 commit comments