Skip to content

Commit cdaac96

Browse files
committed
libs: arch: interchange: add comment on constant blocks
Signed-off-by: Alessandro Comodi <[email protected]>
1 parent e4a6159 commit cdaac96

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

libs/libarchfpga/src/read_fpga_interchange_arch.cpp

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2040,6 +2040,31 @@ struct ArchReader {
20402040
}
20412041
}
20422042

2043+
/** @brief The constant block is a synthetic tile which is used to assign a virtual
2044+
* location in the grid to the constant signals which are than driven to
2045+
* all the real constant wires.
2046+
*
2047+
* The block's diagram can be seen below. The port names are specified in
2048+
* the interchange device database, therefore GND and VCC are mainly
2049+
* examples in this case.
2050+
*
2051+
* +---------------+
2052+
* | |
2053+
* | +-------+ |
2054+
* | | | |
2055+
* | | GND +----+--> RR Graph node
2056+
* | | | |
2057+
* | +-------+ |
2058+
* | |
2059+
* | |
2060+
* | +-------+ |
2061+
* | | | |
2062+
* | | VCC +----+--> RR Graph node
2063+
* | | | |
2064+
* | +-------+ |
2065+
* | |
2066+
* +---------------+
2067+
*/
20432068
void process_constant_block() {
20442069
std::vector<std::pair<std::string, std::string>> const_cells{arch_->gnd_cell, arch_->vcc_cell};
20452070

0 commit comments

Comments
 (0)