How nmikstas/dsp-in-fpga works
Main Components
• FIR Filter – Located in the FIR folder with its HLS and Matlab implementations.
• Digital Up-Converter (DUC) – Found in the DUC directory.
• Digital Down-Converter (DDC) – Found in the DDC directory.
• Direct Digital Synthesizer (DDS) – Found in the DDS directory.
• Supporting Simulation/Verification Environment – Represented by the Matlab directories that accompany each module. This shows how simulation data (e.g., input and output .dat files) and error calculations are integrated.
Relationships and Interactions
• Data Flow: Identify that each DSP block (whether FIR, DUC, DDC, or DDS) interacts with data files (e.g., coefficient files, testbench inputs, and golden results) to simulate real-world signals.
• Interconnection Between Blocks: Although the modules are developed as distinct components, in a full system they could be connected in series (for example, a synthesizer generating the signal that is then conditioned by a filter, or up-/down-conversion stages in a chain). If applicable, indicate potential data pipelines or control signal flows between these DSP blocks.
Architectural Patterns and Technologies
• Separation of Concerns: The design clearly splits the hardware implementation (HLS code) and the simulation/analysis (Matlab scripts), which should be visually distinct.
• File-based Data Interfacing: Many modules interact via external files (.dat files) for coefficients, input, output, and error calculation. This indicates that file I/O is an integral part of the simulation environment.
• DSP Functionality: Emphasize that the system is designed for FPGA DSP implementations, meaning that timing, precision (handling of fixed-point arithmetic in HLS, for instance), and integration with hardware are key design principles.