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  | 
STATE  | 
read enum  | 
Internal state machine state 
0   UNREADY 
1   WAIT_ENABLE 
2   RUNNING 
 | 
HEALTH  | 
read enum  | 
Table status 
0   OK 
1   DMA underrun 
2   Not ready for table 
 | 
Normal operation
The output pulse will be generated regardless of the direction of the INP data
(Source code, png, hires.png, pdf)
T1  | 
|---|
POS  | 
10  | 
11  | 
12  | 
13  | 
14  | 
15  | 
16  | 
21  | 
52  | 
32  |