naps.cores.cmv12k package

Submodules

naps.cores.cmv12k.pixel_remapper module

class naps.cores.cmv12k.pixel_remapper.Cmv12kPixelRemapper(*args, src_loc_at=0, **kwargs)

Bases: nmigen.hdl.ir.Elaboratable

Remaps one output port (if top and bottom outputs of the cmv12k are used, instantiate this twice!) to provide a linear output.

Generally the CMV12000 sends its data out in bursts. The output format of the CMV12000 (and therefore the input for this core) depends on two factors: the number of lanes used and the presence of subsampling / binning. The burst length is described by line_length / n_lanes_per_side so for the non line_lengh of 4096 and 16 lanes per side (the default beta configuration) this equals to a burst_length of 256. One Lane always sends adjacent pixels of bust_length out.

elaborate(platform)

Module contents