prga.passes.materialization module

class prga.passes.materialization.Materialization(protocol, **kwargs)

Bases: prga.passes.base.AbstractPass

Materialize an abstract architecture context with a programming protocol.

Parameters:protocol (str) – Programming protocol. Currently supported protocols are: Magic, Scanchain, Pktchain, Frame
Keyword Arguments:
 **kwargs – Arguments specific to the selected protocol. Please refer to the materialize method of each programming protocol for more information
_kwargs
_protocols = {'frame': <class 'prga.prog.frame.lib.Frame'>, 'magic': <class 'prga.prog.magic.lib.Magic'>, 'pktchain': <class 'prga.prog.pktchain.lib.Pktchain'>, 'scanchain': <class 'prga.prog.scanchain.lib.Scanchain'>}
key

Key of this pass.

passes_after_self

Passes that should be executed after this pass.

protocol
run(context)

Run the pass.

Parameters:context (Context) – The context which manages all architecture data