hls4ml.backends.catapult package

Subpackages

Submodules

hls4ml.backends.catapult.catapult_backend module

class hls4ml.backends.catapult.catapult_backend.CatapultBackend

Bases: FPGABackend

build(model, reset=False, csim=True, synth=True, cosim=False, validation=False, vhdl=False, verilog=True, export=False, vsynth=False, fifo_opt=False, bitfile=False, ran_frame=5, sw_opt=False, power=False, da=False, bup=False)
create_initial_config(tech='fpga', part='xcku115-flvb2104-2-i', asiclibs='nangate-45nm', fifo=None, 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)

hls4ml.backends.catapult.catapult_types module

class hls4ml.backends.catapult.catapult_types.CatapultArrayVariableConverter(type_converter)

Bases: ArrayVariableConverter

class hls4ml.backends.catapult.catapult_types.CatapultArrayVariableDefinition

Bases: VariableDefinition

definition_cpp(name_suffix='', as_reference=False)
class hls4ml.backends.catapult.catapult_types.CatapultInplaceArrayVariableConverter(type_converter)

Bases: ArrayVariableConverter

class hls4ml.backends.catapult.catapult_types.CatapultInplaceArrayVariableDefinition

Bases: VariableDefinition

definition_cpp()
class hls4ml.backends.catapult.catapult_types.CatapultInplaceStreamVariableConverter(type_converter)

Bases: InplaceStreamVariableConverter

class hls4ml.backends.catapult.catapult_types.CatapultInplaceStreamVariableDefinition

Bases: VariableDefinition

definition_cpp()
class hls4ml.backends.catapult.catapult_types.CatapultStreamVariableConverter(type_converter)

Bases: StreamVariableConverter

class hls4ml.backends.catapult.catapult_types.CatapultStreamVariableDefinition

Bases: VariableDefinition

definition_cpp(name_suffix='', as_reference=False)
class hls4ml.backends.catapult.catapult_types.CatapultStructMemberVariableConverter(type_converter)

Bases: StructMemberVariableConverter

class hls4ml.backends.catapult.catapult_types.CatapultStructMemberVariableDefinition

Bases: VariableDefinition

definition_cpp(name_suffix='', as_reference=False)

Module contents