Skip to content

Commit 8979661

Browse files
add doxygen comments
1 parent 5a10ec2 commit 8979661

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

libs/libarchfpga/src/device_grid.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,12 @@ class DeviceGrid {
197197
return &grid_.get(n);
198198
}
199199

200+
/// Returns the list of horizontal interposer cut locations for each layer.
200201
inline const std::vector<std::vector<int>>& get_horizontal_interposer_cuts() const {
201202
return horizontal_interposer_cuts_;
202203
}
203204

205+
/// Returns the list of vertical interposer cut locations for each layer.
204206
inline const std::vector<std::vector<int>>& get_vertical_interposer_cuts() const {
205207
return vertical_interposer_cuts_;
206208
}
@@ -227,6 +229,8 @@ class DeviceGrid {
227229

228230
std::vector<t_logical_block_type_ptr> limiting_resources_;
229231

232+
/// Horizontal interposer cut locations in each layer.
230233
std::vector<std::vector<int>> horizontal_interposer_cuts_;
234+
/// Vertical interposer cust location in each layer.
231235
std::vector<std::vector<int>> vertical_interposer_cuts_;
232236
};

vpr/src/draw/draw_interposer.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
#pragma once
22

3+
/**
4+
* @file draw_interposer.h
5+
* @brief Declares functions to draw interposer cut lines in the FPGA device.
6+
*
7+
* Cut lines are drawn at channel centers during placement and slightly offset
8+
* during routing for better channel ownership visualization.
9+
*/
10+
311
#ifndef NO_GRAPHICS
412

513
// forward declaration

0 commit comments

Comments
 (0)