hls4ml.backends.vivado package

Subpackages

Submodules

hls4ml.backends.vivado.vivado_backend module

class hls4ml.backends.vivado.vivado_backend.VivadoBackend

Bases: FPGABackend

build(model, reset=False, csim=True, synth=True, cosim=False, validation=False, export=False, vsynth=False, fifo_opt=False)
create_initial_config(part='xcku115-flvb2104-2-i', clock_period=5, io_type='io_parallel')

Create the minimal conversion config for the backend.

Subclasses should implement this method to provide the initial configuration for the conversion.

get_default_flow()

The name of the default flow of the backend.

Default flow is used as the conversion target if the target flow has not been specified.

get_writer_flow()
init_base_layer(layer)
init_conv1d(layer)
init_conv2d(layer)
init_dense(layer)
init_depconv2d(layer)
init_embed(layer)
init_garnet(layer)
init_garnet_stack(layer)
init_global_pooling1d(layer)
init_global_pooling2d(layer)
init_gru(layer)
init_lstm(layer)
init_pooling1d(layer)
init_pooling2d(layer)
init_sepconv1d(layer)
init_sepconv2d(layer)
init_softmax(layer)

Module contents