prga.prog.magic.lib module

class prga.prog.magic.lib.Magic

Bases: prga.prog.common.AbstractProgCircuitryEntry

Entry point for magic programming circuitry (not ASIC implementable).

classmethod _insert_prog_circuitry(context, design_view=None, _cache=None)
classmethod insert_prog_circuitry(context)

Insert programming circuitry into the FPGA. This method will be called by the ProgCircuitryInsertion pass.

Parameters:context (Context) –
classmethod materialize(ctx, inplace=False)

Materialize the abstract context to this configuration circuitry type.

Parameters:
  • ctx (Context) – An abstract context, or a context previously materialized to another configuration circuitry type.
  • inplace (bool) – If set, the context is modified in-place. Otherwise (by default), ctx is deep-copied before processed
Keyword Arguments:
 

**kwargs – Additional keyword parameters specific to the programming circuitry type.

Returns:

Return type:

Context