prga.tools.bitgen.frame module

class prga.tools.bitgen.frame.FrameBitstreamGenerator(context)

Bases: prga.tools.bitgen.common.AbstractBitstreamGenerator

Bitstream generator for ‘frame’ Programming circuitry.

_emit_inst(opcode, argument=None)

Emit an instruction.

Parameters:
block_base
bst
cbox_base
generate_bitstream(fasm, output, args)

Generate bitstream without storing parsed data.

Parameters:
  • input (str of file-like object) –
  • output (str of file-like object) –
  • args (Sequence [str ]) – Remaining arguments other than the ones specified in the common argument parser
offset_cbox_id
offset_sbox_id
offset_subblock_id
offset_x
offset_y
output
protocol
sbox_base
set_bits(value, hierarchy=None, *, inplace=False)

Update bitstream with the specified value and hierarchy. Subclass may implement this method to use AbstractBitstreamGenerator.parse_fasm.

Parameters:
Keyword Arguments:
 

inplace (bool) – If set, value may be modified in place.

word_size