Skip to content

Commit f961d56

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

File tree

2 files changed

+946
-66
lines changed

2 files changed

+946
-66
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;
@@ -1772,6 +1786,11 @@ struct t_arch {
17721786

17731787
// Luts
17741788
std::vector<t_lut_cell> lut_cells;
1789+
std::vector<t_lut_bel> lut_bels;
1790+
1791+
// Package pins
1792+
// TODO: add possibility to have multiple packages
1793+
std::vector<t_package_pin> pad_bels;
17751794

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

0 commit comments

Comments
 (0)