flowchart TD
A[Input direction] --> B[dummy_proc_fe]
C[Input array] --> B
B -->|Config parameters<br>Copy datas| D[hls::fft]
D -->|FFT calculation| E[dummy_proc_be]
E --> F[Output array]
E --> G[Overflow flag]
- generate
.txtwith Matlab
input_real = real(x);
input_imag = imag(x);
dlmwrite('input_x_real.txt', input_real', 'precision', '%.10f');
dlmwrite('input_x_imag.txt', input_imag', 'precision', '%.10f');flowchart TD
A[Input direction] --> B[dummy_proc_fe]
C[Input stream] -->|Streaming Reading| B
B -->|Config parameters<br>Write to array| D[hls::fft]
D -->|FFT calculation| E[dummy_proc_be]
E -->|Streaming Write| F[Output stream]
E --> G[Overflow flag]
- filter_top
flowchart TD
A[Input stream x] --> B[gen_x1]
B -->|x1 stream| C[match_filter]
C -->|x_j stream| D[shunt_judgment]
D -->|x_jc stream| E[find_max]
D -->|x_judgment stream| F[Judge output]
E -->|max_out| G[Output peak]
H[jx] --> C
I[gamma] --> C
- match_filter
flowchart LR
A[gen_filter] -->|Generate filter| B[fftshift]
B --> C[fft_top]
C --> D[fftshift]
D --> E[conjugate]
F[Input signal] --> G[fft_top]
G --> H[fftshift]
E & H --> I[cplx_mult]
I --> J[fftshift]
J --> K[ifft_top]
K --> L[out_select]
Note: All projects are implemented in Vitis HLS 2022.2.