prga.tools.bitgen.magic module¶
-
class
prga.tools.bitgen.magic.MagicBitstreamGenerator(context, prefix='dut')¶ Bases:
prga.tools.bitgen.common.AbstractBitstreamGeneratorBitstream generator for ‘magic’ programming circuitry.
-
_process_hierarchy(hierarchy)¶
-
checkmode¶
-
generate_bitstream(fasm, output, args)¶ Generate bitstream without storing parsed data.
Parameters: - input (
strof file-like object) – - output (
strof 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
valueandhierarchy. Subclass may implement this method to useAbstractBitstreamGenerator.parse_fasm.Parameters: - value (
ProgDataValue) – - hierarchy (
AbstractInstance) –
Keyword Arguments: inplace (
bool) – If set,valuemay be modified in place.- value (
-