generateNetlist method
- NetlistSynthesizerConfiguration configuration = const NetlistSynthesizerConfiguration(),
Generates the complete netlist JSON for this module.
This temporary convenience method can be removed once the minimum
supported ROHD release provides NetlistService.
Implementation
String generateNetlist({
NetlistSynthesizerConfiguration configuration =
const NetlistSynthesizerConfiguration(),
}) {
if (!hasBuilt) {
throw ModuleNotBuiltException(this);
}
final synthesizer = NetlistSynthesizer(configuration: configuration);
final builder = SynthBuilder(this, synthesizer);
return synthesizer.generateCombinedJson(builder, this);
}