SystemVerilog Array manipulation methods - Array Locator methods[Index locator]
Channel: VerilogHDL
Date: 09/11/2023

Index locator: 

The index locator method returns an index or indexes on iterating over the array.

find_index : Returns the indexes of all elements satisfying the given expression

find_first_index : Returns the index of the first element satisfying the given expression

find_last_index : Returns the index of the last element satisfying the given expression

unique_index : Returns the indexes of all elements with unique values or whose expression is unique.