TagInterface constructor
Constructs a new interface of specified idWidth and tagWidth for
querying a CAM.
Implementation
TagInterface(this.idWidth, this.tagWidth) {
setPorts([
Logic.port('en'),
Logic.port('tag', tagWidth),
], [
DataPortGroup.control
]);
setPorts([
Logic.port('idx', idWidth),
Logic.port('hit'),
], [
DataPortGroup.data
]);
}