setData method

void setData(
  1. LogicValue addr,
  2. LogicValue value
)

A testbench hook to write data at a given address.

Implementation

void setData(LogicValue addr, LogicValue value) {
  _storageBank[addr.toInt()].put(value);
}