StoreSetLastStore constructor

StoreSetLastStore({
  1. required int setIdWidth,
  2. required int storeTagWidth,
  3. String? name,
})

Creates a last-store update or release.

Implementation

StoreSetLastStore({
  required this.setIdWidth,
  required this.storeTagWidth,
  String? name,
}) : super([
        Logic(name: 'setId', width: setIdWidth),
        Logic(name: 'storeTag', width: storeTagWidth),
      ], name: name ?? 'store_set_last_store') {
  if (setIdWidth < 1 || storeTagWidth < 1) {
    throw ArgumentError('Store Set and store-tag widths must be positive.');
  }
}