LtiLtChannelInterface constructor
- required LtiLtChannelConfig config,
- bool userMixInEnable = false,
Constructor.
Implementation
LtiLtChannelInterface({
required LtiLtChannelConfig config,
this.userMixInEnable = false,
}) : userWidth = config.userWidth,
tagWidth = config.tagWidth,
super(
prefix: 'LT',
main: false,
vcCount: 1,
) {
setPorts([
Logic.port('${prefix}CTAG', tagWidth),
], [
PairDirection.fromConsumer,
]);
if (userMixInEnable) {
makeUserPorts();
}
}