MaskedDataPortInterface constructor
Constructs a DataPortInterface with mask.
Implementation
MaskedDataPortInterface(super.dataWidth, super.addrWidth) {
if (dataWidth % 8 != 0) {
throw RohdHclException('The data width must be byte-granularity');
}
setPorts([
Port('mask', dataWidth ~/ 8),
], [
DataPortGroup.control
]);
}