SetAssociativeCacheSlot constructor

SetAssociativeCacheSlot(
  1. SetAssociativeCacheLayout layout, {
  2. String name = 'setAssociativeCacheSlot',
})

Creates a slot selection shape for layout.

Implementation

SetAssociativeCacheSlot(this.layout,
    {String name = 'setAssociativeCacheSlot'})
    : super([
        Logic(name: 'set', width: layout.setWidth),
        Logic(name: 'way', width: _setAssociativeWayWidth(layout)),
      ], name: name);