alignAddress property

LogicValue Function(LogicValue addr) alignAddress
final

A function to align addresses when used for transactions.

By default, this will perform no modification to the address.

As an example, to align (mask) addresses to multiples of 4:

(addr) => addr - (addr % 4)

Implementation

final LogicValue Function(LogicValue addr) alignAddress;