getData method
- LogicValue addr
override
Returns the data at addr
, or null
if it is not present.
Implementation
@override
LogicValue? getData(LogicValue addr) {
if (addr.width != addrWidth) {
throw RohdHclException('Address width must be $addrWidth.');
}
return _memory[addr];
}