cmd_timing

Timing-model characterization command for the FABulous REPL.

Generate the nextpnr timing model for the fabric.

Classes

TimingCommandSet

Generate the nextpnr timing model for the fabric.

Module Contents

TimingCommandSet

class TimingCommandSet[source]

Bases: ReplCommandSet

Generate the nextpnr timing model for the fabric.

Private reference to the CLI instance in which this CommandSet running.

This will be set when the CommandSet is registered and it should be accessed by child classes using the self._cmd property.

Methods

do_timing_model(mode='physical', outfile=None, emit_config_template=False, with_config_file=None) None[source]

Generate a timing model for the fabric.

Timing information is extracted from the GDS layout and used to create a timing model compatible with nextpnr for timing-aware place and route. This command generates a timing model for the FPGA fabric based on the specified mode (physical or structural) and outputs it to a file named pips.txt in the .FABulous directory. If no config file is provided, the automated flow must be run first to generate post-layout files. If a config file is provided, it will be used for timing model generation instead of command arguments. This allows for more complex configurations like different PDK support. If emit-config-template is specified, a config template will be output and no timing model will be generated.