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: - opcode (
FrameProtocol.Programming.MSGType
) – - argument (
int
) –
- opcode (
-
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
- input (
-
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
andhierarchy
. Subclass may implement this method to useAbstractBitstreamGenerator.parse_fasm
.Parameters: - value (
ProgDataValue
) – - hierarchy (
AbstractInstance
) –
Keyword Arguments: inplace (
bool
) – If set,value
may be modified in place.- value (
-
word_size
¶
-