index property

Logic get index

index is a getter for output of FindPattern. It contains the position of the pattern in the bus depending on the search direction defined. index starts from 0 based and is 0 if pattern is not found.

Implementation

Logic get index => output('index');