createModule method
override
Creates a Module instance as configured.
Implementation
@override
// The legacy configurator retains the FIFO's conservative admission policy.
// ignore: deprecated_member_use_from_same_package
Module createModule() => ReadyValidFifo<Logic>(
clk: Logic(name: 'clk'),
reset: Logic(name: 'reset'),
upstream: ReadyAndValidInterface(
Logic(name: 'input', width: widthKnob.value)),
downstream:
ReadyValidInterface(Logic(name: 'output', width: widthKnob.value)),
depth: depthKnob.value,
allowSameCycleReplacement: replacementKnob.value,
);