Axi5BaseInterface constructor
Constructor.
Implementation
Axi5BaseInterface({
required this.prefix,
required this.main,
}) {
setPorts([
Logic.port('${prefix}VALID'),
], [
if (main) PairDirection.fromProvider else PairDirection.fromConsumer,
]);
}