prga.tools.bitgen.magic module¶
-
class
prga.tools.bitgen.magic.
MagicBitstreamGenerator
(context, prefix='dut')¶ Bases:
prga.tools.bitgen.common.AbstractBitstreamGenerator
Bitstream generator for ‘magic’ programming circuitry.
-
_process_hierarchy
(hierarchy)¶
-
checkmode
¶
-
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 (
-
output
¶
-
prefix
¶
-
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 (
-