Skip to content

bloqade.lanes.bytecode.LaneAddress

← Module overview

classLaneAddresssource

bloqade.lanes.bytecode.LaneAddress

Bit-packed lane address for atom move operations.

class LaneAddress

Encodes direction (1 bit), move_type (2 bits), zone_id (8 bits), word_id (16 bits), site_id (16 bits), and bus_id (16 bits) across two 32-bit data words, returned as a combined 64-bit value.

Layout

data0: [word_id:16][site_id:16] data1: [dir:1][mt:2][zone_id:8][pad:5][bus_id:16]