block.index

Syntax

bi = block.index(blp)

Get the index (offset) for the block. This is used for direct memory access using the fmem, imem and xmem functions.

Returns:bi - block index
Arguments:blp - block pointer