PGEN - Position Generator

The position generator block produces an output position which is pre-defined in a table

Fields

Name Type Description
ENABLE bit_mux Halt on falling edge, reset and enable on rising
TRIG bit_mux Trigger a sample to be produced
TABLE table
Table of positions to be output POSITION The position to set OUT to on trigger
31:0 POSITION int
REPEATS param Number of times the table will repeat
ACTIVE bit_out High when output is being produced from the table
OUT pos_out Current sample
HEALTH read enum
Table status
0 OK
1 Table not ready
3 DMA overrun

Normal operation

The output pulse will be generated regardless of the direction of the INP data

(Source code, png, hires.png, pdf)

../_images/pgen_doc-1.png
T1
POS
10
11
12
13
14
15
16
21
52
32