Skip to content

Commit b17d4ef

Browse files
committed
libs: arch: interchange: add logical blocks and physical tile parsing
Signed-off-by: Alessandro Comodi <[email protected]>
1 parent 619009b commit b17d4ef

File tree

2 files changed

+948
-70
lines changed

2 files changed

+948
-70
lines changed

libs/libarchfpga/src/physical_types.h

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1738,6 +1738,20 @@ struct t_lut_cell {
17381738
std::vector<std::string> inputs;
17391739
};
17401740

1741+
struct t_lut_bel {
1742+
std::string name;
1743+
1744+
std::vector<std::string> input_pins;
1745+
std::string output_pin;
1746+
};
1747+
1748+
struct t_package_pin {
1749+
std::string name;
1750+
1751+
std::string site_name;
1752+
std::string bel_name;
1753+
};
1754+
17411755
/* Detailed routing architecture */
17421756
struct t_arch {
17431757
mutable vtr::string_internment strings;
@@ -1787,6 +1801,11 @@ struct t_arch {
17871801

17881802
// Luts
17891803
std::vector<t_lut_cell> lut_cells;
1804+
std::vector<t_lut_bel> lut_bels;
1805+
1806+
// Package pins
1807+
// TODO: add possibility to have multiple packages
1808+
std::vector<t_package_pin> pad_bels;
17901809

17911810
//The name of the switch used for the input connection block (i.e. to
17921811
//connect routing tracks to block pins).

0 commit comments

Comments
 (0)