naps.soc.platform.zynq package

Submodules

naps.soc.platform.zynq.memory_accessor_devmem module

class naps.soc.platform.zynq.memory_accessor_devmem.DevMemAccessor(base_addr=1073741824, bytes=None, filename='/dev/mem')

Bases: object

mask = -4
read(offset)
word = 4
write(offset, to_write)

naps.soc.platform.zynq.to_raw_bitstream module

naps.soc.platform.zynq.to_raw_bitstream.bit2bin(bitstream, flip_data=True)
naps.soc.platform.zynq.to_raw_bitstream.flip32(data)

naps.soc.platform.zynq.zynq_soc_platform module

class naps.soc.platform.zynq.zynq_soc_platform.ZynqSocPlatform(platform, *args, **kwargs)

Bases: naps.soc.soc_platform.SocPlatform

base_address = 0x40000000[0:8589934584]
csr_domain = 'axi_lite'
pack_bitstream_fatbitstream(name: str, build_products: nmigen.build.run.BuildProducts)
program_fatbitstream(name, **kwargs)
pydriver_memory_accessor(memorymap)

Module contents