Skip to content

Commit 6d8a1bc

Browse files
committed
fasm: Fix for modified VPR block location data structures
1 parent 20e3a2b commit 6d8a1bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

utils/fasm/src/fasm.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ void FasmWriterVisitor::visit_clb_impl(ClusterBlockId blk_id, const t_pb* clb) {
4949

5050
root_clb_ = clb->pb_graph_node;
5151

52-
int x = place_ctx.block_locs[blk_id].x;
53-
int y = place_ctx.block_locs[blk_id].y;
54-
int z = place_ctx.block_locs[blk_id].z;
52+
int x = place_ctx.block_locs[blk_id].loc.x;
53+
int y = place_ctx.block_locs[blk_id].loc.y;
54+
int z = place_ctx.block_locs[blk_id].loc.z;
5555
auto &grid_loc = device_ctx.grid[x][y];
5656
blk_type_ = grid_loc.type;
5757

0 commit comments

Comments
 (0)